@superblocksteam/library-shared 2.0.21-next.48 → 2.0.21-next.49
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/types/vite.d.ts +8 -8
- package/dist/types/vite.d.ts.map +1 -1
- package/dist/types/vite.js +1 -1
- package/dist/types/vite.js.map +1 -1
- package/package.json +1 -1
package/dist/types/vite.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const ViteMessageKind: {
|
|
2
2
|
readonly UPDATE_CUSTOM_COMPONENT: "update-custom-component";
|
|
3
3
|
readonly ROUTE_CHANGE: "route-change";
|
|
4
4
|
readonly IMPORT_ERROR: "import-error";
|
|
5
5
|
readonly CLEAR_IMPORT_ERROR: "clear-import-error";
|
|
6
6
|
};
|
|
7
|
-
export type
|
|
7
|
+
export type ViteMessageKind = (typeof ViteMessageKind)[keyof typeof ViteMessageKind];
|
|
8
8
|
export type BaseVitePostMessage = {
|
|
9
|
-
kind:
|
|
9
|
+
kind: ViteMessageKind;
|
|
10
10
|
};
|
|
11
11
|
export type UpdateCustomComponentVitePostMessage = BaseVitePostMessage & {
|
|
12
|
-
kind: typeof
|
|
12
|
+
kind: typeof ViteMessageKind.UPDATE_CUSTOM_COMPONENT;
|
|
13
13
|
component: string;
|
|
14
14
|
};
|
|
15
15
|
export type RouteChangeVitePostMessage = BaseVitePostMessage & {
|
|
16
|
-
kind: typeof
|
|
16
|
+
kind: typeof ViteMessageKind.ROUTE_CHANGE;
|
|
17
17
|
route: string;
|
|
18
18
|
routeTestParams: Record<string, string>;
|
|
19
19
|
};
|
|
20
20
|
export type ImportErrorVitePostMessage = BaseVitePostMessage & {
|
|
21
|
-
kind: typeof
|
|
21
|
+
kind: typeof ViteMessageKind.IMPORT_ERROR;
|
|
22
22
|
importPath: string;
|
|
23
23
|
error: string;
|
|
24
24
|
stack: string;
|
|
25
25
|
};
|
|
26
26
|
export type ClearImportErrorVitePostMessage = BaseVitePostMessage & {
|
|
27
|
-
kind: typeof
|
|
27
|
+
kind: typeof ViteMessageKind.CLEAR_IMPORT_ERROR;
|
|
28
28
|
};
|
|
29
|
-
export type
|
|
29
|
+
export type ViteMessage = UpdateCustomComponentVitePostMessage | RouteChangeVitePostMessage | ImportErrorVitePostMessage | ClearImportErrorVitePostMessage;
|
|
30
30
|
//# sourceMappingURL=vite.d.ts.map
|
package/dist/types/vite.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../../src/types/vite.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../../src/types/vite.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;CAKlB,CAAC;AAEX,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG,mBAAmB,GAAG;IACvE,IAAI,EAAE,OAAO,eAAe,CAAC,uBAAuB,CAAC;IACrD,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,GAAG;IAC7D,IAAI,EAAE,OAAO,eAAe,CAAC,YAAY,CAAC;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,GAAG;IAC7D,IAAI,EAAE,OAAO,eAAe,CAAC,YAAY,CAAC;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG,mBAAmB,GAAG;IAClE,IAAI,EAAE,OAAO,eAAe,CAAC,kBAAkB,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,WAAW,GACnB,oCAAoC,GACpC,0BAA0B,GAC1B,0BAA0B,GAC1B,+BAA+B,CAAC"}
|
package/dist/types/vite.js
CHANGED
package/dist/types/vite.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vite.js","sourceRoot":"","sources":["../../src/types/vite.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"vite.js","sourceRoot":"","sources":["../../src/types/vite.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,uBAAuB,EAAE,yBAAyB;IAClD,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;IAC5B,kBAAkB,EAAE,oBAAoB;CAChC,CAAC"}
|