-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #636 from dfinity/kai/fix-svelte-starter-motoko
fix: updates svelte-starter-motoko example
- Loading branch information
Showing
43 changed files
with
5,311 additions
and
10,001 deletions.
There are no files selected for viewing
520 changes: 520 additions & 0 deletions
520
svelte/svelte-motoko-starter/deps/candid/rdmx6-jaaaa-aaaaa-aaadq-cai.did
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"canisters": { | ||
"rdmx6-jaaaa-aaaaa-aaadq-cai": { | ||
"arg_str": "(null)", | ||
"arg_raw": "4449444c0a6e016c069ad9a8dc0402caed93df0403c8d99dab0702dfe1a5de0705f7f5cbfb0702f8d995c60f086e786e046c02007801786e066c04c3f9fca002788beea8c5047881cfaef40a0787eb979d0d7a6d7b6e096c02d5f5c5e909789fedfdc50d78010000" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"canisters": { | ||
"rdmx6-jaaaa-aaaaa-aaadq-cai": { | ||
"name": "internet-identity", | ||
"wasm_hash": "1ae98d1141204d1aa51a7bf2a01561358b21692dc5c65fc3ab893c41d54763f0", | ||
"init_guide": "Use '(null)' for sensible defaults. See the candid interface for more details.", | ||
"candid_args": "(opt InternetIdentityInit)", | ||
"gzip": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule internet-identity
deleted from
58a633
4 changes: 3 additions & 1 deletion
4
svelte/svelte-motoko-starter/src/declarations/backend/backend.did.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
import type { Principal } from '@dfinity/principal'; | ||
export interface _SERVICE { 'whoami' : () => Promise<Principal> } | ||
import type { ActorMethod } from '@dfinity/agent'; | ||
|
||
export interface _SERVICE { 'whoami' : ActorMethod<[], Principal> } |
4 changes: 4 additions & 0 deletions
4
svelte/svelte-motoko-starter/src/declarations/backend/backend.most
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Version: 1.0.0 | ||
actor { | ||
|
||
}; |
4 changes: 4 additions & 0 deletions
4
svelte/svelte-motoko-starter/src/declarations/backend/backend.old.most
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Version: 1.0.0 | ||
actor { | ||
|
||
}; |
3 changes: 3 additions & 0 deletions
3
svelte/svelte-motoko-starter/src/declarations/backend/constructor.did
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
service : { | ||
whoami: () -> (principal) query; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
svelte/svelte-motoko-starter/src/declarations/backend/init_args.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
() |
3 changes: 3 additions & 0 deletions
3
svelte/svelte-motoko-starter/src/declarations/backend/service.did
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
service : { | ||
whoami: () -> (principal) query; | ||
} |
4 changes: 4 additions & 0 deletions
4
svelte/svelte-motoko-starter/src/declarations/backend/service.did.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import type { Principal } from '@dfinity/principal'; | ||
import type { ActorMethod } from '@dfinity/agent'; | ||
|
||
export interface _SERVICE { 'whoami' : ActorMethod<[], Principal> } |
4 changes: 4 additions & 0 deletions
4
svelte/svelte-motoko-starter/src/declarations/backend/service.did.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export const idlFactory = ({ IDL }) => { | ||
return IDL.Service({ 'whoami' : IDL.Func([], [IDL.Principal], ['query']) }); | ||
}; | ||
export const init = ({ IDL }) => { return []; }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+412 KB
svelte/svelte-motoko-starter/src/declarations/frontend/assetstorage.wasm.gz
Binary file not shown.
Oops, something went wrong.