@vnejs/contracts.controllers.screens.disclaimer 0.0.0-stage → 0.2.8
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/commands.d.ts +11 -0
- package/dist/commands.js +9 -0
- package/dist/const.d.ts +17 -0
- package/dist/const.js +11 -0
- package/dist/events.d.ts +10 -0
- package/dist/events.js +9 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.js +9 -0
- package/dist/params.d.ts +84 -0
- package/dist/params.js +15 -0
- package/dist/payloads.d.ts +10 -0
- package/dist/payloads.js +1 -0
- package/package.json +35 -4
- package/src/commands.ts +14 -0
- package/src/const.ts +15 -0
- package/src/events.ts +11 -0
- package/src/index.ts +47 -0
- package/src/params.ts +22 -0
- package/src/payloads.ts +12 -0
- package/tsconfig.json +9 -0
- package/README.md +0 -3
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Commands owned by plugins.controllers.screens.disclaimer */
|
|
2
|
+
export declare const SCENARIO_COMMANDS: {
|
|
3
|
+
readonly modules: {
|
|
4
|
+
readonly disclaimer: {
|
|
5
|
+
readonly actions: {
|
|
6
|
+
readonly SHOW: "show";
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export type ScenarioCommands = typeof SCENARIO_COMMANDS;
|
package/dist/commands.js
ADDED
package/dist/const.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const EXEC_ACTIONS: {
|
|
2
|
+
readonly SHOW: "show";
|
|
3
|
+
};
|
|
4
|
+
export declare const LOGS_ACTIONS: {
|
|
5
|
+
readonly SHOW: "show";
|
|
6
|
+
readonly ACCEPT: "accept";
|
|
7
|
+
};
|
|
8
|
+
export declare const CONSTANTS: {
|
|
9
|
+
readonly EXEC_ACTIONS: {
|
|
10
|
+
readonly SHOW: "show";
|
|
11
|
+
};
|
|
12
|
+
readonly LOGS_ACTIONS: {
|
|
13
|
+
readonly SHOW: "show";
|
|
14
|
+
readonly ACCEPT: "accept";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export type Constants = typeof CONSTANTS;
|
package/dist/const.js
ADDED
package/dist/events.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const SUBSCRIBE_EVENTS: {
|
|
2
|
+
readonly SHOW: "vne:disclaimer:show";
|
|
3
|
+
readonly HIDE: "vne:disclaimer:hide";
|
|
4
|
+
readonly UPDATE: "vne:disclaimer:update";
|
|
5
|
+
readonly ACCEPT: "vne:disclaimer:accept";
|
|
6
|
+
readonly UPDATE_FAST: "vne:disclaimer:update_fast";
|
|
7
|
+
readonly UPDATE_FORCE: "vne:disclaimer:update_force";
|
|
8
|
+
readonly UPDATE_STATE: "vne:disclaimer:update_state";
|
|
9
|
+
};
|
|
10
|
+
export type SubscribeEvents = typeof SUBSCRIBE_EVENTS;
|
package/dist/events.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export const SUBSCRIBE_EVENTS = {
|
|
2
|
+
SHOW: "vne:disclaimer:show",
|
|
3
|
+
HIDE: "vne:disclaimer:hide",
|
|
4
|
+
UPDATE: "vne:disclaimer:update",
|
|
5
|
+
ACCEPT: "vne:disclaimer:accept",
|
|
6
|
+
UPDATE_FAST: "vne:disclaimer:update_fast",
|
|
7
|
+
UPDATE_FORCE: "vne:disclaimer:update_force",
|
|
8
|
+
UPDATE_STATE: "vne:disclaimer:update_state",
|
|
9
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import "@vnejs/registry";
|
|
2
|
+
import { SCENARIO_COMMANDS } from "./commands.js";
|
|
3
|
+
import { CONSTANTS } from "./const.js";
|
|
4
|
+
import { SUBSCRIBE_EVENTS } from "./events.js";
|
|
5
|
+
import { PARAMS } from "./params.js";
|
|
6
|
+
import type { DisclaimerForcePayload, DisclaimerShowPayload, DisclaimerUpdatePayload } from "./payloads.js";
|
|
7
|
+
export declare const PLUGIN_NAME: "DISCLAIMER";
|
|
8
|
+
export type PluginName = typeof PLUGIN_NAME;
|
|
9
|
+
export { SCENARIO_COMMANDS };
|
|
10
|
+
export type { ScenarioCommands } from "./commands.js";
|
|
11
|
+
export { CONSTANTS, EXEC_ACTIONS, LOGS_ACTIONS } from "./const.js";
|
|
12
|
+
export type { Constants } from "./const.js";
|
|
13
|
+
export { SUBSCRIBE_EVENTS };
|
|
14
|
+
export type { SubscribeEvents } from "./events.js";
|
|
15
|
+
export { PARAMS };
|
|
16
|
+
export type { Params, ViewProps } from "./params.js";
|
|
17
|
+
export type { DisclaimerShowPayload, DisclaimerForcePayload, DisclaimerUpdatePayload } from "./payloads.js";
|
|
18
|
+
declare module "@vnejs/registry" {
|
|
19
|
+
interface VnePluginEventsMap extends Record<typeof PLUGIN_NAME, typeof SUBSCRIBE_EVENTS> {
|
|
20
|
+
}
|
|
21
|
+
interface VnePluginConstantsMap extends Record<typeof PLUGIN_NAME, typeof CONSTANTS> {
|
|
22
|
+
}
|
|
23
|
+
interface VnePluginParamsMap extends Record<typeof PLUGIN_NAME, typeof PARAMS> {
|
|
24
|
+
}
|
|
25
|
+
interface VneEventPayloadMap {
|
|
26
|
+
[SUBSCRIBE_EVENTS.SHOW]: DisclaimerShowPayload;
|
|
27
|
+
[SUBSCRIBE_EVENTS.HIDE]: DisclaimerForcePayload;
|
|
28
|
+
[SUBSCRIBE_EVENTS.UPDATE]: DisclaimerUpdatePayload;
|
|
29
|
+
[SUBSCRIBE_EVENTS.UPDATE_FAST]: DisclaimerUpdatePayload;
|
|
30
|
+
[SUBSCRIBE_EVENTS.UPDATE_FORCE]: DisclaimerUpdatePayload;
|
|
31
|
+
[SUBSCRIBE_EVENTS.UPDATE_STATE]: DisclaimerUpdatePayload;
|
|
32
|
+
[SUBSCRIBE_EVENTS.ACCEPT]: void;
|
|
33
|
+
}
|
|
34
|
+
interface VneEventResultMap {
|
|
35
|
+
[SUBSCRIBE_EVENTS.SHOW]: void;
|
|
36
|
+
[SUBSCRIBE_EVENTS.HIDE]: void;
|
|
37
|
+
[SUBSCRIBE_EVENTS.UPDATE]: void;
|
|
38
|
+
[SUBSCRIBE_EVENTS.UPDATE_FAST]: void;
|
|
39
|
+
[SUBSCRIBE_EVENTS.UPDATE_FORCE]: void;
|
|
40
|
+
[SUBSCRIBE_EVENTS.UPDATE_STATE]: void;
|
|
41
|
+
[SUBSCRIBE_EVENTS.ACCEPT]: void;
|
|
42
|
+
}
|
|
43
|
+
}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "@vnejs/registry";
|
|
2
|
+
import { SCENARIO_COMMANDS } from "./commands.js";
|
|
3
|
+
import { SUBSCRIBE_EVENTS } from "./events.js";
|
|
4
|
+
import { PARAMS } from "./params.js";
|
|
5
|
+
export const PLUGIN_NAME = "DISCLAIMER";
|
|
6
|
+
export { SCENARIO_COMMANDS };
|
|
7
|
+
export { CONSTANTS, EXEC_ACTIONS, LOGS_ACTIONS } from "./const.js";
|
|
8
|
+
export { SUBSCRIBE_EVENTS };
|
|
9
|
+
export { PARAMS };
|
package/dist/params.d.ts
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { PositionBoxProps, WidenViewProps } from "@vnejs/uis.react.position-box";
|
|
2
|
+
export declare const TRANSITION: number;
|
|
3
|
+
export declare const ZINDEX: number;
|
|
4
|
+
export declare const LOC_LABEL: string;
|
|
5
|
+
declare const VIEW_PROPS_DEFAULT: {
|
|
6
|
+
readonly screen: {
|
|
7
|
+
readonly withBlur: true;
|
|
8
|
+
readonly withDark: true;
|
|
9
|
+
readonly zIndex: number;
|
|
10
|
+
readonly transition: number;
|
|
11
|
+
};
|
|
12
|
+
readonly position: PositionBoxProps;
|
|
13
|
+
readonly flex: {
|
|
14
|
+
readonly direction: "column";
|
|
15
|
+
readonly gap: 120;
|
|
16
|
+
};
|
|
17
|
+
readonly flexTexts: {
|
|
18
|
+
readonly direction: "column";
|
|
19
|
+
readonly gap: 60;
|
|
20
|
+
};
|
|
21
|
+
readonly title: {
|
|
22
|
+
readonly size: 96;
|
|
23
|
+
readonly width: 3120;
|
|
24
|
+
readonly align: "center";
|
|
25
|
+
};
|
|
26
|
+
readonly text: {
|
|
27
|
+
readonly size: 72;
|
|
28
|
+
readonly width: 3120;
|
|
29
|
+
readonly align: "center";
|
|
30
|
+
};
|
|
31
|
+
readonly controls: {
|
|
32
|
+
readonly wrapWidth: 3120;
|
|
33
|
+
readonly flexGap: 0;
|
|
34
|
+
readonly flexJustify: "center";
|
|
35
|
+
readonly textSize: 72;
|
|
36
|
+
readonly textWidth: 780;
|
|
37
|
+
readonly textAlign: "center";
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export type ViewProps = WidenViewProps<typeof VIEW_PROPS_DEFAULT>;
|
|
41
|
+
export declare const VIEW_PROPS: ViewProps;
|
|
42
|
+
declare const PARAMS_DEFAULT: {
|
|
43
|
+
TRANSITION: number;
|
|
44
|
+
ZINDEX: number;
|
|
45
|
+
LOC_LABEL: string;
|
|
46
|
+
VIEW_PROPS: {
|
|
47
|
+
screen: {
|
|
48
|
+
withBlur: boolean;
|
|
49
|
+
withDark: boolean;
|
|
50
|
+
zIndex: number;
|
|
51
|
+
transition: number;
|
|
52
|
+
};
|
|
53
|
+
position: PositionBoxProps<unknown>;
|
|
54
|
+
flex: {
|
|
55
|
+
direction: "column";
|
|
56
|
+
gap: number;
|
|
57
|
+
};
|
|
58
|
+
flexTexts: {
|
|
59
|
+
direction: "column";
|
|
60
|
+
gap: number;
|
|
61
|
+
};
|
|
62
|
+
title: {
|
|
63
|
+
size: number;
|
|
64
|
+
width: number;
|
|
65
|
+
align: "center";
|
|
66
|
+
};
|
|
67
|
+
text: {
|
|
68
|
+
size: number;
|
|
69
|
+
width: number;
|
|
70
|
+
align: "center";
|
|
71
|
+
};
|
|
72
|
+
controls: {
|
|
73
|
+
wrapWidth: number;
|
|
74
|
+
flexGap: number;
|
|
75
|
+
flexJustify: "center";
|
|
76
|
+
textSize: number;
|
|
77
|
+
textWidth: number;
|
|
78
|
+
textAlign: "center";
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
export type Params = WidenViewProps<typeof PARAMS_DEFAULT>;
|
|
83
|
+
export declare const PARAMS: Params;
|
|
84
|
+
export {};
|
package/dist/params.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const TRANSITION = 500;
|
|
2
|
+
export const ZINDEX = 3000;
|
|
3
|
+
export const LOC_LABEL = "disclaimer";
|
|
4
|
+
const VIEW_PROPS_DEFAULT = {
|
|
5
|
+
screen: { withBlur: true, withDark: true, zIndex: ZINDEX, transition: TRANSITION },
|
|
6
|
+
position: { isCentered: true },
|
|
7
|
+
flex: { direction: "column", gap: 120 },
|
|
8
|
+
flexTexts: { direction: "column", gap: 60 },
|
|
9
|
+
title: { size: 96, width: 3120, align: "center" },
|
|
10
|
+
text: { size: 72, width: 3120, align: "center" },
|
|
11
|
+
controls: { wrapWidth: 3120, flexGap: 0, flexJustify: "center", textSize: 72, textWidth: 780, textAlign: "center" },
|
|
12
|
+
};
|
|
13
|
+
export const VIEW_PROPS = VIEW_PROPS_DEFAULT;
|
|
14
|
+
const PARAMS_DEFAULT = { TRANSITION, ZINDEX, LOC_LABEL, VIEW_PROPS };
|
|
15
|
+
export const PARAMS = PARAMS_DEFAULT;
|
package/dist/payloads.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vnejs/contracts.controllers.screens.disclaimer",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.8",
|
|
4
|
+
"description": "Contracts for @vnejs/plugins.controllers.screens.disclaimer",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"src",
|
|
18
|
+
"tsconfig.json"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "npx @vnejs/monorepo package",
|
|
22
|
+
"publish:major": "npx @vnejs/monorepo publish major --access public",
|
|
23
|
+
"publish:minor": "npx @vnejs/monorepo publish minor --access public",
|
|
24
|
+
"publish:patch": "npx @vnejs/monorepo publish patch --access public"
|
|
25
|
+
},
|
|
26
|
+
"author": "",
|
|
27
|
+
"license": "ISC",
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"@vnejs/registry": "~0.2.0",
|
|
30
|
+
"@vnejs/uis.react.position-box": "~0.2.0",
|
|
31
|
+
"@vnejs/contracts.core.scenario": "~0.2.0"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@vnejs/configs.ts-common": "~0.2.0",
|
|
35
|
+
"@vnejs/contracts.core.scenario": "~0.2.0"
|
|
36
|
+
}
|
|
37
|
+
}
|
package/src/commands.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ScenarioCommandsManifest } from "@vnejs/contracts.core.scenario";
|
|
2
|
+
|
|
3
|
+
import { EXEC_ACTIONS } from "./const.js";
|
|
4
|
+
|
|
5
|
+
/** Commands owned by plugins.controllers.screens.disclaimer */
|
|
6
|
+
export const SCENARIO_COMMANDS = {
|
|
7
|
+
modules: {
|
|
8
|
+
disclaimer: {
|
|
9
|
+
actions: EXEC_ACTIONS,
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
} as const satisfies ScenarioCommandsManifest;
|
|
13
|
+
|
|
14
|
+
export type ScenarioCommands = typeof SCENARIO_COMMANDS;
|
package/src/const.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const EXEC_ACTIONS = {
|
|
2
|
+
SHOW: "show",
|
|
3
|
+
} as const;
|
|
4
|
+
|
|
5
|
+
export const LOGS_ACTIONS = {
|
|
6
|
+
SHOW: "show",
|
|
7
|
+
ACCEPT: "accept",
|
|
8
|
+
} as const;
|
|
9
|
+
|
|
10
|
+
export const CONSTANTS = {
|
|
11
|
+
EXEC_ACTIONS,
|
|
12
|
+
LOGS_ACTIONS,
|
|
13
|
+
} as const;
|
|
14
|
+
|
|
15
|
+
export type Constants = typeof CONSTANTS;
|
package/src/events.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export const SUBSCRIBE_EVENTS = {
|
|
2
|
+
SHOW: "vne:disclaimer:show",
|
|
3
|
+
HIDE: "vne:disclaimer:hide",
|
|
4
|
+
UPDATE: "vne:disclaimer:update",
|
|
5
|
+
ACCEPT: "vne:disclaimer:accept",
|
|
6
|
+
UPDATE_FAST: "vne:disclaimer:update_fast",
|
|
7
|
+
UPDATE_FORCE: "vne:disclaimer:update_force",
|
|
8
|
+
UPDATE_STATE: "vne:disclaimer:update_state",
|
|
9
|
+
} as const;
|
|
10
|
+
|
|
11
|
+
export type SubscribeEvents = typeof SUBSCRIBE_EVENTS;
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import "@vnejs/registry";
|
|
2
|
+
|
|
3
|
+
import { SCENARIO_COMMANDS } from "./commands.js";
|
|
4
|
+
import { CONSTANTS } from "./const.js";
|
|
5
|
+
import { SUBSCRIBE_EVENTS } from "./events.js";
|
|
6
|
+
import { PARAMS } from "./params.js";
|
|
7
|
+
import type { DisclaimerForcePayload, DisclaimerShowPayload, DisclaimerUpdatePayload } from "./payloads.js";
|
|
8
|
+
|
|
9
|
+
export const PLUGIN_NAME = "DISCLAIMER" as const;
|
|
10
|
+
export type PluginName = typeof PLUGIN_NAME;
|
|
11
|
+
|
|
12
|
+
export { SCENARIO_COMMANDS };
|
|
13
|
+
export type { ScenarioCommands } from "./commands.js";
|
|
14
|
+
export { CONSTANTS, EXEC_ACTIONS, LOGS_ACTIONS } from "./const.js";
|
|
15
|
+
export type { Constants } from "./const.js";
|
|
16
|
+
export { SUBSCRIBE_EVENTS };
|
|
17
|
+
export type { SubscribeEvents } from "./events.js";
|
|
18
|
+
export { PARAMS };
|
|
19
|
+
export type { Params, ViewProps } from "./params.js";
|
|
20
|
+
|
|
21
|
+
export type { DisclaimerShowPayload, DisclaimerForcePayload, DisclaimerUpdatePayload } from "./payloads.js";
|
|
22
|
+
|
|
23
|
+
declare module "@vnejs/registry" {
|
|
24
|
+
interface VnePluginEventsMap extends Record<typeof PLUGIN_NAME, typeof SUBSCRIBE_EVENTS> {}
|
|
25
|
+
interface VnePluginConstantsMap extends Record<typeof PLUGIN_NAME, typeof CONSTANTS> {}
|
|
26
|
+
interface VnePluginParamsMap extends Record<typeof PLUGIN_NAME, typeof PARAMS> {}
|
|
27
|
+
|
|
28
|
+
interface VneEventPayloadMap {
|
|
29
|
+
[SUBSCRIBE_EVENTS.SHOW]: DisclaimerShowPayload;
|
|
30
|
+
[SUBSCRIBE_EVENTS.HIDE]: DisclaimerForcePayload;
|
|
31
|
+
[SUBSCRIBE_EVENTS.UPDATE]: DisclaimerUpdatePayload;
|
|
32
|
+
[SUBSCRIBE_EVENTS.UPDATE_FAST]: DisclaimerUpdatePayload;
|
|
33
|
+
[SUBSCRIBE_EVENTS.UPDATE_FORCE]: DisclaimerUpdatePayload;
|
|
34
|
+
[SUBSCRIBE_EVENTS.UPDATE_STATE]: DisclaimerUpdatePayload;
|
|
35
|
+
[SUBSCRIBE_EVENTS.ACCEPT]: void;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
interface VneEventResultMap {
|
|
39
|
+
[SUBSCRIBE_EVENTS.SHOW]: void;
|
|
40
|
+
[SUBSCRIBE_EVENTS.HIDE]: void;
|
|
41
|
+
[SUBSCRIBE_EVENTS.UPDATE]: void;
|
|
42
|
+
[SUBSCRIBE_EVENTS.UPDATE_FAST]: void;
|
|
43
|
+
[SUBSCRIBE_EVENTS.UPDATE_FORCE]: void;
|
|
44
|
+
[SUBSCRIBE_EVENTS.UPDATE_STATE]: void;
|
|
45
|
+
[SUBSCRIBE_EVENTS.ACCEPT]: void;
|
|
46
|
+
}
|
|
47
|
+
}
|
package/src/params.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { PositionBoxProps, WidenViewProps } from "@vnejs/uis.react.position-box";
|
|
2
|
+
|
|
3
|
+
export const TRANSITION: number = 500;
|
|
4
|
+
export const ZINDEX: number = 3000;
|
|
5
|
+
export const LOC_LABEL: string = "disclaimer";
|
|
6
|
+
|
|
7
|
+
const VIEW_PROPS_DEFAULT = {
|
|
8
|
+
screen: { withBlur: true, withDark: true, zIndex: ZINDEX, transition: TRANSITION },
|
|
9
|
+
position: { isCentered: true } as PositionBoxProps,
|
|
10
|
+
flex: { direction: "column" as const, gap: 120 },
|
|
11
|
+
flexTexts: { direction: "column" as const, gap: 60 },
|
|
12
|
+
title: { size: 96, width: 3120, align: "center" as const },
|
|
13
|
+
text: { size: 72, width: 3120, align: "center" as const },
|
|
14
|
+
controls: { wrapWidth: 3120, flexGap: 0, flexJustify: "center" as const, textSize: 72, textWidth: 780, textAlign: "center" as const },
|
|
15
|
+
} as const;
|
|
16
|
+
|
|
17
|
+
export type ViewProps = WidenViewProps<typeof VIEW_PROPS_DEFAULT>;
|
|
18
|
+
export const VIEW_PROPS: ViewProps = VIEW_PROPS_DEFAULT;
|
|
19
|
+
|
|
20
|
+
const PARAMS_DEFAULT = { TRANSITION, ZINDEX, LOC_LABEL, VIEW_PROPS };
|
|
21
|
+
export type Params = WidenViewProps<typeof PARAMS_DEFAULT>;
|
|
22
|
+
export const PARAMS: Params = PARAMS_DEFAULT;
|
package/src/payloads.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type DisclaimerShowPayload = {
|
|
2
|
+
id?: string;
|
|
3
|
+
isForce?: boolean;
|
|
4
|
+
onClose?: () => void;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export type DisclaimerForcePayload = {
|
|
8
|
+
isForce?: boolean;
|
|
9
|
+
onClose?: () => void;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export type DisclaimerUpdatePayload = Record<string, unknown>;
|
package/tsconfig.json
ADDED
package/README.md
DELETED