@followupus/common 0.7.3 → 0.7.5
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/shared/delta.d.ts +42 -2
- package/dist/shared/delta.js +41 -1
- package/package.json +1 -1
package/dist/shared/delta.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare const DELTA_ACTION: {
|
|
|
11
11
|
UPDATE: string;
|
|
12
12
|
CREATE: string;
|
|
13
13
|
};
|
|
14
|
-
export declare const
|
|
14
|
+
export declare const DELTA_ROOT_SCHEMA_NAME: {
|
|
15
15
|
USERS: string;
|
|
16
16
|
BOARDS: string;
|
|
17
17
|
SPACES: string;
|
|
@@ -25,7 +25,7 @@ export interface DeltaObject {
|
|
|
25
25
|
createdAt: string;
|
|
26
26
|
data?: object;
|
|
27
27
|
rootId: string;
|
|
28
|
-
rootType: keyof typeof
|
|
28
|
+
rootType: keyof typeof DELTA_ROOT_SCHEMA_NAME;
|
|
29
29
|
}
|
|
30
30
|
export interface DeltaMessages {
|
|
31
31
|
cmd: string;
|
|
@@ -34,3 +34,43 @@ export interface DeltaMessages {
|
|
|
34
34
|
lastSyncId: number;
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
+
export declare const PREFIX_PK: {
|
|
38
|
+
WORKSPACE: string;
|
|
39
|
+
FOLDER: string;
|
|
40
|
+
BOARD: string;
|
|
41
|
+
GROUP: string;
|
|
42
|
+
ITEM: string;
|
|
43
|
+
DROPDOWN: string;
|
|
44
|
+
AUTOMATION: string;
|
|
45
|
+
AUTOMATION_LOG: string;
|
|
46
|
+
SCHEMA: string;
|
|
47
|
+
DATABASE: string;
|
|
48
|
+
ORG: string;
|
|
49
|
+
AD_GROUP: string;
|
|
50
|
+
USER: string;
|
|
51
|
+
GLOBAL_USER: string;
|
|
52
|
+
LOGIN_ID: string;
|
|
53
|
+
TRACE_ID: string;
|
|
54
|
+
TEMPLATE: string;
|
|
55
|
+
ATTACHMENT: string;
|
|
56
|
+
STORAGE: string;
|
|
57
|
+
PLAYGROUND: string;
|
|
58
|
+
COMMENTS: string;
|
|
59
|
+
ROLE_ID: string;
|
|
60
|
+
ACTIVITY: string;
|
|
61
|
+
LINKED_GROUP: string;
|
|
62
|
+
LINKED_COLUMN: string;
|
|
63
|
+
SHARED_ID: string;
|
|
64
|
+
SHORT_CODE: string;
|
|
65
|
+
NOTE_ID: string;
|
|
66
|
+
FORM_ID: string;
|
|
67
|
+
MESSAGE: string;
|
|
68
|
+
TRASH: string;
|
|
69
|
+
ARCHIVE: string;
|
|
70
|
+
BOARD_VIEW: string;
|
|
71
|
+
VERIFICATION_CODE: string;
|
|
72
|
+
WEB_DOCUMENT: string;
|
|
73
|
+
TIME_TRACKING: string;
|
|
74
|
+
TIME_TRACKING_log: string;
|
|
75
|
+
AI_USER_AGENT: string;
|
|
76
|
+
};
|
package/dist/shared/delta.js
CHANGED
|
@@ -11,8 +11,48 @@ export const DELTA_ACTION = {
|
|
|
11
11
|
UPDATE: "U",
|
|
12
12
|
CREATE: "C",
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const DELTA_ROOT_SCHEMA_NAME = {
|
|
15
15
|
USERS: "USERS",
|
|
16
16
|
BOARDS: "BOARDS",
|
|
17
17
|
SPACES: "SPACES",
|
|
18
18
|
};
|
|
19
|
+
export const PREFIX_PK = {
|
|
20
|
+
WORKSPACE: "WS",
|
|
21
|
+
FOLDER: "FD",
|
|
22
|
+
BOARD: "BD",
|
|
23
|
+
GROUP: "BG",
|
|
24
|
+
ITEM: "IT",
|
|
25
|
+
DROPDOWN: "DD",
|
|
26
|
+
AUTOMATION: "AM",
|
|
27
|
+
AUTOMATION_LOG: "AL",
|
|
28
|
+
SCHEMA: "SC",
|
|
29
|
+
DATABASE: "DB",
|
|
30
|
+
ORG: "OG",
|
|
31
|
+
AD_GROUP: "AD",
|
|
32
|
+
USER: "US",
|
|
33
|
+
GLOBAL_USER: "GU",
|
|
34
|
+
LOGIN_ID: "LI",
|
|
35
|
+
TRACE_ID: "TA",
|
|
36
|
+
TEMPLATE: "TL",
|
|
37
|
+
ATTACHMENT: "AT",
|
|
38
|
+
STORAGE: "SR",
|
|
39
|
+
PLAYGROUND: "PG",
|
|
40
|
+
COMMENTS: "CM",
|
|
41
|
+
ROLE_ID: "RL",
|
|
42
|
+
ACTIVITY: "AC",
|
|
43
|
+
LINKED_GROUP: "LG",
|
|
44
|
+
LINKED_COLUMN: "LC",
|
|
45
|
+
SHARED_ID: "SI",
|
|
46
|
+
SHORT_CODE: "SC",
|
|
47
|
+
NOTE_ID: "NT",
|
|
48
|
+
FORM_ID: "FM",
|
|
49
|
+
MESSAGE: "MS",
|
|
50
|
+
TRASH: "TS",
|
|
51
|
+
ARCHIVE: "AR",
|
|
52
|
+
BOARD_VIEW: "BV",
|
|
53
|
+
VERIFICATION_CODE: "VC",
|
|
54
|
+
WEB_DOCUMENT: "WD",
|
|
55
|
+
TIME_TRACKING: "TT",
|
|
56
|
+
TIME_TRACKING_log: "TG",
|
|
57
|
+
AI_USER_AGENT: "AG",
|
|
58
|
+
};
|