ic-mops 2.2.1 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/RELEASE.md +9 -1
  3. package/bundle/cli.tgz +0 -0
  4. package/cli.ts +25 -2
  5. package/commands/build.ts +2 -10
  6. package/commands/check-stable.ts +177 -0
  7. package/commands/check.ts +53 -6
  8. package/dist/cli.js +22 -2
  9. package/dist/commands/build.js +2 -5
  10. package/dist/commands/check-stable.d.ts +14 -0
  11. package/dist/commands/check-stable.js +95 -0
  12. package/dist/commands/check.js +41 -6
  13. package/dist/helpers/resolve-canisters.d.ts +7 -0
  14. package/dist/helpers/resolve-canisters.js +31 -0
  15. package/dist/package.json +2 -2
  16. package/dist/tests/check-fix.test.js +17 -0
  17. package/dist/tests/check-stable.test.d.ts +1 -0
  18. package/dist/tests/check-stable.test.js +51 -0
  19. package/dist/tests/check.test.js +54 -1
  20. package/dist/tests/moc-args.test.js +3 -3
  21. package/dist/types.d.ts +5 -1
  22. package/dist/wasm/pkg/nodejs/wasm_bg.wasm +0 -0
  23. package/dist/wasm/pkg/web/wasm_bg.wasm +0 -0
  24. package/helpers/resolve-canisters.ts +52 -0
  25. package/package.json +2 -2
  26. package/tests/README.md +16 -0
  27. package/tests/__snapshots__/check-fix.test.ts.snap +16 -10
  28. package/tests/__snapshots__/check-stable.test.ts.snap +29 -0
  29. package/tests/__snapshots__/check.test.ts.snap +26 -16
  30. package/tests/build/no-dfx/mops.toml +3 -0
  31. package/tests/build/no-dfx/src/Main.mo +1 -1
  32. package/tests/check/canisters/Ok.mo +5 -0
  33. package/tests/check/canisters/mops.toml +8 -0
  34. package/tests/check/canisters-error/Error.mo +7 -0
  35. package/tests/check/canisters-error/mops.toml +8 -0
  36. package/tests/check/canisters-moc-args/Warning.mo +5 -0
  37. package/tests/check/canisters-moc-args/mops.toml +8 -0
  38. package/tests/check/deployed-compatible/main.mo +4 -0
  39. package/tests/check/deployed-compatible/mops.toml +11 -0
  40. package/tests/check/deployed-compatible/old.mo +3 -0
  41. package/tests/check/deployed-compile-error/Error.mo +7 -0
  42. package/tests/check/deployed-compile-error/mops.toml +11 -0
  43. package/tests/check/deployed-compile-error/old.mo +3 -0
  44. package/tests/check/deployed-missing-error/Ok.mo +5 -0
  45. package/tests/check/deployed-missing-error/mops.toml +11 -0
  46. package/tests/check/deployed-missing-skip/Ok.mo +5 -0
  47. package/tests/check/deployed-missing-skip/mops.toml +12 -0
  48. package/tests/check/error/Error.mo +1 -1
  49. package/tests/check/error/mops.toml +5 -2
  50. package/tests/check/fix/M0223.mo +1 -1
  51. package/tests/check/fix/M0236.mo +1 -1
  52. package/tests/check/fix/M0237.mo +1 -1
  53. package/tests/check/fix/Ok.mo +1 -1
  54. package/tests/check/fix/fix-with-error.mo +9 -0
  55. package/tests/check/fix/fix-with-warning.mo +8 -0
  56. package/tests/check/fix/mops.toml +3 -0
  57. package/tests/check/fix/transitive-main.mo +1 -1
  58. package/tests/check/moc-args/Warning.mo +1 -1
  59. package/tests/check/moc-args/mops.toml +4 -1
  60. package/tests/check/success/Ok.mo +1 -1
  61. package/tests/check/success/Warning.mo +1 -1
  62. package/tests/check/success/mops.toml +5 -2
  63. package/tests/check-fix.test.ts +25 -0
  64. package/tests/check-stable/compatible/mops.toml +8 -0
  65. package/tests/check-stable/compatible/new.mo +4 -0
  66. package/tests/check-stable/compatible/old.mo +3 -0
  67. package/tests/check-stable/incompatible/mops.toml +8 -0
  68. package/tests/check-stable/incompatible/new.mo +3 -0
  69. package/tests/check-stable/incompatible/old.mo +4 -0
  70. package/tests/check-stable/subdirectory/.old/src/main.mo +3 -0
  71. package/tests/check-stable/subdirectory/mops.toml +8 -0
  72. package/tests/check-stable/subdirectory/src/main.mo +4 -0
  73. package/tests/check-stable.test.ts +56 -0
  74. package/tests/check.test.ts +63 -1
  75. package/tests/moc-args.test.ts +3 -3
  76. package/types.ts +5 -1
  77. package/wasm/Cargo.lock +101 -54
  78. package/wasm/pkg/nodejs/wasm_bg.wasm +0 -0
  79. package/wasm/pkg/web/wasm_bg.wasm +0 -0
  80. package/.DS_Store +0 -0
  81. package/bundle/bench/bench-canister.mo +0 -130
  82. package/bundle/bench/user-bench.mo +0 -10
  83. package/bundle/bin/moc-wrapper.sh +0 -40
  84. package/bundle/bin/mops.js +0 -3
  85. package/bundle/cli.js +0 -1569
  86. package/bundle/declarations/bench/bench.did +0 -30
  87. package/bundle/declarations/bench/bench.did.d.ts +0 -33
  88. package/bundle/declarations/bench/bench.did.js +0 -30
  89. package/bundle/declarations/bench/index.d.ts +0 -50
  90. package/bundle/declarations/bench/index.js +0 -40
  91. package/bundle/declarations/main/index.d.ts +0 -50
  92. package/bundle/declarations/main/index.js +0 -40
  93. package/bundle/declarations/main/main.did +0 -428
  94. package/bundle/declarations/main/main.did.d.ts +0 -348
  95. package/bundle/declarations/main/main.did.js +0 -406
  96. package/bundle/declarations/storage/index.d.ts +0 -50
  97. package/bundle/declarations/storage/index.js +0 -30
  98. package/bundle/declarations/storage/storage.did +0 -46
  99. package/bundle/declarations/storage/storage.did.d.ts +0 -40
  100. package/bundle/declarations/storage/storage.did.js +0 -38
  101. package/bundle/default-stylesheet.css +0 -415
  102. package/bundle/package.json +0 -36
  103. package/bundle/templates/README.md +0 -13
  104. package/bundle/templates/licenses/Apache-2.0 +0 -202
  105. package/bundle/templates/licenses/Apache-2.0-NOTICE +0 -13
  106. package/bundle/templates/licenses/MIT +0 -21
  107. package/bundle/templates/mops-publish.yml +0 -17
  108. package/bundle/templates/mops-test.yml +0 -24
  109. package/bundle/templates/src/lib.mo +0 -15
  110. package/bundle/templates/test/lib.test.mo +0 -4
  111. package/bundle/wasm_bg.wasm +0 -0
  112. package/bundle/xhr-sync-worker.js +0 -51
  113. package/dist/wasm/pkg/bundler/package.json +0 -20
  114. package/dist/wasm/pkg/bundler/wasm.d.ts +0 -3
  115. package/dist/wasm/pkg/bundler/wasm.js +0 -5
  116. package/dist/wasm/pkg/bundler/wasm_bg.js +0 -93
  117. package/dist/wasm/pkg/bundler/wasm_bg.wasm +0 -0
  118. package/dist/wasm/pkg/bundler/wasm_bg.wasm.d.ts +0 -8
  119. package/tests/build/success/.dfx/local/canister_ids.json +0 -17
  120. package/tests/build/success/.dfx/local/canisters/bar/bar.did +0 -3
  121. package/tests/build/success/.dfx/local/canisters/bar/bar.most +0 -4
  122. package/tests/build/success/.dfx/local/canisters/bar/bar.wasm +0 -0
  123. package/tests/build/success/.dfx/local/canisters/bar/constructor.did +0 -3
  124. package/tests/build/success/.dfx/local/canisters/bar/index.js +0 -42
  125. package/tests/build/success/.dfx/local/canisters/bar/init_args.txt +0 -1
  126. package/tests/build/success/.dfx/local/canisters/bar/service.did +0 -3
  127. package/tests/build/success/.dfx/local/canisters/bar/service.did.d.ts +0 -7
  128. package/tests/build/success/.dfx/local/canisters/bar/service.did.js +0 -4
  129. package/tests/build/success/.dfx/local/canisters/foo/constructor.did +0 -3
  130. package/tests/build/success/.dfx/local/canisters/foo/foo.did +0 -3
  131. package/tests/build/success/.dfx/local/canisters/foo/foo.most +0 -4
  132. package/tests/build/success/.dfx/local/canisters/foo/foo.wasm +0 -0
  133. package/tests/build/success/.dfx/local/canisters/foo/index.js +0 -42
  134. package/tests/build/success/.dfx/local/canisters/foo/init_args.txt +0 -1
  135. package/tests/build/success/.dfx/local/canisters/foo/service.did +0 -3
  136. package/tests/build/success/.dfx/local/canisters/foo/service.did.d.ts +0 -7
  137. package/tests/build/success/.dfx/local/canisters/foo/service.did.js +0 -4
  138. package/tests/build/success/.dfx/local/lsp/ucwa4-rx777-77774-qaada-cai.did +0 -3
  139. package/tests/build/success/.dfx/local/lsp/ulvla-h7777-77774-qaacq-cai.did +0 -3
  140. package/tests/build/success/.dfx/local/network-id +0 -4
  141. package/wasm/pkg/bundler/package.json +0 -20
  142. package/wasm/pkg/bundler/wasm.d.ts +0 -3
  143. package/wasm/pkg/bundler/wasm.js +0 -5
  144. package/wasm/pkg/bundler/wasm_bg.js +0 -93
  145. package/wasm/pkg/bundler/wasm_bg.wasm +0 -0
  146. package/wasm/pkg/bundler/wasm_bg.wasm.d.ts +0 -8
