@nativestudio/cli 0.3.0-rc.1 → 0.3.0-rc.11
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/COMPATIBILITY.json +33 -8
- package/LICENSE +201 -21
- package/components/runtime.json +29 -4
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/chunk-37PAJCKA.js +1 -0
- package/dist/_chunks/{chunk-G42IS5JF.js → chunk-3AVC742O.js} +1 -1
- package/dist/_chunks/chunk-4U4Y2K73.js +1 -0
- package/dist/_chunks/chunk-65FQPXKC.js +1 -0
- package/dist/_chunks/chunk-6DVZBKNV.js +1 -0
- package/dist/_chunks/{chunk-25EDDZQA.js → chunk-6LU6GJKW.js} +1 -1
- package/dist/_chunks/chunk-6N433ZWR.js +1 -0
- package/dist/_chunks/chunk-EGUJ2YRX.js +1 -0
- package/dist/_chunks/{chunk-MSOMVWKN.js → chunk-FU3524Z6.js} +1 -1
- package/dist/_chunks/chunk-GZBWA4YN.js +1 -0
- package/dist/_chunks/chunk-HR34UMPP.js +1 -0
- package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
- package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
- package/dist/_chunks/chunk-L543FEDK.js +1 -0
- package/dist/_chunks/chunk-LISB5W7B.js +1 -0
- package/dist/_chunks/chunk-LUAH3KAS.js +1 -0
- package/dist/_chunks/chunk-M2KVQQ4X.js +1 -0
- package/dist/_chunks/chunk-ODGPV7MM.js +1 -0
- package/dist/_chunks/chunk-PUBMDP4E.js +1 -0
- package/dist/_chunks/chunk-Q57YFNK5.js +1 -0
- package/dist/_chunks/chunk-QAJH4RJQ.js +1 -0
- package/dist/_chunks/chunk-WFRRNWO5.js +1 -0
- package/dist/_chunks/connect-5YMO6MAR.js +1 -0
- package/dist/_chunks/device-management-2OTGEBJQ.js +1 -0
- package/dist/_chunks/device-preflight-XPHFZGLO.js +1 -0
- package/dist/_chunks/devices-inventory-VWNTU5TE.js +1 -0
- package/dist/_chunks/devices-main-VQ4APRVS.js +1 -0
- package/dist/_chunks/{files-TBJVDQWU.js → files-TTIQ7LYJ.js} +1 -1
- package/dist/_chunks/host-main-H7DPLV7B.js +1 -0
- package/dist/_chunks/http-profile-MNJX6OXO.js +1 -0
- package/dist/_chunks/library-main-SAC3V2ML.js +1 -0
- package/dist/_chunks/local-main-D6B3APK6.js +1 -0
- package/dist/_chunks/local-mcp-ONCANLPH.js +1 -0
- package/dist/_chunks/main-PW6HB3NC.js +2 -0
- package/dist/_chunks/mcp-ZIGBYFUW.js +1 -0
- package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
- package/dist/_chunks/render-main-GYWKP72O.js +1 -0
- package/dist/_chunks/source-import-BC5GNCUZ.js +1 -0
- package/dist/_chunks/src-R6DNU336.js +1 -0
- package/dist/_chunks/{stdio-main-JEADWO7U.js → stdio-main-RIJS5REB.js} +1 -1
- package/dist/_chunks/workspace-main-GNSKHKBG.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +1969 -1
- package/dist/_types/cli/local/desktop-device-contract.d.ts +779 -0
- package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
- package/dist/_types/cli/local/desktop-device-owner.d.ts +244 -0
- package/dist/_types/cli/local/desktop-device-state.d.ts +397 -0
- package/dist/_types/cli/local/desktop-library.d.ts +853 -0
- package/dist/_types/cli/local/desktop-owner.d.ts +735 -1
- package/dist/_types/cli/local/ledger.d.ts +64 -10
- package/dist/_types/cli/local/manager.d.ts +1146 -43
- package/dist/_types/cli/local/mcp-tools.d.ts +287 -46
- package/dist/_types/cli/local/releases.d.ts +28 -5
- package/dist/_types/cli/local-management.d.ts +5 -0
- package/dist/_types/cli/local-navigation.d.ts +1 -0
- package/dist/_types/contracts/artifact-discovery.d.ts +76 -4
- package/dist/_types/contracts/audio.d.ts +4 -0
- package/dist/_types/contracts/composition-authoring.d.ts +8 -8
- package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
- package/dist/_types/contracts/composition-render-base.d.ts +5 -4
- package/dist/_types/contracts/composition-render.d.ts +8 -8
- package/dist/_types/contracts/composition-repair.d.ts +10 -10
- package/dist/_types/contracts/composition-source-review.d.ts +12 -12
- package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
- package/dist/_types/contracts/delivery-operations.d.ts +51 -3909
- package/dist/_types/contracts/delivery-summary.d.ts +2 -2
- package/dist/_types/contracts/delivery-validation.d.ts +23 -0
- package/dist/_types/contracts/device-render.d.ts +77 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +114 -2491
- package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
- package/dist/_types/contracts/external-agent-access.d.ts +4 -6
- package/dist/_types/contracts/final-ready.d.ts +22 -22
- package/dist/_types/contracts/final-render.d.ts +1569 -6940
- package/dist/_types/contracts/human-identity.d.ts +13 -0
- package/dist/_types/contracts/index.d.ts +4 -0
- package/dist/_types/contracts/interface/media-output.d.ts +28 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +15 -193
- package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
- package/dist/_types/contracts/local-execution/agent-context.d.ts +365 -0
- package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
- package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
- package/dist/_types/contracts/local-execution/agent-review.d.ts +496 -64
- package/dist/_types/contracts/local-execution/common.d.ts +12 -11
- package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
- package/dist/_types/contracts/local-execution/components.d.ts +45 -0
- package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
- package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
- package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
- package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
- package/dist/_types/contracts/local-execution/device.d.ts +19 -51
- package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
- package/dist/_types/contracts/local-execution/index.d.ts +26 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +2756 -228
- package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
- package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
- package/dist/_types/contracts/local-execution/library.d.ts +873 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +242 -42
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +275 -56
- package/dist/_types/contracts/local-execution/management.d.ts +400 -0
- package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
- package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
- package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
- package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
- package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +144 -3564
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
- package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
- package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
- package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
- package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
- package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
- package/dist/_types/contracts/local-execution/tool-selection.d.ts +45 -5
- package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
- package/dist/_types/contracts/local-execution/work.d.ts +111 -3403
- package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
- package/dist/_types/contracts/media-category.d.ts +11 -0
- package/dist/_types/contracts/media-observation.d.ts +929 -8
- package/dist/_types/contracts/navigation.d.ts +25 -15
- package/dist/_types/contracts/observation-profile.d.ts +3 -3
- package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
- package/dist/_types/contracts/programmatic-exploration.d.ts +348 -5985
- package/dist/_types/contracts/provider-catalog.d.ts +3 -3
- package/dist/_types/contracts/provider-models.d.ts +16 -8
- package/dist/_types/contracts/provider.d.ts +66 -1
- package/dist/_types/contracts/reference-preview.d.ts +19 -0
- package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
- package/dist/_types/contracts/repair-plan.d.ts +16 -98
- package/dist/_types/contracts/repair-strategy.d.ts +162 -4481
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +317 -8139
- package/dist/_types/contracts/review-intelligence.d.ts +450 -11420
- package/dist/_types/contracts/rough-cut-manifest.d.ts +8 -3
- package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
- package/dist/_types/contracts/rough-cut-review.d.ts +134 -12494
- package/dist/_types/contracts/rough-cut.d.ts +1073 -5675
- package/dist/_types/contracts/sound-making-plan.d.ts +3 -2
- package/dist/_types/contracts/speech-cost.d.ts +81 -0
- package/dist/_types/contracts/speech.d.ts +149 -0
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
- package/dist/_types/contracts/timeline-audio.d.ts +1 -0
- package/dist/_types/contracts/timeline-manifest.d.ts +2 -0
- package/dist/_types/contracts/timeline-source-sound.d.ts +1 -0
- package/dist/_types/contracts/timeline-v2.d.ts +4 -0
- package/dist/_types/contracts/timeline-version-reader.d.ts +10 -0
- package/dist/_types/contracts/timeline-visual-layers.d.ts +4 -0
- package/dist/_types/contracts/timeline.d.ts +50 -4850
- package/dist/_types/contracts/transcription.d.ts +1 -1
- package/dist/_types/contracts/video-generation.d.ts +33 -0
- package/dist/_types/contracts/visual-layer-render.d.ts +58 -15
- package/dist/_types/contracts/visual-sequence.d.ts +22 -0
- package/dist/_types/contracts/workspace.d.ts +32 -0
- package/dist/_types/sdk/errors.d.ts +8 -3
- package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
- package/dist/_types/sdk/local-runtime/device-client.d.ts +127 -17
- package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
- package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +1773 -89
- package/dist/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/dist/native/JobNative.cs +10 -0
- package/dist/native/JobRunner.cs +24 -3
- package/dist/native/NativeMain.cs +15 -0
- package/package.json +2 -8
- package/README.md +0 -78
- package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
- package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
- package/dist/_chunks/chunk-EAZKDCLD.js +0 -1
- package/dist/_chunks/chunk-GIEYSDCG.js +0 -1
- package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
- package/dist/_chunks/chunk-HLKERZIE.js +0 -1
- package/dist/_chunks/chunk-QC7RLTGU.js +0 -1
- package/dist/_chunks/chunk-RUMDDTON.js +0 -1
- package/dist/_chunks/chunk-U2UKGYGF.js +0 -1
- package/dist/_chunks/local-main-SOERK22D.js +0 -1
- package/dist/_chunks/local-mcp-JLPXXIDW.js +0 -1
- package/dist/_chunks/main-4SNF5EKE.js +0 -2
- package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
- package/dist/_chunks/oauth-257CEUQH.js +0 -1
- package/dist/_chunks/project-connect-6MH2QG6G.js +0 -1
- package/dist/_chunks/src-7F6ZEU3U.js +0 -1
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const LocalResourcePolicySchema: z.ZodObject<{
|
|
3
|
+
acceptNewWork: z.ZodDefault<z.ZodBoolean>;
|
|
4
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
5
|
+
CONTINUOUS: "CONTINUOUS";
|
|
6
|
+
IDLE_ONLY: "IDLE_ONLY";
|
|
7
|
+
}>>;
|
|
8
|
+
idleAfterSeconds: z.ZodDefault<z.ZodInt>;
|
|
9
|
+
maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
|
|
10
|
+
cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
11
|
+
memoryMiB: z.ZodDefault<z.ZodInt>;
|
|
12
|
+
cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
|
|
13
|
+
}, z.core.$strict>;
|
|
14
|
+
export declare const LocalResourceSettingsSchema: z.ZodObject<{
|
|
15
|
+
revision: z.ZodInt;
|
|
16
|
+
policy: z.ZodObject<{
|
|
17
|
+
acceptNewWork: z.ZodDefault<z.ZodBoolean>;
|
|
18
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
19
|
+
CONTINUOUS: "CONTINUOUS";
|
|
20
|
+
IDLE_ONLY: "IDLE_ONLY";
|
|
21
|
+
}>>;
|
|
22
|
+
idleAfterSeconds: z.ZodDefault<z.ZodInt>;
|
|
23
|
+
maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
|
|
24
|
+
cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
25
|
+
memoryMiB: z.ZodDefault<z.ZodInt>;
|
|
26
|
+
cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
|
|
27
|
+
}, z.core.$strict>;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
export declare const LocalExecutionProgressSchema: z.ZodObject<{
|
|
30
|
+
stage: z.ZodEnum<{
|
|
31
|
+
WAITING: "WAITING";
|
|
32
|
+
COMPLETE: "COMPLETE";
|
|
33
|
+
RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
|
|
34
|
+
DOWNLOADING: "DOWNLOADING";
|
|
35
|
+
EXECUTING: "EXECUTING";
|
|
36
|
+
UPLOADING: "UPLOADING";
|
|
37
|
+
AWAITING_ACCEPTANCE: "AWAITING_ACCEPTANCE";
|
|
38
|
+
FENCED: "FENCED";
|
|
39
|
+
}>;
|
|
40
|
+
downloadedBytes: z.ZodInt;
|
|
41
|
+
sourceBytes: z.ZodInt;
|
|
42
|
+
uploadedBytes: z.ZodInt;
|
|
43
|
+
outputBytes: z.ZodInt;
|
|
44
|
+
lastError: z.ZodNullable<z.ZodObject<{
|
|
45
|
+
code: z.ZodString;
|
|
46
|
+
observedAt: z.ZodISODateTime;
|
|
47
|
+
}, z.core.$strict>>;
|
|
48
|
+
}, z.core.$strict>;
|
|
49
|
+
export declare const LocalStorageInspectionSchema: z.ZodObject<{
|
|
50
|
+
cacheBytes: z.ZodInt;
|
|
51
|
+
protectedBytes: z.ZodInt;
|
|
52
|
+
reclaimableBytes: z.ZodInt;
|
|
53
|
+
transferBytes: z.ZodInt;
|
|
54
|
+
journalBytes: z.ZodInt;
|
|
55
|
+
reviewBytes: z.ZodOptional<z.ZodInt>;
|
|
56
|
+
ownerStagingBytes: z.ZodOptional<z.ZodInt>;
|
|
57
|
+
availableDiskBytes: z.ZodInt;
|
|
58
|
+
quotaBytes: z.ZodInt;
|
|
59
|
+
overQuota: z.ZodBoolean;
|
|
60
|
+
}, z.core.$strict>;
|
|
61
|
+
export declare const LocalWorkspaceInspectionSchema: z.ZodObject<{
|
|
62
|
+
settings: z.ZodObject<{
|
|
63
|
+
revision: z.ZodInt;
|
|
64
|
+
policy: z.ZodObject<{
|
|
65
|
+
acceptNewWork: z.ZodDefault<z.ZodBoolean>;
|
|
66
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
67
|
+
CONTINUOUS: "CONTINUOUS";
|
|
68
|
+
IDLE_ONLY: "IDLE_ONLY";
|
|
69
|
+
}>>;
|
|
70
|
+
idleAfterSeconds: z.ZodDefault<z.ZodInt>;
|
|
71
|
+
maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
|
|
72
|
+
cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
73
|
+
memoryMiB: z.ZodDefault<z.ZodInt>;
|
|
74
|
+
cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
|
|
75
|
+
}, z.core.$strict>;
|
|
76
|
+
}, z.core.$strict>;
|
|
77
|
+
storage: z.ZodObject<{
|
|
78
|
+
cacheBytes: z.ZodInt;
|
|
79
|
+
protectedBytes: z.ZodInt;
|
|
80
|
+
reclaimableBytes: z.ZodInt;
|
|
81
|
+
transferBytes: z.ZodInt;
|
|
82
|
+
journalBytes: z.ZodInt;
|
|
83
|
+
reviewBytes: z.ZodOptional<z.ZodInt>;
|
|
84
|
+
ownerStagingBytes: z.ZodOptional<z.ZodInt>;
|
|
85
|
+
availableDiskBytes: z.ZodInt;
|
|
86
|
+
quotaBytes: z.ZodInt;
|
|
87
|
+
overQuota: z.ZodBoolean;
|
|
88
|
+
}, z.core.$strict>;
|
|
89
|
+
scheduling: z.ZodObject<{
|
|
90
|
+
state: z.ZodEnum<{
|
|
91
|
+
READY: "READY";
|
|
92
|
+
PAUSED: "PAUSED";
|
|
93
|
+
WAITING_FOR_IDLE: "WAITING_FOR_IDLE";
|
|
94
|
+
AT_CAPACITY: "AT_CAPACITY";
|
|
95
|
+
DRAINING: "DRAINING";
|
|
96
|
+
}>;
|
|
97
|
+
activeJobs: z.ZodInt;
|
|
98
|
+
idleObservationCurrent: z.ZodBoolean;
|
|
99
|
+
}, z.core.$strict>;
|
|
100
|
+
}, z.core.$strict>;
|
|
101
|
+
export declare const LocalDiagnosticsSchema: z.ZodObject<{
|
|
102
|
+
protocol: z.ZodLiteral<"NVS_LOCAL_DIAGNOSTICS_V1">;
|
|
103
|
+
createdAt: z.ZodISODateTime;
|
|
104
|
+
runtimeVersion: z.ZodString;
|
|
105
|
+
runtimeRevision: z.ZodInt;
|
|
106
|
+
settings: z.ZodObject<{
|
|
107
|
+
revision: z.ZodInt;
|
|
108
|
+
policy: z.ZodObject<{
|
|
109
|
+
acceptNewWork: z.ZodDefault<z.ZodBoolean>;
|
|
110
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
111
|
+
CONTINUOUS: "CONTINUOUS";
|
|
112
|
+
IDLE_ONLY: "IDLE_ONLY";
|
|
113
|
+
}>>;
|
|
114
|
+
idleAfterSeconds: z.ZodDefault<z.ZodInt>;
|
|
115
|
+
maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
|
|
116
|
+
cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
117
|
+
memoryMiB: z.ZodDefault<z.ZodInt>;
|
|
118
|
+
cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
|
|
119
|
+
}, z.core.$strict>;
|
|
120
|
+
}, z.core.$strict>;
|
|
121
|
+
storage: z.ZodObject<{
|
|
122
|
+
cacheBytes: z.ZodInt;
|
|
123
|
+
protectedBytes: z.ZodInt;
|
|
124
|
+
reclaimableBytes: z.ZodInt;
|
|
125
|
+
transferBytes: z.ZodInt;
|
|
126
|
+
journalBytes: z.ZodInt;
|
|
127
|
+
reviewBytes: z.ZodOptional<z.ZodInt>;
|
|
128
|
+
ownerStagingBytes: z.ZodOptional<z.ZodInt>;
|
|
129
|
+
availableDiskBytes: z.ZodInt;
|
|
130
|
+
quotaBytes: z.ZodInt;
|
|
131
|
+
overQuota: z.ZodBoolean;
|
|
132
|
+
}, z.core.$strict>;
|
|
133
|
+
recordCounts: z.ZodRecord<z.ZodString, z.ZodInt>;
|
|
134
|
+
failures: z.ZodArray<z.ZodObject<{
|
|
135
|
+
taskFingerprint: z.ZodString;
|
|
136
|
+
code: z.ZodString;
|
|
137
|
+
observedAt: z.ZodISODateTime;
|
|
138
|
+
}, z.core.$strict>>;
|
|
139
|
+
}, z.core.$strict>;
|
|
140
|
+
export type LocalResourcePolicy = z.infer<typeof LocalResourcePolicySchema>;
|
|
141
|
+
export type LocalExecutionProgress = z.infer<typeof LocalExecutionProgressSchema>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** 素材类型统一用于有界查询与呈现,不改变原 Artifact 家族和字节身份。 */
|
|
3
|
+
export declare const MediaCategorySchema: z.ZodEnum<{
|
|
4
|
+
IMAGE: "IMAGE";
|
|
5
|
+
VIDEO: "VIDEO";
|
|
6
|
+
AUDIO: "AUDIO";
|
|
7
|
+
DOCUMENT: "DOCUMENT";
|
|
8
|
+
}>;
|
|
9
|
+
export type MediaCategory = z.infer<typeof MediaCategorySchema>;
|
|
10
|
+
/** MIME 分类沿同一公开口径,未知二进制仍作为文档,不伪称可预览媒体。 */
|
|
11
|
+
export declare function mediaCategoryOf(contentType: string): MediaCategory;
|