Skip to content

Commit 2838098

Browse files
committed
chore: fix snapshot
1 parent bb83040 commit 2838098

4 files changed

Lines changed: 10 additions & 1 deletion

File tree

tests/__snapshots__/tsnapi/devframe/constants.snapshot.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export declare const DEVFRAME_CONNECTION_META_FILENAME: string;
1313
export declare const DEVFRAME_DOCK_IMPORTS_FILENAME: string;
1414
export declare const DEVFRAME_MCP_ROUTE: string;
1515
export declare const DEVFRAME_OTP_URL_PARAM: string;
16+
export declare const DEVFRAME_REMOTE_ASSETS_ERROR_MESSAGE_TYPE: string;
1617
export declare const DEVFRAME_RPC_DUMP_DIRNAME: string;
1718
export declare const DEVFRAME_RPC_DUMP_MANIFEST_FILENAME: string;
1819
export declare const DEVFRAME_SSE_ROUTE: string;

tests/__snapshots__/tsnapi/devframe/constants.snapshot.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export var DEVFRAME_CONNECTION_META_FILENAME /* const */
1313
export var DEVFRAME_DOCK_IMPORTS_FILENAME /* const */
1414
export var DEVFRAME_MCP_ROUTE /* const */
1515
export var DEVFRAME_OTP_URL_PARAM /* const */
16+
export var DEVFRAME_REMOTE_ASSETS_ERROR_MESSAGE_TYPE /* const */
1617
export var DEVFRAME_RPC_DUMP_DIRNAME /* const */
1718
export var DEVFRAME_RPC_DUMP_MANIFEST_FILENAME /* const */
1819
export var DEVFRAME_SSE_ROUTE /* const */

tests/__snapshots__/tsnapi/devframe/index.snapshot.d.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,16 @@ export interface RemoteAssets {
356356
version: string;
357357
path?: string;
358358
provider?: RemoteAssetsProvider;
359-
resolveFrom?: string;
359+
resolveFrom?: string | null;
360360
fetch?: typeof globalThis.fetch;
361361
offline?: boolean;
362362
}
363+
export interface RemoteAssetsErrorMessage {
364+
type: 'devframe:remote-assets-error';
365+
package: string;
366+
version: string;
367+
reason: string;
368+
}
363369
export interface RemoteAssetsProviderCustom {
364370
fileUrl: (_: string, _: string, _: string) => string;
365371
listFiles?: (_: string, _: string, _: typeof globalThis.fetch) => Promise<string[]>;

tests/__snapshots__/tsnapi/devframe/types.snapshot.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export { EventsMap }
5656
export { EventUnsubscribe }
5757
export { McpRouteOptions }
5858
export { RemoteAssets }
59+
export { RemoteAssetsErrorMessage }
5960
export { RemoteAssetsProvider }
6061
export { RemoteAssetsProviderCustom }
6162
export { RemoteAssetsStore }

0 commit comments

Comments
 (0)