@@ -1,348 +0,0 @@
1
- import type { Principal } from '@icp-sdk/core/principal';
2
- import type { ActorMethod } from '@icp-sdk/core/agent';
3
- import type { IDL } from '@icp-sdk/core/candid';
4
-
5
- export interface Benchmark {
6
- 'gc' : string,
7
- 'metrics' : Array<[BenchmarkMetric, Array<Array<bigint>>]>,
8
- 'cols' : Array<string>,
9
- 'file' : string,
10
- 'name' : string,
11
- 'rows' : Array<string>,
12
- 'description' : string,
13
- 'compilerVersion' : string,
14
- 'compiler' : string,
15
- 'replica' : string,
16
- 'replicaVersion' : string,
17
- 'forceGC' : boolean,
18
- }
19
- export type BenchmarkMetric = string;
20
- export type Benchmarks = Array<Benchmark>;
21
- export interface DepChange {
22
- 'oldVersion' : string,
23
- 'name' : string,
24
- 'newVersion' : string,
25
- }
26
- export interface DependencyV2 {
27
- 'name' : PackageName,
28
- 'repo' : string,
29
- 'version' : string,
30
- }
31
- export type DepsStatus = { 'allLatest' : null } |
32
- { 'tooOld' : null } |
33
- { 'updatesAvailable' : null };
34
- export interface DownloadsSnapshot {
35
- 'startTime' : Time,
36
- 'endTime' : Time,
37
- 'downloads' : bigint,
38
- }
39
- export type Err = string;
40
- export type FileId = string;
41
- export type Header = [string, string];
42
- export interface HttpHeader { 'value' : string, 'name' : string }
43
- export interface HttpRequestResult {
44
- 'status' : bigint,
45
- 'body' : Uint8Array | number[],
46
- 'headers' : Array<HttpHeader>,
47
- }
48
- export interface Main {
49
- 'addMaintainer' : ActorMethod<[PackageName, Principal], Result_3>,
50
- 'addOwner' : ActorMethod<[PackageName, Principal], Result_3>,
51
- 'backup' : ActorMethod<[], undefined>,
52
- 'computeHashesForExistingFiles' : ActorMethod<[], undefined>,
53
- 'finishPublish' : ActorMethod<[PublishingId], Result>,
54
- 'getApiVersion' : ActorMethod<[], Text>,
55
- 'getBackupCanisterId' : ActorMethod<[], Principal>,
56
- 'getDefaultPackages' : ActorMethod<
57
- [string],
58
- Array<[PackageName, PackageVersion]>
59
- >,
60
- 'getDownloadTrendByPackageId' : ActorMethod<
61
- [PackageId],
62
- Array<DownloadsSnapshot>
63
- >,
64
- 'getDownloadTrendByPackageName' : ActorMethod<
65
- [PackageName],
66
- Array<DownloadsSnapshot>
67
- >,
68
- 'getFileHashes' : ActorMethod<[PackageName, PackageVersion], Result_8>,
69
- 'getFileHashesByPackageIds' : ActorMethod<
70
- [Array<PackageId>],
71
- Array<[PackageId, Array<[FileId, Uint8Array | number[]]>]>
72
- >,
73
- 'getFileHashesQuery' : ActorMethod<[PackageName, PackageVersion], Result_8>,
74
- 'getFileIds' : ActorMethod<[PackageName, PackageVersion], Result_7>,
75
- 'getHighestSemverBatch' : ActorMethod<
76
- [Array<[PackageName, PackageVersion, SemverPart]>],
77
- Result_6
78
- >,
79
- 'getHighestVersion' : ActorMethod<[PackageName], Result_5>,
80
- 'getMostDownloadedPackages' : ActorMethod<[], Array<PackageSummary>>,
81
- 'getMostDownloadedPackagesIn7Days' : ActorMethod<[], Array<PackageSummary>>,
82
- 'getNewPackages' : ActorMethod<[], Array<PackageSummary>>,
83
- 'getPackageDependents' : ActorMethod<
84
- [PackageName, bigint, bigint],
85
- [Array<PackageSummary>, bigint]
86
- >,
87
- 'getPackageDetails' : ActorMethod<[PackageName, PackageVersion], Result_4>,
88
- 'getPackageMaintainers' : ActorMethod<[PackageName], Array<Principal>>,
89
- 'getPackageOwners' : ActorMethod<[PackageName], Array<Principal>>,
90
- 'getPackageVersionHistory' : ActorMethod<
91
- [PackageName],
92
- Array<PackageSummaryWithChanges>
93
- >,
94
- 'getPackagesByCategory' : ActorMethod<
95
- [],
96
- Array<[string, Array<PackageSummary>]>
97
- >,
98
- 'getRecentlyUpdatedPackages' : ActorMethod<
99
- [],
100
- Array<PackageSummaryWithChanges>
101
- >,
102
- 'getStoragesStats' : ActorMethod<[], Array<[StorageId, StorageStats]>>,
103
- 'getTotalDownloads' : ActorMethod<[], bigint>,
104
- 'getTotalPackages' : ActorMethod<[], bigint>,
105
- 'getUser' : ActorMethod<[Principal], [] | [User]>,
106
- 'http_request' : ActorMethod<[Request], Response>,
107
- 'notifyInstall' : ActorMethod<[PackageName, PackageVersion], undefined>,
108
- 'notifyInstalls' : ActorMethod<
109
- [Array<[PackageName, PackageVersion]>],
110
- undefined
111
- >,
112
- 'removeMaintainer' : ActorMethod<[PackageName, Principal], Result_3>,
113
- 'removeOwner' : ActorMethod<[PackageName, Principal], Result_3>,
114
- 'restore' : ActorMethod<[bigint], undefined>,
115
- 'search' : ActorMethod<
116
- [Text, [] | [bigint], [] | [bigint]],
117
- [Array<PackageSummary>, PageCount]
118
- >,
119
- 'setStorageControllers' : ActorMethod<[], undefined>,
120
- 'setUserProp' : ActorMethod<[string, string], Result_3>,
121
- 'startFileUpload' : ActorMethod<
122
- [PublishingId, Text, bigint, Uint8Array | number[]],
123
- Result_2
124
- >,
125
- 'startPublish' : ActorMethod<[PackageConfigV3_Publishing], Result_1>,
126
- 'takeSnapshotsIfNeeded' : ActorMethod<[], undefined>,
127
- 'transformRequest' : ActorMethod<[TransformArg], HttpRequestResult>,
128
- 'uploadBenchmarks' : ActorMethod<[PublishingId, Benchmarks], Result>,
129
- 'uploadDocsCoverage' : ActorMethod<[PublishingId, number], Result>,
130
- 'uploadFileChunk' : ActorMethod<
131
- [PublishingId, FileId, bigint, Uint8Array | number[]],
132
- Result
133
- >,
134
- 'uploadNotes' : ActorMethod<[PublishingId, string], Result>,
135
- 'uploadTestStats' : ActorMethod<[PublishingId, TestStats], Result>,
136
- }
137
- export interface PackageChanges {
138
- 'tests' : TestsChanges,
139
- 'deps' : Array<DepChange>,
140
- 'curBenchmarks' : Benchmarks,
141
- 'prevDocsCoverage' : number,
142
- 'prevBenchmarks' : Benchmarks,
143
- 'notes' : string,
144
- 'curDocsCoverage' : number,
145
- 'devDeps' : Array<DepChange>,
146
- }
147
- export interface PackageConfigV3 {
148
- 'dfx' : string,
149
- 'moc' : string,
150
- 'scripts' : Array<Script>,
151
- 'baseDir' : string,
152
- 'documentation' : string,
153
- 'name' : PackageName,
154
- 'homepage' : string,
155
- 'description' : string,
156
- 'version' : string,
157
- 'keywords' : Array<string>,
158
- 'donation' : string,
159
- 'devDependencies' : Array<DependencyV2>,
160
- 'repository' : string,
161
- 'dependencies' : Array<DependencyV2>,
162
- 'requirements' : Array<Requirement>,
163
- 'license' : string,
164
- 'readme' : string,
165
- }
166
- export interface PackageConfigV3_Publishing {
167
- 'dfx' : string,
168
- 'moc' : string,
169
- 'scripts' : Array<Script>,
170
- 'baseDir' : string,
171
- 'documentation' : string,
172
- 'name' : PackageName,
173
- 'homepage' : string,
174
- 'description' : string,
175
- 'version' : string,
176
- 'keywords' : Array<string>,
177
- 'donation' : string,
178
- 'devDependencies' : Array<DependencyV2>,
179
- 'repository' : string,
180
- 'dependencies' : Array<DependencyV2>,
181
- 'requirements' : [] | [Array<Requirement>],
182
- 'license' : string,
183
- 'readme' : string,
184
- }
185
- export interface PackageDetails {
186
- 'benchmarks' : Benchmarks,
187
- 'ownerInfo' : User,
188
- 'owners' : Array<User>,
189
- 'maintainers' : Array<User>,
190
- 'owner' : Principal,
191
- 'depAlias' : string,
192
- 'deps' : Array<PackageSummary>,
193
- 'quality' : PackageQuality,
194
- 'publisher' : User,
195
- 'testStats' : TestStats,
196
- 'docsCoverage' : number,
197
- 'highestVersion' : PackageVersion,
198
- 'downloadsTotal' : bigint,
199
- 'downloadsInLast30Days' : bigint,
200
- 'dependentsCount' : bigint,
201
- 'downloadTrend' : Array<DownloadsSnapshot>,
202
- 'fileStats' : PackageFileStatsPublic,
203
- 'versionHistory' : Array<PackageSummaryWithChanges>,
204
- 'dependents' : Array<PackageSummary>,
205
- 'devDeps' : Array<PackageSummary>,
206
- 'downloadsInLast7Days' : bigint,
207
- 'config' : PackageConfigV3,
208
- 'changes' : PackageChanges,
209
- 'versions' : Array<PackageVersion>,
210
- 'publication' : PackagePublication,
211
- }
212
- export interface PackageFileStatsPublic {
213
- 'sourceFiles' : bigint,
214
- 'sourceSize' : bigint,
215
- }
216
- export type PackageId = string;
217
- export type PackageName = string;
218
- export interface PackagePublication {
219
- 'storage' : Principal,
220
- 'time' : Time,
221
- 'user' : Principal,
222
- }
223
- export interface PackageQuality {
224
- 'depsStatus' : DepsStatus,
225
- 'docsCoverage' : number,
226
- 'hasDescription' : boolean,
227
- 'hasKeywords' : boolean,
228
- 'hasLicense' : boolean,
229
- 'hasDocumentation' : boolean,
230
- 'hasTests' : boolean,
231
- 'hasRepository' : boolean,
232
- 'hasReleaseNotes' : boolean,
233
- }
234
- export interface PackageSummary {
235
- 'ownerInfo' : User,
236
- 'owners' : Array<User>,
237
- 'maintainers' : Array<User>,
238
- 'owner' : Principal,
239
- 'depAlias' : string,
240
- 'quality' : PackageQuality,
241
- 'publisher' : User,
242
- 'highestVersion' : PackageVersion,
243
- 'downloadsTotal' : bigint,
244
- 'downloadsInLast30Days' : bigint,
245
- 'downloadsInLast7Days' : bigint,
246
- 'config' : PackageConfigV3,
247
- 'publication' : PackagePublication,
248
- }
249
- export interface PackageSummaryWithChanges {
250
- 'ownerInfo' : User,
251
- 'owners' : Array<User>,
252
- 'maintainers' : Array<User>,
253
- 'owner' : Principal,
254
- 'depAlias' : string,
255
- 'quality' : PackageQuality,
256
- 'publisher' : User,
257
- 'highestVersion' : PackageVersion,
258
- 'downloadsTotal' : bigint,
259
- 'downloadsInLast30Days' : bigint,
260
- 'downloadsInLast7Days' : bigint,
261
- 'config' : PackageConfigV3,
262
- 'changes' : PackageChanges,
263
- 'publication' : PackagePublication,
264
- }
265
- export type PackageVersion = string;
266
- export type PageCount = bigint;
267
- export type PublishingId = string;
268
- export interface Request {
269
- 'url' : string,
270
- 'method' : string,
271
- 'body' : Uint8Array | number[],
272
- 'headers' : Array<Header>,
273
- 'certificate_version' : [] | [number],
274
- }
275
- export interface Requirement { 'value' : string, 'name' : string }
276
- export interface Response {
277
- 'body' : Uint8Array | number[],
278
- 'headers' : Array<Header>,
279
- 'upgrade' : [] | [boolean],
280
- 'streaming_strategy' : [] | [StreamingStrategy],
281
- 'status_code' : number,
282
- }
283
- export type Result = { 'ok' : null } |
284
- { 'err' : Err };
285
- export type Result_1 = { 'ok' : PublishingId } |
286
- { 'err' : Err };
287
- export type Result_2 = { 'ok' : FileId } |
288
- { 'err' : Err };
289
- export type Result_3 = { 'ok' : null } |
290
- { 'err' : string };
291
- export type Result_4 = { 'ok' : PackageDetails } |
292
- { 'err' : Err };
293
- export type Result_5 = { 'ok' : PackageVersion } |
294
- { 'err' : Err };
295
- export type Result_6 = { 'ok' : Array<[PackageName, PackageVersion]> } |
296
- { 'err' : Err };
297
- export type Result_7 = { 'ok' : Array<FileId> } |
298
- { 'err' : Err };
299
- export type Result_8 = { 'ok' : Array<[FileId, Uint8Array | number[]]> } |
300
- { 'err' : Err };
301
- export interface Script { 'value' : string, 'name' : string }
302
- export type SemverPart = { 'major' : null } |
303
- { 'minor' : null } |
304
- { 'patch' : null };
305
- export type StorageId = Principal;
306
- export interface StorageStats {
307
- 'fileCount' : bigint,
308
- 'cyclesBalance' : bigint,
309
- 'memorySize' : bigint,
310
- }
311
- export type StreamingCallback = ActorMethod<
312
- [StreamingToken],
313
- [] | [StreamingCallbackResponse]
314
- >;
315
- export interface StreamingCallbackResponse {
316
- 'token' : [] | [StreamingToken],
317
- 'body' : Uint8Array | number[],
318
- }
319
- export type StreamingStrategy = {
320
- 'Callback' : { 'token' : StreamingToken, 'callback' : StreamingCallback }
321
- };
322
- export type StreamingToken = Uint8Array | number[];
323
- export interface TestStats { 'passedNames' : Array<string>, 'passed' : bigint }
324
- export interface TestsChanges {
325
- 'addedNames' : Array<string>,
326
- 'removedNames' : Array<string>,
327
- }
328
- export type Text = string;
329
- export type Time = bigint;
330
- export interface TransformArg {
331
- 'context' : Uint8Array | number[],
332
- 'response' : HttpRequestResult,
333
- }
334
- export interface User {
335
- 'id' : Principal,
336
- 'emailVerified' : boolean,
337
- 'twitter' : string,
338
- 'displayName' : string,
339
- 'name' : string,
340
- 'site' : string,
341
- 'email' : string,
342
- 'twitterVerified' : boolean,
343
- 'githubVerified' : boolean,
344
- 'github' : string,
345
- }
346
- export interface _SERVICE extends Main {}
347
- export declare const idlFactory: IDL.InterfaceFactory;
348
- export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];