@vmz/vmz 0.1.17 → 0.1.19
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/application-cmd.d.ts +6 -16
- package/dist/application-cmd.js +34 -180
- package/dist/author-input.d.ts +40 -19
- package/dist/author-input.js +2 -16
- package/dist/build-assemble.d.ts +63 -41
- package/dist/build-assemble.js +42 -43
- package/dist/bundler-adapter.d.ts +46 -48
- package/dist/bundler-adapter.js +4 -43
- package/dist/cdn-policy.d.ts +77 -93
- package/dist/cdn-policy.js +10 -16
- package/dist/cli-localize.d.ts +34 -0
- package/dist/cli-localize.js +58 -0
- package/dist/cli.d.ts +8 -19
- package/dist/cli.js +69 -252
- package/dist/content-addressed-assets.d.ts +24 -10
- package/dist/content-addressed-assets.js +2 -7
- package/dist/delivery-profile.d.ts +54 -27
- package/dist/delivery-profile.js +15 -13
- package/dist/dev-session.d.ts +29 -23
- package/dist/dev-session.js +0 -21
- package/dist/dev-watch-roots.d.ts +34 -25
- package/dist/dev-watch-roots.js +0 -31
- package/dist/document-build.d.ts +22 -97
- package/dist/document-build.js +4 -19
- package/dist/document-check.d.ts +30 -53
- package/dist/document-check.js +14 -29
- package/dist/document-cmd.d.ts +3 -6
- package/dist/document-cmd.js +19 -79
- package/dist/document-designs.d.ts +5 -8
- package/dist/document-designs.js +2 -15
- package/dist/document-enrich.d.ts +52 -24
- package/dist/document-enrich.js +4 -32
- package/dist/document-evidence.d.ts +46 -43
- package/dist/document-evidence.js +6 -47
- package/dist/document-integrate.d.ts +13 -29
- package/dist/document-integrate.js +2 -13
- package/dist/document-interactive.d.ts +45 -67
- package/dist/document-interactive.js +9 -50
- package/dist/document-layout-render.d.ts +7 -16
- package/dist/document-layout-render.js +0 -17
- package/dist/document-locale.d.ts +12 -25
- package/dist/document-locale.js +3 -14
- package/dist/document-markdown.d.ts +9 -5
- package/dist/document-markdown.js +0 -4
- package/dist/document-routing-config.d.ts +7 -14
- package/dist/document-routing-config.js +0 -9
- package/dist/document-scan.d.ts +14 -18
- package/dist/document-scan.js +2 -23
- package/dist/document-schema.d.ts +154 -41
- package/dist/document-schema.js +0 -35
- package/dist/embedded-packaging.d.ts +20 -8
- package/dist/embedded-packaging.js +0 -1
- package/dist/explain-cmd.d.ts +4 -3
- package/dist/explain-cmd.js +16 -65
- package/dist/index.d.ts +70 -143
- package/dist/index.js +16 -136
- package/dist/invocation.d.ts +29 -50
- package/dist/invocation.js +11 -57
- package/dist/locale-check.d.ts +69 -70
- package/dist/locale-check.js +5 -66
- package/dist/locale-cmd.d.ts +2 -5
- package/dist/locale-cmd.js +62 -142
- package/dist/locale-delivery.d.ts +294 -191
- package/dist/locale-delivery.js +8 -94
- package/dist/locale-route-emit.d.ts +23 -9
- package/dist/locale-route-emit.js +0 -7
- package/dist/locale-router.d.ts +189 -162
- package/dist/locale-router.js +13 -122
- package/dist/locale-runtime.d.ts +292 -262
- package/dist/locale-runtime.js +8 -102
- package/dist/locale-schema.js +0 -1
- package/dist/locale-tooling.d.ts +100 -63
- package/dist/locale-tooling.js +7 -45
- package/dist/log.d.ts +22 -15
- package/dist/log.js +24 -21
- package/dist/native-addon.d.ts +10 -9
- package/dist/native-addon.js +1 -10
- package/dist/pack-client-packages.d.ts +5 -1
- package/dist/pack-client-packages.js +0 -6
- package/dist/pack.d.ts +17 -15
- package/dist/pack.js +0 -12
- package/dist/packages.d.ts +10 -23
- package/dist/packages.js +1 -37
- package/dist/plan-cmd.d.ts +6 -0
- package/dist/plan-cmd.js +35 -0
- package/dist/plugin-host.js +0 -1
- package/dist/port.d.ts +2 -10
- package/dist/port.js +2 -11
- package/dist/pretty-json.d.ts +9 -19
- package/dist/pretty-json.js +3 -17
- package/dist/production-observability.d.ts +37 -181
- package/dist/production-observability.js +1 -9
- package/dist/production-test-pack.d.ts +17 -3
- package/dist/production-test-pack.js +0 -2
- package/dist/public-static-assets.d.ts +6 -1
- package/dist/public-static-assets.js +0 -5
- package/dist/refactor-cmd.d.ts +3 -6
- package/dist/refactor-cmd.js +16 -69
- package/dist/release-cmd.d.ts +7 -6
- package/dist/release-cmd.js +17 -59
- package/dist/release-pack.d.ts +7 -3
- package/dist/release-pack.js +0 -6
- package/dist/resolve.d.ts +15 -19
- package/dist/resolve.js +1 -15
- package/dist/server-artifact.d.ts +30 -75
- package/dist/server-artifact.js +0 -10
- package/dist/server-language-backend.d.ts +22 -79
- package/dist/server-language-backend.js +0 -26
- package/dist/site-delivery.d.ts +46 -59
- package/dist/site-delivery.js +3 -8
- package/dist/site-favicon.d.ts +6 -1
- package/dist/site-favicon.js +0 -5
- package/dist/static-emit.d.ts +73 -103
- package/dist/static-emit.js +1 -26
- package/dist/test-cmd.d.ts +3 -5
- package/dist/test-cmd.js +46 -30
- package/dist/test-compile.js +0 -1
- package/dist/test-discover.js +0 -1
- package/dist/test-logic.js +0 -1
- package/dist/test-protocol.js +0 -1
- package/dist/toolchain-dx.d.ts +11 -0
- package/dist/toolchain-dx.js +10 -0
- package/dist/watch-diff.d.ts +4 -13
- package/dist/watch-diff.js +0 -17
- package/dist/wechat-packaging.d.ts +8 -7
- package/dist/wechat-packaging.js +0 -6
- package/locales/en-US/cli.json +105 -0
- package/locales/locales.json +4 -0
- package/package.json +15 -12
- package/dist/resolve-native-cli.d.ts +0 -14
- package/dist/resolve-native-cli.js +0 -84
|
@@ -1,111 +1,135 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
* allowFullClientBundle?: boolean,
|
|
27
|
-
* }} input
|
|
28
|
-
*/
|
|
29
|
-
export declare function buildLocaleDeliveryResolution(input: any): {
|
|
1
|
+
export declare function fallbackDigest(fallback?: Record<string, string[]>): string;
|
|
2
|
+
export interface DeliveryMessage {
|
|
3
|
+
messageId: string;
|
|
4
|
+
variants: Record<string, {
|
|
5
|
+
template: string;
|
|
6
|
+
}>;
|
|
7
|
+
}
|
|
8
|
+
/** Hash reachable message variants for one locale. */
|
|
9
|
+
export declare function messageCatalogHash(messages: DeliveryMessage[], localeId: string, reachableIds?: string[]): string;
|
|
10
|
+
export interface LocaleDeliveryInput {
|
|
11
|
+
host: 'web' | 'mini' | 'native' | 'server';
|
|
12
|
+
applicationId: string;
|
|
13
|
+
deliveryId: string;
|
|
14
|
+
planVersion?: string;
|
|
15
|
+
supportedLocales: string[];
|
|
16
|
+
defaultLocale: string;
|
|
17
|
+
fallback?: Record<string, string[]>;
|
|
18
|
+
routingRealization?: unknown;
|
|
19
|
+
messages: DeliveryMessage[];
|
|
20
|
+
reachableMessageIds?: string[];
|
|
21
|
+
bundledLocales?: string[];
|
|
22
|
+
allowFullClientBundle?: boolean;
|
|
23
|
+
}
|
|
24
|
+
/** Build LocaleDeliveryResolution for one Host surface. */
|
|
25
|
+
export declare function buildLocaleDeliveryResolution(input: LocaleDeliveryInput): {
|
|
30
26
|
schema: string;
|
|
31
27
|
status: string;
|
|
32
|
-
host:
|
|
33
|
-
applicationId:
|
|
34
|
-
deliveryId:
|
|
35
|
-
planVersion:
|
|
36
|
-
supportedLocales:
|
|
37
|
-
defaultLocale:
|
|
28
|
+
host: "web" | "mini" | "native" | "server";
|
|
29
|
+
applicationId: string;
|
|
30
|
+
deliveryId: string;
|
|
31
|
+
planVersion: string;
|
|
32
|
+
supportedLocales: string[];
|
|
33
|
+
defaultLocale: string;
|
|
38
34
|
fallbackDigest: string;
|
|
39
|
-
routingRealization:
|
|
40
|
-
bundledLocales:
|
|
41
|
-
lazyLocaleChunks:
|
|
35
|
+
routingRealization: unknown;
|
|
36
|
+
bundledLocales: string[];
|
|
37
|
+
lazyLocaleChunks: {
|
|
38
|
+
schema: string;
|
|
39
|
+
localeId: string;
|
|
40
|
+
host: string;
|
|
41
|
+
messageIds: string[];
|
|
42
|
+
hash: string;
|
|
43
|
+
kind: string;
|
|
44
|
+
}[];
|
|
42
45
|
bundledChunks: {
|
|
43
46
|
schema: string;
|
|
44
|
-
localeId:
|
|
45
|
-
host:
|
|
46
|
-
messageIds:
|
|
47
|
-
hash:
|
|
47
|
+
localeId: string;
|
|
48
|
+
host: "web" | "mini" | "native" | "server";
|
|
49
|
+
messageIds: string[];
|
|
50
|
+
hash: string;
|
|
48
51
|
kind: string;
|
|
49
52
|
}[];
|
|
50
53
|
formatterDataVersion: string;
|
|
51
|
-
messageCatalogHashes:
|
|
52
|
-
reachableMessageIds:
|
|
53
|
-
diagnostics:
|
|
54
|
+
messageCatalogHashes: Record<string, string>;
|
|
55
|
+
reachableMessageIds: string[];
|
|
56
|
+
diagnostics: {
|
|
57
|
+
code: string;
|
|
58
|
+
severity: string;
|
|
59
|
+
message: string;
|
|
60
|
+
}[];
|
|
54
61
|
};
|
|
55
|
-
/**
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
62
|
+
/** Validate a Native optional locale pack (signed, no JS, bound to app/plan/schema). */
|
|
63
|
+
export declare function validateNativeLocalePack(input: {
|
|
64
|
+
pack: {
|
|
65
|
+
schema?: string;
|
|
66
|
+
applicationId: string;
|
|
67
|
+
planVersion: string;
|
|
68
|
+
localeId: string;
|
|
69
|
+
signature?: string;
|
|
70
|
+
catalog?: Record<string, string>;
|
|
71
|
+
formatterDataVersion?: string;
|
|
72
|
+
entries?: Array<{
|
|
73
|
+
path: string;
|
|
74
|
+
kind?: string;
|
|
75
|
+
}>;
|
|
76
|
+
executable?: boolean;
|
|
77
|
+
};
|
|
78
|
+
expectedApplicationId: string;
|
|
79
|
+
expectedPlanVersion: string;
|
|
80
|
+
}): {
|
|
74
81
|
schema: string;
|
|
75
82
|
status: string;
|
|
76
|
-
localeId:
|
|
77
|
-
diagnostics:
|
|
83
|
+
localeId: string;
|
|
84
|
+
diagnostics: {
|
|
85
|
+
code: string;
|
|
86
|
+
severity: string;
|
|
87
|
+
message: string;
|
|
88
|
+
}[];
|
|
78
89
|
pack: {
|
|
79
90
|
schema: string;
|
|
80
|
-
applicationId:
|
|
81
|
-
planVersion:
|
|
82
|
-
localeId:
|
|
83
|
-
signature:
|
|
84
|
-
formatterDataVersion:
|
|
91
|
+
applicationId: string;
|
|
92
|
+
planVersion: string;
|
|
93
|
+
localeId: string;
|
|
94
|
+
signature: string;
|
|
95
|
+
formatterDataVersion: string;
|
|
85
96
|
catalogKeys: string[];
|
|
86
97
|
};
|
|
87
98
|
};
|
|
88
|
-
/**
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
99
|
+
/** Mini cross-subpackage message dependencies must be proven. */
|
|
100
|
+
export declare function proveMiniPackageMessages(input: {
|
|
101
|
+
packages: Array<{
|
|
102
|
+
id: string;
|
|
103
|
+
messageIds: string[];
|
|
104
|
+
}>;
|
|
105
|
+
edges: Array<{
|
|
106
|
+
fromPackage: string;
|
|
107
|
+
toPackage: string;
|
|
108
|
+
messageId: string;
|
|
109
|
+
}>;
|
|
110
|
+
}): {
|
|
96
111
|
schema: string;
|
|
97
112
|
status: string;
|
|
98
|
-
proven:
|
|
99
|
-
|
|
113
|
+
proven: {
|
|
114
|
+
fromPackage: string;
|
|
115
|
+
toPackage: string;
|
|
116
|
+
messageId: string;
|
|
117
|
+
}[];
|
|
118
|
+
diagnostics: {
|
|
119
|
+
code: string;
|
|
120
|
+
severity: string;
|
|
121
|
+
message: string;
|
|
122
|
+
}[];
|
|
100
123
|
};
|
|
101
|
-
/**
|
|
102
|
-
* Server/client boundary: ErrorCode + params only (no translated strings).
|
|
103
|
-
* @param {any} payload
|
|
104
|
-
*/
|
|
124
|
+
/** Server/client boundary: ErrorCode + params only (no translated strings). */
|
|
105
125
|
export declare function assertServerErrorEnvelope(payload: any): {
|
|
106
126
|
schema: string;
|
|
107
127
|
status: string;
|
|
108
|
-
diagnostics:
|
|
128
|
+
diagnostics: {
|
|
129
|
+
code: string;
|
|
130
|
+
severity: string;
|
|
131
|
+
message: string;
|
|
132
|
+
}[];
|
|
109
133
|
envelope?: undefined;
|
|
110
134
|
} | {
|
|
111
135
|
schema: string;
|
|
@@ -115,173 +139,244 @@ export declare function assertServerErrorEnvelope(payload: any): {
|
|
|
115
139
|
code: any;
|
|
116
140
|
params: any;
|
|
117
141
|
};
|
|
118
|
-
diagnostics:
|
|
142
|
+
diagnostics: {
|
|
143
|
+
code: string;
|
|
144
|
+
severity: string;
|
|
145
|
+
message: string;
|
|
146
|
+
}[];
|
|
119
147
|
};
|
|
120
|
-
/**
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
148
|
+
/** Final-user server formatting (mail/export/push) requires explicit LocaleContext. */
|
|
149
|
+
export declare function assertServerFormatContext(input: {
|
|
150
|
+
localeContext?: {
|
|
151
|
+
localeId?: string;
|
|
152
|
+
timeZone?: string;
|
|
153
|
+
} | null;
|
|
154
|
+
purpose: string;
|
|
155
|
+
}): {
|
|
125
156
|
ok: boolean;
|
|
126
|
-
diagnostics:
|
|
157
|
+
diagnostics: {
|
|
158
|
+
code: string;
|
|
159
|
+
severity: string;
|
|
160
|
+
message: string;
|
|
161
|
+
}[];
|
|
127
162
|
};
|
|
128
|
-
/**
|
|
129
|
-
|
|
130
|
-
* @param {Array<ReturnType<typeof buildLocaleDeliveryResolution>>} resolutions
|
|
131
|
-
*/
|
|
132
|
-
export declare function assertHostMessageInvariant(resolutions: any): {
|
|
163
|
+
/** Same MessageId / catalog hashes must agree across Host projections. */
|
|
164
|
+
export declare function assertHostMessageInvariant(resolutions: Array<ReturnType<typeof buildLocaleDeliveryResolution>>): {
|
|
133
165
|
ok: boolean;
|
|
134
|
-
diagnostics:
|
|
166
|
+
diagnostics: {
|
|
167
|
+
code: string;
|
|
168
|
+
severity: string;
|
|
169
|
+
message: string;
|
|
170
|
+
}[];
|
|
135
171
|
};
|
|
136
|
-
/**
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
export declare function checkLocaleDelivery(input: any): {
|
|
172
|
+
/** Aggregate delivery proof for fixture / CLI. */
|
|
173
|
+
export declare function checkLocaleDelivery(input: {
|
|
174
|
+
manifest: {
|
|
175
|
+
defaultLocale: string;
|
|
176
|
+
locales: Array<{
|
|
177
|
+
id: string;
|
|
178
|
+
}>;
|
|
179
|
+
fallback?: Record<string, string[]>;
|
|
180
|
+
routing?: unknown;
|
|
181
|
+
};
|
|
182
|
+
messages: DeliveryMessage[];
|
|
183
|
+
applicationId?: string;
|
|
184
|
+
planVersion?: string;
|
|
185
|
+
reachableMessageIds?: string[];
|
|
186
|
+
}): {
|
|
152
187
|
schema: string;
|
|
153
188
|
status: string;
|
|
154
189
|
resolutions: {
|
|
155
190
|
web: {
|
|
156
191
|
schema: string;
|
|
157
192
|
status: string;
|
|
158
|
-
host:
|
|
159
|
-
applicationId:
|
|
160
|
-
deliveryId:
|
|
161
|
-
planVersion:
|
|
162
|
-
supportedLocales:
|
|
163
|
-
defaultLocale:
|
|
193
|
+
host: "web" | "mini" | "native" | "server";
|
|
194
|
+
applicationId: string;
|
|
195
|
+
deliveryId: string;
|
|
196
|
+
planVersion: string;
|
|
197
|
+
supportedLocales: string[];
|
|
198
|
+
defaultLocale: string;
|
|
164
199
|
fallbackDigest: string;
|
|
165
|
-
routingRealization:
|
|
166
|
-
bundledLocales:
|
|
167
|
-
lazyLocaleChunks:
|
|
200
|
+
routingRealization: unknown;
|
|
201
|
+
bundledLocales: string[];
|
|
202
|
+
lazyLocaleChunks: {
|
|
203
|
+
schema: string;
|
|
204
|
+
localeId: string;
|
|
205
|
+
host: string;
|
|
206
|
+
messageIds: string[];
|
|
207
|
+
hash: string;
|
|
208
|
+
kind: string;
|
|
209
|
+
}[];
|
|
168
210
|
bundledChunks: {
|
|
169
211
|
schema: string;
|
|
170
|
-
localeId:
|
|
171
|
-
host:
|
|
172
|
-
messageIds:
|
|
173
|
-
hash:
|
|
212
|
+
localeId: string;
|
|
213
|
+
host: "web" | "mini" | "native" | "server";
|
|
214
|
+
messageIds: string[];
|
|
215
|
+
hash: string;
|
|
174
216
|
kind: string;
|
|
175
217
|
}[];
|
|
176
218
|
formatterDataVersion: string;
|
|
177
|
-
messageCatalogHashes:
|
|
178
|
-
reachableMessageIds:
|
|
179
|
-
diagnostics:
|
|
219
|
+
messageCatalogHashes: Record<string, string>;
|
|
220
|
+
reachableMessageIds: string[];
|
|
221
|
+
diagnostics: {
|
|
222
|
+
code: string;
|
|
223
|
+
severity: string;
|
|
224
|
+
message: string;
|
|
225
|
+
}[];
|
|
180
226
|
};
|
|
181
227
|
mini: {
|
|
182
228
|
schema: string;
|
|
183
229
|
status: string;
|
|
184
|
-
host:
|
|
185
|
-
applicationId:
|
|
186
|
-
deliveryId:
|
|
187
|
-
planVersion:
|
|
188
|
-
supportedLocales:
|
|
189
|
-
defaultLocale:
|
|
230
|
+
host: "web" | "mini" | "native" | "server";
|
|
231
|
+
applicationId: string;
|
|
232
|
+
deliveryId: string;
|
|
233
|
+
planVersion: string;
|
|
234
|
+
supportedLocales: string[];
|
|
235
|
+
defaultLocale: string;
|
|
190
236
|
fallbackDigest: string;
|
|
191
|
-
routingRealization:
|
|
192
|
-
bundledLocales:
|
|
193
|
-
lazyLocaleChunks:
|
|
237
|
+
routingRealization: unknown;
|
|
238
|
+
bundledLocales: string[];
|
|
239
|
+
lazyLocaleChunks: {
|
|
240
|
+
schema: string;
|
|
241
|
+
localeId: string;
|
|
242
|
+
host: string;
|
|
243
|
+
messageIds: string[];
|
|
244
|
+
hash: string;
|
|
245
|
+
kind: string;
|
|
246
|
+
}[];
|
|
194
247
|
bundledChunks: {
|
|
195
248
|
schema: string;
|
|
196
|
-
localeId:
|
|
197
|
-
host:
|
|
198
|
-
messageIds:
|
|
199
|
-
hash:
|
|
249
|
+
localeId: string;
|
|
250
|
+
host: "web" | "mini" | "native" | "server";
|
|
251
|
+
messageIds: string[];
|
|
252
|
+
hash: string;
|
|
200
253
|
kind: string;
|
|
201
254
|
}[];
|
|
202
255
|
formatterDataVersion: string;
|
|
203
|
-
messageCatalogHashes:
|
|
204
|
-
reachableMessageIds:
|
|
205
|
-
diagnostics:
|
|
256
|
+
messageCatalogHashes: Record<string, string>;
|
|
257
|
+
reachableMessageIds: string[];
|
|
258
|
+
diagnostics: {
|
|
259
|
+
code: string;
|
|
260
|
+
severity: string;
|
|
261
|
+
message: string;
|
|
262
|
+
}[];
|
|
206
263
|
};
|
|
207
264
|
native: {
|
|
208
265
|
schema: string;
|
|
209
266
|
status: string;
|
|
210
|
-
host:
|
|
211
|
-
applicationId:
|
|
212
|
-
deliveryId:
|
|
213
|
-
planVersion:
|
|
214
|
-
supportedLocales:
|
|
215
|
-
defaultLocale:
|
|
267
|
+
host: "web" | "mini" | "native" | "server";
|
|
268
|
+
applicationId: string;
|
|
269
|
+
deliveryId: string;
|
|
270
|
+
planVersion: string;
|
|
271
|
+
supportedLocales: string[];
|
|
272
|
+
defaultLocale: string;
|
|
216
273
|
fallbackDigest: string;
|
|
217
|
-
routingRealization:
|
|
218
|
-
bundledLocales:
|
|
219
|
-
lazyLocaleChunks:
|
|
274
|
+
routingRealization: unknown;
|
|
275
|
+
bundledLocales: string[];
|
|
276
|
+
lazyLocaleChunks: {
|
|
277
|
+
schema: string;
|
|
278
|
+
localeId: string;
|
|
279
|
+
host: string;
|
|
280
|
+
messageIds: string[];
|
|
281
|
+
hash: string;
|
|
282
|
+
kind: string;
|
|
283
|
+
}[];
|
|
220
284
|
bundledChunks: {
|
|
221
285
|
schema: string;
|
|
222
|
-
localeId:
|
|
223
|
-
host:
|
|
224
|
-
messageIds:
|
|
225
|
-
hash:
|
|
286
|
+
localeId: string;
|
|
287
|
+
host: "web" | "mini" | "native" | "server";
|
|
288
|
+
messageIds: string[];
|
|
289
|
+
hash: string;
|
|
226
290
|
kind: string;
|
|
227
291
|
}[];
|
|
228
292
|
formatterDataVersion: string;
|
|
229
|
-
messageCatalogHashes:
|
|
230
|
-
reachableMessageIds:
|
|
231
|
-
diagnostics:
|
|
293
|
+
messageCatalogHashes: Record<string, string>;
|
|
294
|
+
reachableMessageIds: string[];
|
|
295
|
+
diagnostics: {
|
|
296
|
+
code: string;
|
|
297
|
+
severity: string;
|
|
298
|
+
message: string;
|
|
299
|
+
}[];
|
|
232
300
|
};
|
|
233
301
|
server: {
|
|
234
302
|
schema: string;
|
|
235
303
|
status: string;
|
|
236
|
-
host:
|
|
237
|
-
applicationId:
|
|
238
|
-
deliveryId:
|
|
239
|
-
planVersion:
|
|
240
|
-
supportedLocales:
|
|
241
|
-
defaultLocale:
|
|
304
|
+
host: "web" | "mini" | "native" | "server";
|
|
305
|
+
applicationId: string;
|
|
306
|
+
deliveryId: string;
|
|
307
|
+
planVersion: string;
|
|
308
|
+
supportedLocales: string[];
|
|
309
|
+
defaultLocale: string;
|
|
242
310
|
fallbackDigest: string;
|
|
243
|
-
routingRealization:
|
|
244
|
-
bundledLocales:
|
|
245
|
-
lazyLocaleChunks:
|
|
311
|
+
routingRealization: unknown;
|
|
312
|
+
bundledLocales: string[];
|
|
313
|
+
lazyLocaleChunks: {
|
|
314
|
+
schema: string;
|
|
315
|
+
localeId: string;
|
|
316
|
+
host: string;
|
|
317
|
+
messageIds: string[];
|
|
318
|
+
hash: string;
|
|
319
|
+
kind: string;
|
|
320
|
+
}[];
|
|
246
321
|
bundledChunks: {
|
|
247
322
|
schema: string;
|
|
248
|
-
localeId:
|
|
249
|
-
host:
|
|
250
|
-
messageIds:
|
|
251
|
-
hash:
|
|
323
|
+
localeId: string;
|
|
324
|
+
host: "web" | "mini" | "native" | "server";
|
|
325
|
+
messageIds: string[];
|
|
326
|
+
hash: string;
|
|
252
327
|
kind: string;
|
|
253
328
|
}[];
|
|
254
329
|
formatterDataVersion: string;
|
|
255
|
-
messageCatalogHashes:
|
|
256
|
-
reachableMessageIds:
|
|
257
|
-
diagnostics:
|
|
330
|
+
messageCatalogHashes: Record<string, string>;
|
|
331
|
+
reachableMessageIds: string[];
|
|
332
|
+
diagnostics: {
|
|
333
|
+
code: string;
|
|
334
|
+
severity: string;
|
|
335
|
+
message: string;
|
|
336
|
+
}[];
|
|
258
337
|
};
|
|
259
338
|
};
|
|
260
339
|
nativePackProbe: {
|
|
261
340
|
schema: string;
|
|
262
341
|
status: string;
|
|
263
|
-
localeId:
|
|
264
|
-
diagnostics:
|
|
342
|
+
localeId: string;
|
|
343
|
+
diagnostics: {
|
|
344
|
+
code: string;
|
|
345
|
+
severity: string;
|
|
346
|
+
message: string;
|
|
347
|
+
}[];
|
|
265
348
|
pack: {
|
|
266
349
|
schema: string;
|
|
267
|
-
applicationId:
|
|
268
|
-
planVersion:
|
|
269
|
-
localeId:
|
|
270
|
-
signature:
|
|
271
|
-
formatterDataVersion:
|
|
350
|
+
applicationId: string;
|
|
351
|
+
planVersion: string;
|
|
352
|
+
localeId: string;
|
|
353
|
+
signature: string;
|
|
354
|
+
formatterDataVersion: string;
|
|
272
355
|
catalogKeys: string[];
|
|
273
356
|
};
|
|
274
357
|
};
|
|
275
358
|
miniPackageProof: {
|
|
276
359
|
schema: string;
|
|
277
360
|
status: string;
|
|
278
|
-
proven:
|
|
279
|
-
|
|
361
|
+
proven: {
|
|
362
|
+
fromPackage: string;
|
|
363
|
+
toPackage: string;
|
|
364
|
+
messageId: string;
|
|
365
|
+
}[];
|
|
366
|
+
diagnostics: {
|
|
367
|
+
code: string;
|
|
368
|
+
severity: string;
|
|
369
|
+
message: string;
|
|
370
|
+
}[];
|
|
280
371
|
};
|
|
281
372
|
serverErrorEnvelope: {
|
|
282
373
|
schema: string;
|
|
283
374
|
status: string;
|
|
284
|
-
diagnostics:
|
|
375
|
+
diagnostics: {
|
|
376
|
+
code: string;
|
|
377
|
+
severity: string;
|
|
378
|
+
message: string;
|
|
379
|
+
}[];
|
|
285
380
|
envelope?: undefined;
|
|
286
381
|
} | {
|
|
287
382
|
schema: string;
|
|
@@ -291,8 +386,16 @@ export declare function checkLocaleDelivery(input: any): {
|
|
|
291
386
|
code: any;
|
|
292
387
|
params: any;
|
|
293
388
|
};
|
|
294
|
-
diagnostics:
|
|
389
|
+
diagnostics: {
|
|
390
|
+
code: string;
|
|
391
|
+
severity: string;
|
|
392
|
+
message: string;
|
|
393
|
+
}[];
|
|
295
394
|
};
|
|
296
395
|
formatterDataVersion: string;
|
|
297
|
-
diagnostics:
|
|
396
|
+
diagnostics: {
|
|
397
|
+
code: string;
|
|
398
|
+
severity: string;
|
|
399
|
+
message: string;
|
|
400
|
+
}[];
|
|
298
401
|
};
|