@tramvai/tokens-core 2.40.0 → 2.44.2
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/lib/bundle.d.ts +2 -2
- package/lib/command.d.ts +1 -1
- package/lib/index.d.ts +2 -2
- package/package.json +2 -2
package/lib/bundle.d.ts
CHANGED
|
@@ -7,13 +7,13 @@ export interface BundleOptions {
|
|
|
7
7
|
reducers?: Reducer<any, any>[];
|
|
8
8
|
actions?: PageAction[];
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type BundlePreset = Partial<BundleOptions>;
|
|
11
11
|
export interface Bundle {
|
|
12
12
|
name: string;
|
|
13
13
|
components: BundleOptions['components'];
|
|
14
14
|
actions?: BundleOptions['actions'];
|
|
15
15
|
reducers?: BundleOptions['reducers'];
|
|
16
16
|
}
|
|
17
|
-
export
|
|
17
|
+
export type BundleImport = () => Promise<{
|
|
18
18
|
default: Bundle;
|
|
19
19
|
}>;
|
package/lib/command.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Command = () => any;
|
package/lib/index.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ export interface CommandLine {
|
|
|
15
15
|
lines: CommandLines;
|
|
16
16
|
run(type: keyof CommandLines, status: keyof CommandLineDescription, providers?: Provider[], customDi?: Container): Promise<Container>;
|
|
17
17
|
}
|
|
18
|
-
export
|
|
19
|
-
export
|
|
18
|
+
export type CommandLineDescription = Record<string, MultiTokenInterface<Command>[]>;
|
|
19
|
+
export type CommandLines = {
|
|
20
20
|
server: CommandLineDescription;
|
|
21
21
|
client: CommandLineDescription;
|
|
22
22
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/tokens-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.44.2",
|
|
4
4
|
"description": "Tramvai core tokens",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.es.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"build-for-publish": "true"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@tramvai/types-actions-state-context": "2.
|
|
22
|
+
"@tramvai/types-actions-state-context": "2.44.2"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@tinkoff/dippy": "0.8.9",
|