@nekro-nxt/contracts 0.1.0 → 0.2.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.
- package/dist/index.mjs +221 -2
- package/dist/index.mjs.map +1 -1
- package/lib/types/community.d.ts +357 -0
- package/lib/types/community.d.ts.map +1 -1
- package/lib/types/extension-ui.d.ts +3 -3
- package/lib/types/host-api.d.ts +378 -3
- package/lib/types/host-api.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/community.ts +148 -0
- package/src/host-api.ts +85 -0
package/lib/types/community.d.ts
CHANGED
|
@@ -29,14 +29,26 @@ export declare const CommunityAccountSchema: z.ZodObject<{
|
|
|
29
29
|
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
30
30
|
}, z.core.$strict>;
|
|
31
31
|
export type CommunityAccount = z.output<typeof CommunityAccountSchema>;
|
|
32
|
+
export declare const CommunityEnvironmentSchema: z.ZodEnum<{
|
|
33
|
+
production: "production";
|
|
34
|
+
staging: "staging";
|
|
35
|
+
development: "development";
|
|
36
|
+
}>;
|
|
37
|
+
export type CommunityEnvironment = z.output<typeof CommunityEnvironmentSchema>;
|
|
32
38
|
export declare const CommunityStatusSchema: z.ZodObject<{
|
|
33
39
|
communityUrl: z.ZodString;
|
|
40
|
+
environment: z.ZodNullable<z.ZodEnum<{
|
|
41
|
+
production: "production";
|
|
42
|
+
staging: "staging";
|
|
43
|
+
development: "development";
|
|
44
|
+
}>>;
|
|
34
45
|
account: z.ZodNullable<z.ZodObject<{
|
|
35
46
|
handle: z.ZodString;
|
|
36
47
|
displayName: z.ZodString;
|
|
37
48
|
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
38
49
|
}, z.core.$strict>>;
|
|
39
50
|
signedInAt: z.ZodNullable<z.ZodNumber>;
|
|
51
|
+
updatesAvailable: z.ZodNumber;
|
|
40
52
|
}, z.core.$strict>;
|
|
41
53
|
export type CommunityStatus = z.output<typeof CommunityStatusSchema>;
|
|
42
54
|
export declare const CommunityPermissionItemSchema: z.ZodObject<{
|
|
@@ -49,6 +61,7 @@ export declare const CommunityPermissionItemSchema: z.ZodObject<{
|
|
|
49
61
|
label: z.ZodString;
|
|
50
62
|
detail: z.ZodOptional<z.ZodString>;
|
|
51
63
|
}, z.core.$strict>;
|
|
64
|
+
export type CommunityPermissionItem = z.output<typeof CommunityPermissionItemSchema>;
|
|
52
65
|
export declare const CommunityReleaseSchema: z.ZodObject<{
|
|
53
66
|
id: z.ZodString;
|
|
54
67
|
reviewStatus: z.ZodEnum<{
|
|
@@ -84,6 +97,10 @@ export declare const CommunityReleaseSchema: z.ZodObject<{
|
|
|
84
97
|
createdAt: z.ZodNumber;
|
|
85
98
|
}, z.core.$strict>;
|
|
86
99
|
export type CommunityRelease = z.output<typeof CommunityReleaseSchema>;
|
|
100
|
+
/** 社区为官方扩展保留的发布者标识:官方扩展由多位官方成员维护,对外不显示个人账号。 */
|
|
101
|
+
export declare const COMMUNITY_OFFICIAL_HANDLE = "nekro-nxt";
|
|
102
|
+
/** 发布者的展示文字:官方扩展显示「NekroNXT 官方」,其余显示 @账号。 */
|
|
103
|
+
export declare const communityPublisherLabel: (handle: string) => string;
|
|
87
104
|
export declare const CommunityExtensionSummarySchema: z.ZodObject<{
|
|
88
105
|
id: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
89
106
|
scope: z.ZodEnum<{
|
|
@@ -94,6 +111,7 @@ export declare const CommunityExtensionSummarySchema: z.ZodObject<{
|
|
|
94
111
|
displayName: z.ZodString;
|
|
95
112
|
summary: z.ZodString;
|
|
96
113
|
tags: z.ZodArray<z.ZodString>;
|
|
114
|
+
official: z.ZodBoolean;
|
|
97
115
|
publisher: z.ZodObject<{
|
|
98
116
|
handle: z.ZodString;
|
|
99
117
|
displayName: z.ZodString;
|
|
@@ -148,6 +166,7 @@ export declare const CommunityExtensionDetailSchema: z.ZodObject<{
|
|
|
148
166
|
displayName: z.ZodString;
|
|
149
167
|
summary: z.ZodString;
|
|
150
168
|
tags: z.ZodArray<z.ZodString>;
|
|
169
|
+
official: z.ZodBoolean;
|
|
151
170
|
publisher: z.ZodObject<{
|
|
152
171
|
handle: z.ZodString;
|
|
153
172
|
displayName: z.ZodString;
|
|
@@ -218,6 +237,344 @@ export declare const CommunityExtensionDetailSchema: z.ZodObject<{
|
|
|
218
237
|
}, z.core.$strict>>;
|
|
219
238
|
}, z.core.$strict>;
|
|
220
239
|
export type CommunityExtensionDetail = z.output<typeof CommunityExtensionDetailSchema>;
|
|
240
|
+
export declare const CommunityEndpointSchema: z.ZodObject<{
|
|
241
|
+
url: z.ZodString;
|
|
242
|
+
source: z.ZodEnum<{
|
|
243
|
+
default: "default";
|
|
244
|
+
environment: "environment";
|
|
245
|
+
setting: "setting";
|
|
246
|
+
}>;
|
|
247
|
+
defaultUrl: z.ZodString;
|
|
248
|
+
environmentUrl: z.ZodNullable<z.ZodString>;
|
|
249
|
+
insecure: z.ZodBoolean;
|
|
250
|
+
}, z.core.$strict>;
|
|
251
|
+
export type CommunityEndpoint = z.output<typeof CommunityEndpointSchema>;
|
|
252
|
+
export declare const CommunitySourceSchema: z.ZodObject<{
|
|
253
|
+
kind: z.ZodLiteral<"community">;
|
|
254
|
+
communityUrl: z.ZodString;
|
|
255
|
+
releaseId: z.ZodString;
|
|
256
|
+
publisherHandle: z.ZodString;
|
|
257
|
+
installedAt: z.ZodNumber;
|
|
258
|
+
}, z.core.$strict>;
|
|
259
|
+
export type CommunitySource = z.output<typeof CommunitySourceSchema>;
|
|
260
|
+
export declare const CommunityInstalledItemSchema: z.ZodObject<{
|
|
261
|
+
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
262
|
+
displayName: z.ZodString;
|
|
263
|
+
revisionId: z.ZodString;
|
|
264
|
+
source: z.ZodObject<{
|
|
265
|
+
kind: z.ZodLiteral<"community">;
|
|
266
|
+
communityUrl: z.ZodString;
|
|
267
|
+
releaseId: z.ZodString;
|
|
268
|
+
publisherHandle: z.ZodString;
|
|
269
|
+
installedAt: z.ZodNumber;
|
|
270
|
+
}, z.core.$strict>;
|
|
271
|
+
sameCommunity: z.ZodBoolean;
|
|
272
|
+
found: z.ZodBoolean;
|
|
273
|
+
delisted: z.ZodBoolean;
|
|
274
|
+
delistedReason: z.ZodNullable<z.ZodString>;
|
|
275
|
+
releaseWithdrawn: z.ZodBoolean;
|
|
276
|
+
latest: z.ZodNullable<z.ZodObject<{
|
|
277
|
+
id: z.ZodString;
|
|
278
|
+
reviewStatus: z.ZodEnum<{
|
|
279
|
+
pending: "pending";
|
|
280
|
+
reviewing: "reviewing";
|
|
281
|
+
passed: "passed";
|
|
282
|
+
passed_with_notes: "passed_with_notes";
|
|
283
|
+
flagged: "flagged";
|
|
284
|
+
held: "held";
|
|
285
|
+
risk_confirmed: "risk_confirmed";
|
|
286
|
+
rejected: "rejected";
|
|
287
|
+
incomplete: "incomplete";
|
|
288
|
+
}>;
|
|
289
|
+
grade: z.ZodNullable<z.ZodEnum<{
|
|
290
|
+
A: "A";
|
|
291
|
+
B: "B";
|
|
292
|
+
C: "C";
|
|
293
|
+
D: "D";
|
|
294
|
+
}>>;
|
|
295
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
296
|
+
key: z.ZodString;
|
|
297
|
+
level: z.ZodEnum<{
|
|
298
|
+
normal: "normal";
|
|
299
|
+
elevated: "elevated";
|
|
300
|
+
high: "high";
|
|
301
|
+
}>;
|
|
302
|
+
label: z.ZodString;
|
|
303
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
304
|
+
}, z.core.$strict>>;
|
|
305
|
+
packageSize: z.ZodNumber;
|
|
306
|
+
requiresSdk: z.ZodNullable<z.ZodNumber>;
|
|
307
|
+
notes: z.ZodString;
|
|
308
|
+
createdAt: z.ZodNumber;
|
|
309
|
+
}, z.core.$strict>>;
|
|
310
|
+
updateAvailable: z.ZodBoolean;
|
|
311
|
+
addedPermissions: z.ZodArray<z.ZodObject<{
|
|
312
|
+
key: z.ZodString;
|
|
313
|
+
level: z.ZodEnum<{
|
|
314
|
+
normal: "normal";
|
|
315
|
+
elevated: "elevated";
|
|
316
|
+
high: "high";
|
|
317
|
+
}>;
|
|
318
|
+
label: z.ZodString;
|
|
319
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
320
|
+
}, z.core.$strict>>;
|
|
321
|
+
}, z.core.$strict>;
|
|
322
|
+
export type CommunityInstalledItem = z.output<typeof CommunityInstalledItemSchema>;
|
|
323
|
+
export declare const CommunityInstalledSchema: z.ZodObject<{
|
|
324
|
+
checkedAt: z.ZodNullable<z.ZodNumber>;
|
|
325
|
+
items: z.ZodArray<z.ZodObject<{
|
|
326
|
+
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
327
|
+
displayName: z.ZodString;
|
|
328
|
+
revisionId: z.ZodString;
|
|
329
|
+
source: z.ZodObject<{
|
|
330
|
+
kind: z.ZodLiteral<"community">;
|
|
331
|
+
communityUrl: z.ZodString;
|
|
332
|
+
releaseId: z.ZodString;
|
|
333
|
+
publisherHandle: z.ZodString;
|
|
334
|
+
installedAt: z.ZodNumber;
|
|
335
|
+
}, z.core.$strict>;
|
|
336
|
+
sameCommunity: z.ZodBoolean;
|
|
337
|
+
found: z.ZodBoolean;
|
|
338
|
+
delisted: z.ZodBoolean;
|
|
339
|
+
delistedReason: z.ZodNullable<z.ZodString>;
|
|
340
|
+
releaseWithdrawn: z.ZodBoolean;
|
|
341
|
+
latest: z.ZodNullable<z.ZodObject<{
|
|
342
|
+
id: z.ZodString;
|
|
343
|
+
reviewStatus: z.ZodEnum<{
|
|
344
|
+
pending: "pending";
|
|
345
|
+
reviewing: "reviewing";
|
|
346
|
+
passed: "passed";
|
|
347
|
+
passed_with_notes: "passed_with_notes";
|
|
348
|
+
flagged: "flagged";
|
|
349
|
+
held: "held";
|
|
350
|
+
risk_confirmed: "risk_confirmed";
|
|
351
|
+
rejected: "rejected";
|
|
352
|
+
incomplete: "incomplete";
|
|
353
|
+
}>;
|
|
354
|
+
grade: z.ZodNullable<z.ZodEnum<{
|
|
355
|
+
A: "A";
|
|
356
|
+
B: "B";
|
|
357
|
+
C: "C";
|
|
358
|
+
D: "D";
|
|
359
|
+
}>>;
|
|
360
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
361
|
+
key: z.ZodString;
|
|
362
|
+
level: z.ZodEnum<{
|
|
363
|
+
normal: "normal";
|
|
364
|
+
elevated: "elevated";
|
|
365
|
+
high: "high";
|
|
366
|
+
}>;
|
|
367
|
+
label: z.ZodString;
|
|
368
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
369
|
+
}, z.core.$strict>>;
|
|
370
|
+
packageSize: z.ZodNumber;
|
|
371
|
+
requiresSdk: z.ZodNullable<z.ZodNumber>;
|
|
372
|
+
notes: z.ZodString;
|
|
373
|
+
createdAt: z.ZodNumber;
|
|
374
|
+
}, z.core.$strict>>;
|
|
375
|
+
updateAvailable: z.ZodBoolean;
|
|
376
|
+
addedPermissions: z.ZodArray<z.ZodObject<{
|
|
377
|
+
key: z.ZodString;
|
|
378
|
+
level: z.ZodEnum<{
|
|
379
|
+
normal: "normal";
|
|
380
|
+
elevated: "elevated";
|
|
381
|
+
high: "high";
|
|
382
|
+
}>;
|
|
383
|
+
label: z.ZodString;
|
|
384
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
385
|
+
}, z.core.$strict>>;
|
|
386
|
+
}, z.core.$strict>>;
|
|
387
|
+
}, z.core.$strict>;
|
|
388
|
+
export declare const CommunityMyExtensionSchema: z.ZodObject<{
|
|
389
|
+
id: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
390
|
+
scope: z.ZodEnum<{
|
|
391
|
+
agent: "agent";
|
|
392
|
+
"host-adapter": "host-adapter";
|
|
393
|
+
"host-ui": "host-ui";
|
|
394
|
+
}>;
|
|
395
|
+
displayName: z.ZodString;
|
|
396
|
+
summary: z.ZodString;
|
|
397
|
+
tags: z.ZodArray<z.ZodString>;
|
|
398
|
+
official: z.ZodBoolean;
|
|
399
|
+
publisher: z.ZodObject<{
|
|
400
|
+
handle: z.ZodString;
|
|
401
|
+
displayName: z.ZodString;
|
|
402
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
403
|
+
}, z.core.$strict>;
|
|
404
|
+
latest: z.ZodNullable<z.ZodObject<{
|
|
405
|
+
id: z.ZodString;
|
|
406
|
+
reviewStatus: z.ZodEnum<{
|
|
407
|
+
pending: "pending";
|
|
408
|
+
reviewing: "reviewing";
|
|
409
|
+
passed: "passed";
|
|
410
|
+
passed_with_notes: "passed_with_notes";
|
|
411
|
+
flagged: "flagged";
|
|
412
|
+
held: "held";
|
|
413
|
+
risk_confirmed: "risk_confirmed";
|
|
414
|
+
rejected: "rejected";
|
|
415
|
+
incomplete: "incomplete";
|
|
416
|
+
}>;
|
|
417
|
+
grade: z.ZodNullable<z.ZodEnum<{
|
|
418
|
+
A: "A";
|
|
419
|
+
B: "B";
|
|
420
|
+
C: "C";
|
|
421
|
+
D: "D";
|
|
422
|
+
}>>;
|
|
423
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
424
|
+
key: z.ZodString;
|
|
425
|
+
level: z.ZodEnum<{
|
|
426
|
+
normal: "normal";
|
|
427
|
+
elevated: "elevated";
|
|
428
|
+
high: "high";
|
|
429
|
+
}>;
|
|
430
|
+
label: z.ZodString;
|
|
431
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
432
|
+
}, z.core.$strict>>;
|
|
433
|
+
packageSize: z.ZodNumber;
|
|
434
|
+
requiresSdk: z.ZodNullable<z.ZodNumber>;
|
|
435
|
+
notes: z.ZodString;
|
|
436
|
+
createdAt: z.ZodNumber;
|
|
437
|
+
}, z.core.$strict>>;
|
|
438
|
+
downloads: z.ZodNumber;
|
|
439
|
+
updatedAt: z.ZodNumber;
|
|
440
|
+
pageUrl: z.ZodString;
|
|
441
|
+
releases: z.ZodArray<z.ZodObject<{
|
|
442
|
+
id: z.ZodString;
|
|
443
|
+
reviewStatus: z.ZodEnum<{
|
|
444
|
+
pending: "pending";
|
|
445
|
+
reviewing: "reviewing";
|
|
446
|
+
passed: "passed";
|
|
447
|
+
passed_with_notes: "passed_with_notes";
|
|
448
|
+
flagged: "flagged";
|
|
449
|
+
held: "held";
|
|
450
|
+
risk_confirmed: "risk_confirmed";
|
|
451
|
+
rejected: "rejected";
|
|
452
|
+
incomplete: "incomplete";
|
|
453
|
+
}>;
|
|
454
|
+
grade: z.ZodNullable<z.ZodEnum<{
|
|
455
|
+
A: "A";
|
|
456
|
+
B: "B";
|
|
457
|
+
C: "C";
|
|
458
|
+
D: "D";
|
|
459
|
+
}>>;
|
|
460
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
461
|
+
key: z.ZodString;
|
|
462
|
+
level: z.ZodEnum<{
|
|
463
|
+
normal: "normal";
|
|
464
|
+
elevated: "elevated";
|
|
465
|
+
high: "high";
|
|
466
|
+
}>;
|
|
467
|
+
label: z.ZodString;
|
|
468
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
469
|
+
}, z.core.$strict>>;
|
|
470
|
+
packageSize: z.ZodNumber;
|
|
471
|
+
requiresSdk: z.ZodNullable<z.ZodNumber>;
|
|
472
|
+
notes: z.ZodString;
|
|
473
|
+
createdAt: z.ZodNumber;
|
|
474
|
+
withdrawn: z.ZodBoolean;
|
|
475
|
+
}, z.core.$strict>>;
|
|
476
|
+
delisted: z.ZodBoolean;
|
|
477
|
+
delistedReason: z.ZodNullable<z.ZodString>;
|
|
478
|
+
}, z.core.$strict>;
|
|
479
|
+
export type CommunityMyExtension = z.output<typeof CommunityMyExtensionSchema>;
|
|
480
|
+
export declare const COMMUNITY_REVIEW_DIMENSIONS: readonly ["security", "transparency", "reliability", "context_cost", "usability", "maintainability", "compliance"];
|
|
481
|
+
export declare const COMMUNITY_REVIEW_DIMENSION_LABELS: Readonly<Record<(typeof COMMUNITY_REVIEW_DIMENSIONS)[number], string>>;
|
|
482
|
+
/** 作者看到的完整审查报告。 */
|
|
483
|
+
export declare const CommunityReviewReportSchema: z.ZodObject<{
|
|
484
|
+
releaseId: z.ZodString;
|
|
485
|
+
status: z.ZodEnum<{
|
|
486
|
+
pending: "pending";
|
|
487
|
+
reviewing: "reviewing";
|
|
488
|
+
passed: "passed";
|
|
489
|
+
passed_with_notes: "passed_with_notes";
|
|
490
|
+
flagged: "flagged";
|
|
491
|
+
held: "held";
|
|
492
|
+
risk_confirmed: "risk_confirmed";
|
|
493
|
+
rejected: "rejected";
|
|
494
|
+
incomplete: "incomplete";
|
|
495
|
+
}>;
|
|
496
|
+
grade: z.ZodNullable<z.ZodEnum<{
|
|
497
|
+
A: "A";
|
|
498
|
+
B: "B";
|
|
499
|
+
C: "C";
|
|
500
|
+
D: "D";
|
|
501
|
+
}>>;
|
|
502
|
+
deterministic: z.ZodArray<z.ZodObject<{
|
|
503
|
+
severity: z.ZodEnum<{
|
|
504
|
+
info: "info";
|
|
505
|
+
warning: "warning";
|
|
506
|
+
risk: "risk";
|
|
507
|
+
block: "block";
|
|
508
|
+
}>;
|
|
509
|
+
title: z.ZodString;
|
|
510
|
+
detail: z.ZodString;
|
|
511
|
+
file: z.ZodOptional<z.ZodString>;
|
|
512
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
513
|
+
}, z.core.$strict>>;
|
|
514
|
+
ai: z.ZodNullable<z.ZodObject<{
|
|
515
|
+
summary: z.ZodString;
|
|
516
|
+
verdict: z.ZodString;
|
|
517
|
+
grade: z.ZodEnum<{
|
|
518
|
+
A: "A";
|
|
519
|
+
B: "B";
|
|
520
|
+
C: "C";
|
|
521
|
+
D: "D";
|
|
522
|
+
}>;
|
|
523
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
524
|
+
key: z.ZodEnum<{
|
|
525
|
+
security: "security";
|
|
526
|
+
transparency: "transparency";
|
|
527
|
+
reliability: "reliability";
|
|
528
|
+
context_cost: "context_cost";
|
|
529
|
+
usability: "usability";
|
|
530
|
+
maintainability: "maintainability";
|
|
531
|
+
compliance: "compliance";
|
|
532
|
+
}>;
|
|
533
|
+
grade: z.ZodEnum<{
|
|
534
|
+
A: "A";
|
|
535
|
+
B: "B";
|
|
536
|
+
C: "C";
|
|
537
|
+
D: "D";
|
|
538
|
+
}>;
|
|
539
|
+
notes: z.ZodString;
|
|
540
|
+
}, z.core.$strict>>;
|
|
541
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
542
|
+
dimension: z.ZodEnum<{
|
|
543
|
+
security: "security";
|
|
544
|
+
transparency: "transparency";
|
|
545
|
+
reliability: "reliability";
|
|
546
|
+
context_cost: "context_cost";
|
|
547
|
+
usability: "usability";
|
|
548
|
+
maintainability: "maintainability";
|
|
549
|
+
compliance: "compliance";
|
|
550
|
+
}>;
|
|
551
|
+
severity: z.ZodEnum<{
|
|
552
|
+
info: "info";
|
|
553
|
+
warning: "warning";
|
|
554
|
+
risk: "risk";
|
|
555
|
+
suggestion: "suggestion";
|
|
556
|
+
critical: "critical";
|
|
557
|
+
}>;
|
|
558
|
+
title: z.ZodString;
|
|
559
|
+
detail: z.ZodString;
|
|
560
|
+
file: z.ZodOptional<z.ZodString>;
|
|
561
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
562
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
563
|
+
}, z.core.$strict>>;
|
|
564
|
+
exploitability: z.ZodOptional<z.ZodString>;
|
|
565
|
+
}, z.core.$strict>>;
|
|
566
|
+
model: z.ZodNullable<z.ZodString>;
|
|
567
|
+
error: z.ZodNullable<z.ZodString>;
|
|
568
|
+
decisions: z.ZodArray<z.ZodObject<{
|
|
569
|
+
decision: z.ZodString;
|
|
570
|
+
note: z.ZodString;
|
|
571
|
+
by: z.ZodString;
|
|
572
|
+
createdAt: z.ZodNumber;
|
|
573
|
+
}, z.core.$strict>>;
|
|
574
|
+
finishedAt: z.ZodNullable<z.ZodNumber>;
|
|
575
|
+
reportUrl: z.ZodString;
|
|
576
|
+
}, z.core.$strict>;
|
|
577
|
+
export type CommunityReviewReport = z.output<typeof CommunityReviewReportSchema>;
|
|
221
578
|
/** 安装者看到的审查标签:只描述审查发现,不做「安全」担保。 */
|
|
222
579
|
export declare const communityReviewLabel: (status: CommunityReviewStatus) => {
|
|
223
580
|
readonly tone: "neutral" | "ok" | "accent" | "warn" | "bad";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"community.d.ts","sourceRoot":"","sources":["../../src/community.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB;;;GAGG;AACH,eAAO,MAAM,yBAAyB,iIAU5B,CAAA;AACV,eAAO,MAAM,2BAA2B;;;;;;;;;;EAAoC,CAAA;AAC5E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAEhF,eAAO,MAAM,oBAAoB;;;;;EAA+B,CAAA;AAEhE,eAAO,MAAM,wBAAwB,aAA0C,CAAA;AAE/E,eAAO,MAAM,sBAAsB;;;;kBAMxB,CAAA;AACX,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAEtE,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"community.d.ts","sourceRoot":"","sources":["../../src/community.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB;;;GAGG;AACH,eAAO,MAAM,yBAAyB,iIAU5B,CAAA;AACV,eAAO,MAAM,2BAA2B;;;;;;;;;;EAAoC,CAAA;AAC5E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAEhF,eAAO,MAAM,oBAAoB;;;;;EAA+B,CAAA;AAEhE,eAAO,MAAM,wBAAwB,aAA0C,CAAA;AAE/E,eAAO,MAAM,sBAAsB;;;;kBAMxB,CAAA;AACX,MAAM,MAAM,gBAAgB,GAAG,CAAC,CA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I,EAAE,SAAS,GAAG,IAAI,GAAG,QAAQ,GAAG,MAAM,GAAG,KAAK,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAmBvF,CAAA"}
|
|
@@ -169,9 +169,9 @@ export declare const HostUiNavigationItemSchema: z.ZodObject<{
|
|
|
169
169
|
status: z.ZodOptional<z.ZodEnum<{
|
|
170
170
|
error: "error";
|
|
171
171
|
success: "success";
|
|
172
|
-
neutral: "neutral";
|
|
173
172
|
info: "info";
|
|
174
173
|
warning: "warning";
|
|
174
|
+
neutral: "neutral";
|
|
175
175
|
}>>;
|
|
176
176
|
disabledReason: z.ZodOptional<z.ZodString>;
|
|
177
177
|
path: z.ZodString;
|
|
@@ -209,9 +209,9 @@ export declare const HostUiNavigationGroupSchema: z.ZodObject<{
|
|
|
209
209
|
status: z.ZodOptional<z.ZodEnum<{
|
|
210
210
|
error: "error";
|
|
211
211
|
success: "success";
|
|
212
|
-
neutral: "neutral";
|
|
213
212
|
info: "info";
|
|
214
213
|
warning: "warning";
|
|
214
|
+
neutral: "neutral";
|
|
215
215
|
}>>;
|
|
216
216
|
disabledReason: z.ZodOptional<z.ZodString>;
|
|
217
217
|
path: z.ZodString;
|
|
@@ -252,9 +252,9 @@ export declare const HostUiNavigationModelSchema: z.ZodObject<{
|
|
|
252
252
|
status: z.ZodOptional<z.ZodEnum<{
|
|
253
253
|
error: "error";
|
|
254
254
|
success: "success";
|
|
255
|
-
neutral: "neutral";
|
|
256
255
|
info: "info";
|
|
257
256
|
warning: "warning";
|
|
257
|
+
neutral: "neutral";
|
|
258
258
|
}>>;
|
|
259
259
|
disabledReason: z.ZodOptional<z.ZodString>;
|
|
260
260
|
path: z.ZodString;
|