Skip to content

Commit 820ef31

Browse files
committed
test: refresh plugin-assets rpc api snapshot for current union-member ordering
The tsnapi dts snapshot recorded the AssetType union in a stale member order; the current toolchain emits it re-ordered (identical type, no API change). Regenerated so the api-snapshot guard passes on CI.
1 parent 4fc3f2f commit 820ef31

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

tests/__snapshots__/tsnapi/@devframes/plugin-assets/rpc.snapshot.d.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ export declare const alwaysFunctions: readonly [{
4444
}];
4545
export declare const assetInfoSchema: import("devframe/utils/simple-schema").SimpleSchema<{
4646
path: string;
47-
type: "text" | "image" | "font" | "video" | "audio" | "other";
47+
type: "image" | "font" | "video" | "audio" | "text" | "other";
4848
publicPath: string;
4949
size: number;
5050
mtime: number;
5151
}, {
5252
path: string;
53-
type: "text" | "image" | "font" | "video" | "audio" | "other";
53+
type: "image" | "font" | "video" | "audio" | "text" | "other";
5454
publicPath: string;
5555
size: number;
5656
mtime: number;
@@ -141,13 +141,13 @@ export declare const list: {
141141
args: readonly [];
142142
returns: import("devframe/utils/simple-schema").SimpleSchema<{
143143
path: string;
144-
type: "text" | "image" | "font" | "video" | "audio" | "other";
144+
type: "image" | "font" | "video" | "audio" | "text" | "other";
145145
publicPath: string;
146146
size: number;
147147
mtime: number;
148148
}[], {
149149
path: string;
150-
type: "text" | "image" | "font" | "video" | "audio" | "other";
150+
type: "image" | "font" | "video" | "audio" | "text" | "other";
151151
publicPath: string;
152152
size: number;
153153
mtime: number;
@@ -156,36 +156,36 @@ export declare const list: {
156156
agent?: import("devframe").RpcFunctionAgentOptions;
157157
setup?: ((context: DevframeNodeContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[], import("devframe/rpc").Thenable<{
158158
path: string;
159-
type: "text" | "image" | "font" | "video" | "audio" | "other";
159+
type: "image" | "font" | "video" | "audio" | "text" | "other";
160160
publicPath: string;
161161
size: number;
162162
mtime: number;
163163
}[]>>>) | undefined;
164164
handler?: (() => import("devframe/rpc").Thenable<{
165165
path: string;
166-
type: "text" | "image" | "font" | "video" | "audio" | "other";
166+
type: "image" | "font" | "video" | "audio" | "text" | "other";
167167
publicPath: string;
168168
size: number;
169169
mtime: number;
170170
}[]>) | undefined;
171171
dump?: import("devframe/rpc").RpcDump<[], import("devframe/rpc").Thenable<{
172172
path: string;
173-
type: "text" | "image" | "font" | "video" | "audio" | "other";
173+
type: "image" | "font" | "video" | "audio" | "text" | "other";
174174
publicPath: string;
175175
size: number;
176176
mtime: number;
177177
}[]>, DevframeNodeContext> | undefined;
178178
snapshot?: boolean;
179179
__cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[], import("devframe/rpc").Thenable<{
180180
path: string;
181-
type: "text" | "image" | "font" | "video" | "audio" | "other";
181+
type: "image" | "font" | "video" | "audio" | "text" | "other";
182182
publicPath: string;
183183
size: number;
184184
mtime: number;
185185
}[]>>>> | undefined;
186186
__promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[], import("devframe/rpc").Thenable<{
187187
path: string;
188-
type: "text" | "image" | "font" | "video" | "audio" | "other";
188+
type: "image" | "font" | "video" | "audio" | "text" | "other";
189189
publicPath: string;
190190
size: number;
191191
mtime: number;
@@ -454,13 +454,13 @@ export declare const rename: {
454454
}>];
455455
returns: import("devframe/utils/simple-schema").SimpleSchema<{
456456
path: string;
457-
type: "text" | "image" | "font" | "video" | "audio" | "other";
457+
type: "image" | "font" | "video" | "audio" | "text" | "other";
458458
publicPath: string;
459459
size: number;
460460
mtime: number;
461461
}, {
462462
path: string;
463-
type: "text" | "image" | "font" | "video" | "audio" | "other";
463+
type: "image" | "font" | "video" | "audio" | "text" | "other";
464464
publicPath: string;
465465
size: number;
466466
mtime: number;
@@ -472,7 +472,7 @@ export declare const rename: {
472472
newName: string;
473473
}], import("devframe/rpc").Thenable<{
474474
path: string;
475-
type: "text" | "image" | "font" | "video" | "audio" | "other";
475+
type: "image" | "font" | "video" | "audio" | "text" | "other";
476476
publicPath: string;
477477
size: number;
478478
mtime: number;
@@ -482,7 +482,7 @@ export declare const rename: {
482482
newName: string;
483483
}) => import("devframe/rpc").Thenable<{
484484
path: string;
485-
type: "text" | "image" | "font" | "video" | "audio" | "other";
485+
type: "image" | "font" | "video" | "audio" | "text" | "other";
486486
publicPath: string;
487487
size: number;
488488
mtime: number;
@@ -492,7 +492,7 @@ export declare const rename: {
492492
newName: string;
493493
}], import("devframe/rpc").Thenable<{
494494
path: string;
495-
type: "text" | "image" | "font" | "video" | "audio" | "other";
495+
type: "image" | "font" | "video" | "audio" | "text" | "other";
496496
publicPath: string;
497497
size: number;
498498
mtime: number;
@@ -503,7 +503,7 @@ export declare const rename: {
503503
newName: string;
504504
}], import("devframe/rpc").Thenable<{
505505
path: string;
506-
type: "text" | "image" | "font" | "video" | "audio" | "other";
506+
type: "image" | "font" | "video" | "audio" | "text" | "other";
507507
publicPath: string;
508508
size: number;
509509
mtime: number;
@@ -513,7 +513,7 @@ export declare const rename: {
513513
newName: string;
514514
}], import("devframe/rpc").Thenable<{
515515
path: string;
516-
type: "text" | "image" | "font" | "video" | "audio" | "other";
516+
type: "image" | "font" | "video" | "audio" | "text" | "other";
517517
publicPath: string;
518518
size: number;
519519
mtime: number;

0 commit comments

Comments
 (0)