work-workflow-test 0.0.1
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/README.md +93 -0
- package/dist/arrow.svg +3 -0
- package/dist/back_button.svg +10 -0
- package/dist/delete.svg +8 -0
- package/dist/doworks_icon.svg +4 -0
- package/dist/index.css +1 -0
- package/dist/tick_circle.svg +4 -0
- package/dist/vector.svg +9 -0
- package/dist/vite.svg +1 -0
- package/dist/workflow.es.js +21207 -0
- package/dist/workflow.umd.js +187 -0
- package/package.json +86 -0
- package/types/App.d.ts +0 -0
- package/types/Backup.d.ts +0 -0
- package/types/components/Automation/AutoComp.d.ts +2 -0
- package/types/components/Automation/Automation.d.ts +8 -0
- package/types/components/Automation/ListOfAutomation.d.ts +2 -0
- package/types/components/Automation/index.d.ts +3 -0
- package/types/components/Automation/types.d.ts +6 -0
- package/types/components/AutomationBage/index.d.ts +2 -0
- package/types/components/Condition/constants.d.ts +395 -0
- package/types/components/Condition/index.d.ts +2 -0
- package/types/components/CustomEdge/CustomEdge.d.ts +2 -0
- package/types/components/CustomNode/FieldNode.d.ts +3 -0
- package/types/components/CustomNode/OptionFieldNode.d.ts +2 -0
- package/types/components/Form/MoveRecordToWork.d.ts +10 -0
- package/types/components/Form/MultiSelectWithSearch.d.ts +3 -0
- package/types/components/Form/Notification.d.ts +2 -0
- package/types/components/Form/NotificationUser.d.ts +2 -0
- package/types/components/Form/OwnerList.d.ts +8 -0
- package/types/components/Form/WorkspaceDroopdown.d.ts +2 -0
- package/types/components/Form/multi-user-field.d.ts +11 -0
- package/types/components/Form/query.d.ts +4 -0
- package/types/components/Sections/ConfigAutoSection.d.ts +3 -0
- package/types/components/Sections/Configuration.d.ts +8 -0
- package/types/components/Sections/index.d.ts +3 -0
- package/types/components/Sections/types.d.ts +19 -0
- package/types/components/WorkflowCanvas/WorkflowCanvas.d.ts +9 -0
- package/types/components/WorkflowCanvas/WorkflowCanvas.stories.d.ts +6 -0
- package/types/components/WorkflowCanvas/index.d.ts +22 -0
- package/types/components/WorkflowModal/FlowCanvas.d.ts +11 -0
- package/types/components/WorkflowModal/FlowEdgeDrawer.d.ts +3 -0
- package/types/components/WorkflowModal/constants.d.ts +428 -0
- package/types/components/WorkflowModal/index.d.ts +3 -0
- package/types/components/WorkflowModal/services.d.ts +4 -0
- package/types/components/WorkflowModal/types.d.ts +51 -0
- package/types/config/index.d.ts +16 -0
- package/types/constants/apiRoutes.d.ts +118 -0
- package/types/constants/common.d.ts +798 -0
- package/types/constants/emailApiRoutes.d.ts +18 -0
- package/types/constants/enum.d.ts +22 -0
- package/types/constants/index.d.ts +5 -0
- package/types/constants/regex.d.ts +45 -0
- package/types/constants/routes.d.ts +12 -0
- package/types/constants/theme.d.ts +88 -0
- package/types/context/AppContext.d.ts +2 -0
- package/types/context/AppProvider.d.ts +2 -0
- package/types/index.d.ts +4 -0
- package/types/main.d.ts +0 -0
- package/types/services/api/api.d.ts +18 -0
- package/types/services/api/api.service.d.ts +18 -0
- package/types/services/api/database.d.ts +9 -0
- package/types/services/aws/aws-exports.d.ts +17 -0
- package/types/services/aws/aws-helpers.d.ts +21 -0
- package/types/services/aws/aws-services.d.ts +22 -0
- package/types/services/common.service.d.ts +6 -0
- package/types/services/graphql-client.d.ts +9 -0
- package/types/services/helper/service.d.ts +1 -0
- package/types/services/lodash.service.d.ts +30 -0
- package/types/stories/Button.d.ts +15 -0
- package/types/stories/Button.stories.d.ts +23 -0
- package/types/stories/Header.d.ts +12 -0
- package/types/stories/Header.stories.d.ts +18 -0
- package/types/stories/Page.d.ts +3 -0
- package/types/stories/Page.stories.d.ts +12 -0
- package/types/types/common.d.ts +9 -0
- package/types/utils/errorMessage.d.ts +38 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface EdgeData {
|
|
2
|
+
sourceLabel: string;
|
|
3
|
+
targetLabel: string;
|
|
4
|
+
sourceColor: string;
|
|
5
|
+
targetColor: string;
|
|
6
|
+
permission: string[];
|
|
7
|
+
requiredColumns: string[];
|
|
8
|
+
condition: string;
|
|
9
|
+
}
|
|
10
|
+
declare const FlowCanvas: ({ setEdges, nodes, edges, onNodesChange, onEdgesChange, }: any) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default FlowCanvas;
|
|
@@ -0,0 +1,428 @@
|
|
|
1
|
+
export declare const selectFieldId = "e6077294af434793aa036c73337f0163";
|
|
2
|
+
export declare const datasetId = "557465b7fd9244849f00076491369c84";
|
|
3
|
+
export declare const stageInput: {
|
|
4
|
+
key: string;
|
|
5
|
+
value: string;
|
|
6
|
+
statusColor: string;
|
|
7
|
+
}[];
|
|
8
|
+
export declare const clo: ({
|
|
9
|
+
field: {
|
|
10
|
+
id: string;
|
|
11
|
+
isActive: boolean;
|
|
12
|
+
isDeleted: boolean;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
fieldDisplayName: string;
|
|
16
|
+
fieldInternalName: string;
|
|
17
|
+
datasetName: string;
|
|
18
|
+
sensitive: boolean;
|
|
19
|
+
hidden: boolean;
|
|
20
|
+
isHideField: boolean;
|
|
21
|
+
dataType: string;
|
|
22
|
+
isRequired: boolean;
|
|
23
|
+
isUnique: boolean;
|
|
24
|
+
isAssociatedField: boolean;
|
|
25
|
+
isSystemDefined: boolean;
|
|
26
|
+
isImmutable: boolean;
|
|
27
|
+
isPrimaryField: boolean;
|
|
28
|
+
isSelected: boolean;
|
|
29
|
+
isSortable: boolean;
|
|
30
|
+
sortOrder: string;
|
|
31
|
+
createdBy: string;
|
|
32
|
+
updatedBy: null;
|
|
33
|
+
deletedBy: null;
|
|
34
|
+
CreatedById: string;
|
|
35
|
+
deletedAt: null;
|
|
36
|
+
prefix: string;
|
|
37
|
+
postfix: string;
|
|
38
|
+
value: {
|
|
39
|
+
key: string;
|
|
40
|
+
value: string;
|
|
41
|
+
}[];
|
|
42
|
+
columnWidth: null;
|
|
43
|
+
toggleState: null;
|
|
44
|
+
workflow: null;
|
|
45
|
+
name: string;
|
|
46
|
+
internalName: string;
|
|
47
|
+
isAssociated: boolean;
|
|
48
|
+
type: string;
|
|
49
|
+
};
|
|
50
|
+
group: {
|
|
51
|
+
id: string;
|
|
52
|
+
datasetName: string;
|
|
53
|
+
groupName: string;
|
|
54
|
+
};
|
|
55
|
+
position: number;
|
|
56
|
+
isSelected: boolean;
|
|
57
|
+
isPrimaryField: boolean;
|
|
58
|
+
isDeleted: boolean;
|
|
59
|
+
isAssociated: boolean;
|
|
60
|
+
datasetName: string;
|
|
61
|
+
datasetId: string;
|
|
62
|
+
isRequired: boolean;
|
|
63
|
+
isImmutable: boolean;
|
|
64
|
+
} | {
|
|
65
|
+
field: {
|
|
66
|
+
id: string;
|
|
67
|
+
isActive: boolean;
|
|
68
|
+
isDeleted: boolean;
|
|
69
|
+
createdAt: string;
|
|
70
|
+
updatedAt: string;
|
|
71
|
+
fieldDisplayName: string;
|
|
72
|
+
fieldInternalName: string;
|
|
73
|
+
datasetName: string;
|
|
74
|
+
sensitive: boolean;
|
|
75
|
+
hidden: boolean;
|
|
76
|
+
isHideField: boolean;
|
|
77
|
+
dataType: string;
|
|
78
|
+
isRequired: boolean;
|
|
79
|
+
isUnique: boolean;
|
|
80
|
+
isAssociatedField: boolean;
|
|
81
|
+
isSystemDefined: boolean;
|
|
82
|
+
isImmutable: boolean;
|
|
83
|
+
isPrimaryField: boolean;
|
|
84
|
+
isSelected: boolean;
|
|
85
|
+
isSortable: boolean;
|
|
86
|
+
sortOrder: string;
|
|
87
|
+
createdBy: string;
|
|
88
|
+
updatedBy: null;
|
|
89
|
+
deletedBy: null;
|
|
90
|
+
CreatedById: string;
|
|
91
|
+
deletedAt: null;
|
|
92
|
+
prefix: string;
|
|
93
|
+
postfix: string;
|
|
94
|
+
value: {
|
|
95
|
+
key: string;
|
|
96
|
+
value: string;
|
|
97
|
+
statusColor: null;
|
|
98
|
+
}[];
|
|
99
|
+
columnWidth: null;
|
|
100
|
+
toggleState: null;
|
|
101
|
+
workflow: null;
|
|
102
|
+
name: string;
|
|
103
|
+
internalName: string;
|
|
104
|
+
isAssociated: boolean;
|
|
105
|
+
type: string;
|
|
106
|
+
};
|
|
107
|
+
group: {
|
|
108
|
+
id: string;
|
|
109
|
+
datasetName: string;
|
|
110
|
+
groupName: string;
|
|
111
|
+
};
|
|
112
|
+
position: number;
|
|
113
|
+
isSelected: boolean;
|
|
114
|
+
isPrimaryField: boolean;
|
|
115
|
+
isDeleted: boolean;
|
|
116
|
+
isAssociated: boolean;
|
|
117
|
+
datasetName: string;
|
|
118
|
+
datasetId: string;
|
|
119
|
+
isRequired: boolean;
|
|
120
|
+
isImmutable: boolean;
|
|
121
|
+
} | {
|
|
122
|
+
field: {
|
|
123
|
+
id: string;
|
|
124
|
+
isActive: boolean;
|
|
125
|
+
isDeleted: boolean;
|
|
126
|
+
createdAt: string;
|
|
127
|
+
updatedAt: string;
|
|
128
|
+
fieldDisplayName: string;
|
|
129
|
+
fieldInternalName: string;
|
|
130
|
+
datasetName: string;
|
|
131
|
+
sensitive: boolean;
|
|
132
|
+
hidden: boolean;
|
|
133
|
+
isHideField: boolean;
|
|
134
|
+
dataType: string;
|
|
135
|
+
isRequired: boolean;
|
|
136
|
+
isUnique: boolean;
|
|
137
|
+
isAssociatedField: boolean;
|
|
138
|
+
isSystemDefined: boolean;
|
|
139
|
+
isImmutable: boolean;
|
|
140
|
+
isPrimaryField: boolean;
|
|
141
|
+
isSelected: boolean;
|
|
142
|
+
isSortable: boolean;
|
|
143
|
+
sortOrder: string;
|
|
144
|
+
createdBy: string;
|
|
145
|
+
updatedBy: null;
|
|
146
|
+
deletedBy: null;
|
|
147
|
+
CreatedById: string;
|
|
148
|
+
deletedAt: null;
|
|
149
|
+
prefix: null;
|
|
150
|
+
postfix: null;
|
|
151
|
+
value: {
|
|
152
|
+
key: string;
|
|
153
|
+
value: string;
|
|
154
|
+
statusColor: string;
|
|
155
|
+
}[];
|
|
156
|
+
columnWidth: null;
|
|
157
|
+
toggleState: boolean;
|
|
158
|
+
workflow: null;
|
|
159
|
+
name: string;
|
|
160
|
+
internalName: string;
|
|
161
|
+
isAssociated: boolean;
|
|
162
|
+
type: string;
|
|
163
|
+
};
|
|
164
|
+
group: {
|
|
165
|
+
id: string;
|
|
166
|
+
datasetName: string;
|
|
167
|
+
groupName: string;
|
|
168
|
+
};
|
|
169
|
+
position: number;
|
|
170
|
+
isSelected: boolean;
|
|
171
|
+
isPrimaryField: boolean;
|
|
172
|
+
isDeleted: boolean;
|
|
173
|
+
isAssociated: boolean;
|
|
174
|
+
datasetName: string;
|
|
175
|
+
datasetId: string;
|
|
176
|
+
isRequired: boolean;
|
|
177
|
+
isImmutable: boolean;
|
|
178
|
+
} | {
|
|
179
|
+
field: {
|
|
180
|
+
id: string;
|
|
181
|
+
isActive: boolean;
|
|
182
|
+
isDeleted: boolean;
|
|
183
|
+
createdAt: string;
|
|
184
|
+
updatedAt: string;
|
|
185
|
+
fieldDisplayName: string;
|
|
186
|
+
fieldInternalName: string;
|
|
187
|
+
datasetName: string;
|
|
188
|
+
sensitive: boolean;
|
|
189
|
+
hidden: boolean;
|
|
190
|
+
isHideField: boolean;
|
|
191
|
+
dataType: string;
|
|
192
|
+
isRequired: boolean;
|
|
193
|
+
isUnique: boolean;
|
|
194
|
+
isAssociatedField: boolean;
|
|
195
|
+
isSystemDefined: boolean;
|
|
196
|
+
isImmutable: boolean;
|
|
197
|
+
isPrimaryField: boolean;
|
|
198
|
+
isSelected: boolean;
|
|
199
|
+
isSortable: boolean;
|
|
200
|
+
sortOrder: string;
|
|
201
|
+
createdBy: string;
|
|
202
|
+
updatedBy: null;
|
|
203
|
+
deletedBy: null;
|
|
204
|
+
CreatedById: string;
|
|
205
|
+
deletedAt: null;
|
|
206
|
+
prefix: null;
|
|
207
|
+
postfix: null;
|
|
208
|
+
value: never[];
|
|
209
|
+
columnWidth: null;
|
|
210
|
+
toggleState: null;
|
|
211
|
+
workflow: null;
|
|
212
|
+
name: string;
|
|
213
|
+
internalName: string;
|
|
214
|
+
isAssociated: boolean;
|
|
215
|
+
type: string;
|
|
216
|
+
};
|
|
217
|
+
group: {
|
|
218
|
+
id: string;
|
|
219
|
+
datasetName: string;
|
|
220
|
+
groupName: string;
|
|
221
|
+
};
|
|
222
|
+
position: number;
|
|
223
|
+
isSelected: boolean;
|
|
224
|
+
isPrimaryField: boolean;
|
|
225
|
+
isDeleted: boolean;
|
|
226
|
+
isAssociated: boolean;
|
|
227
|
+
datasetName: string;
|
|
228
|
+
datasetId: string;
|
|
229
|
+
isRequired: boolean;
|
|
230
|
+
isImmutable: boolean;
|
|
231
|
+
})[];
|
|
232
|
+
export declare const exampleData: any;
|
|
233
|
+
export declare const acceptedUser: {
|
|
234
|
+
id: string;
|
|
235
|
+
firstName: string;
|
|
236
|
+
lastName: string;
|
|
237
|
+
name: string;
|
|
238
|
+
email: string;
|
|
239
|
+
teamId: null;
|
|
240
|
+
privilege: never[];
|
|
241
|
+
teamName: null;
|
|
242
|
+
roleName: string;
|
|
243
|
+
picture: string;
|
|
244
|
+
timeZone: string;
|
|
245
|
+
language: string;
|
|
246
|
+
dateFormat: null;
|
|
247
|
+
timeFormat: null;
|
|
248
|
+
weekStartsOn: string;
|
|
249
|
+
}[];
|
|
250
|
+
export declare const validateUser: {
|
|
251
|
+
id: string;
|
|
252
|
+
firstName: string;
|
|
253
|
+
lastName: string;
|
|
254
|
+
email: string;
|
|
255
|
+
picture: string;
|
|
256
|
+
isDeleted: boolean;
|
|
257
|
+
preferredLanguage: string;
|
|
258
|
+
preferredCharacterFormat: string;
|
|
259
|
+
organisation: {
|
|
260
|
+
id: string;
|
|
261
|
+
isDeleted: boolean;
|
|
262
|
+
createdAt: string;
|
|
263
|
+
updatedAt: string;
|
|
264
|
+
orgName: string;
|
|
265
|
+
orgOwner: string;
|
|
266
|
+
orgLogo: null;
|
|
267
|
+
};
|
|
268
|
+
timeZone: string;
|
|
269
|
+
currencyFormat: string;
|
|
270
|
+
pageLimit: string;
|
|
271
|
+
countryCode: null;
|
|
272
|
+
phoneNumber: string;
|
|
273
|
+
createdAt: string;
|
|
274
|
+
integration: {
|
|
275
|
+
id: string;
|
|
276
|
+
isDeleted: boolean;
|
|
277
|
+
createdAt: string;
|
|
278
|
+
updatedAt: string;
|
|
279
|
+
googleEmailLinked: boolean;
|
|
280
|
+
googleCalendarLinked: boolean;
|
|
281
|
+
googleDriveLinked: boolean;
|
|
282
|
+
googleImage: null;
|
|
283
|
+
googlePersonEmail: null;
|
|
284
|
+
googleRT: null;
|
|
285
|
+
slackLinked: boolean;
|
|
286
|
+
slackId: null;
|
|
287
|
+
slackRT: null;
|
|
288
|
+
};
|
|
289
|
+
updatedAt: string;
|
|
290
|
+
userId: string;
|
|
291
|
+
language: string;
|
|
292
|
+
dateFormat: null;
|
|
293
|
+
timeFormat: null;
|
|
294
|
+
weekStartsOn: string;
|
|
295
|
+
defaultWorkspace: {
|
|
296
|
+
id: number;
|
|
297
|
+
name: string;
|
|
298
|
+
isDefaultWorkspace: boolean;
|
|
299
|
+
createdBy: string;
|
|
300
|
+
};
|
|
301
|
+
userWorkspaceCount: number;
|
|
302
|
+
isCalendarConnected: boolean;
|
|
303
|
+
googleCalendarEmail: string;
|
|
304
|
+
googleCalendarRefreshToken: null;
|
|
305
|
+
roles: {
|
|
306
|
+
roleName: string;
|
|
307
|
+
privileges: {
|
|
308
|
+
accounts: {
|
|
309
|
+
roles: {
|
|
310
|
+
edit: boolean;
|
|
311
|
+
view: boolean;
|
|
312
|
+
create: boolean;
|
|
313
|
+
delete: boolean;
|
|
314
|
+
};
|
|
315
|
+
teams: {
|
|
316
|
+
edit: boolean;
|
|
317
|
+
view: boolean;
|
|
318
|
+
create: boolean;
|
|
319
|
+
delete: boolean;
|
|
320
|
+
};
|
|
321
|
+
users: {
|
|
322
|
+
edit: boolean;
|
|
323
|
+
view: boolean;
|
|
324
|
+
create: boolean;
|
|
325
|
+
delete: boolean;
|
|
326
|
+
};
|
|
327
|
+
works: {
|
|
328
|
+
edit: boolean;
|
|
329
|
+
view: boolean;
|
|
330
|
+
create: boolean;
|
|
331
|
+
delete: boolean;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
datasets: {
|
|
335
|
+
"515490b533104d20bf02adb6960c7d30": {
|
|
336
|
+
edit: string;
|
|
337
|
+
view: string;
|
|
338
|
+
boards: {
|
|
339
|
+
edit: boolean;
|
|
340
|
+
view: boolean;
|
|
341
|
+
create: boolean;
|
|
342
|
+
delete: boolean;
|
|
343
|
+
};
|
|
344
|
+
records: {
|
|
345
|
+
export: boolean;
|
|
346
|
+
import: boolean;
|
|
347
|
+
bulkEditDelete: boolean;
|
|
348
|
+
};
|
|
349
|
+
settings: {
|
|
350
|
+
edit: boolean;
|
|
351
|
+
view: boolean;
|
|
352
|
+
create: boolean;
|
|
353
|
+
delete: boolean;
|
|
354
|
+
};
|
|
355
|
+
communicate: string;
|
|
356
|
+
"fields & groups": {
|
|
357
|
+
edit: boolean;
|
|
358
|
+
view: boolean;
|
|
359
|
+
create: boolean;
|
|
360
|
+
delete: boolean;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
cd872bd575ff4fa5828fa5441689563a: {
|
|
364
|
+
edit: string;
|
|
365
|
+
view: string;
|
|
366
|
+
boards: {
|
|
367
|
+
edit: boolean;
|
|
368
|
+
view: boolean;
|
|
369
|
+
create: boolean;
|
|
370
|
+
delete: boolean;
|
|
371
|
+
};
|
|
372
|
+
records: {
|
|
373
|
+
export: boolean;
|
|
374
|
+
import: boolean;
|
|
375
|
+
bulkEditDelete: boolean;
|
|
376
|
+
};
|
|
377
|
+
settings: {
|
|
378
|
+
edit: boolean;
|
|
379
|
+
view: boolean;
|
|
380
|
+
create: boolean;
|
|
381
|
+
delete: boolean;
|
|
382
|
+
};
|
|
383
|
+
communicate: string;
|
|
384
|
+
"fields & groups": {
|
|
385
|
+
edit: boolean;
|
|
386
|
+
view: boolean;
|
|
387
|
+
create: boolean;
|
|
388
|
+
delete: boolean;
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
fdab6b1180044555ac9751c1c79821e9: {
|
|
392
|
+
edit: string;
|
|
393
|
+
view: string;
|
|
394
|
+
boards: {
|
|
395
|
+
edit: boolean;
|
|
396
|
+
view: boolean;
|
|
397
|
+
create: boolean;
|
|
398
|
+
delete: boolean;
|
|
399
|
+
};
|
|
400
|
+
records: {
|
|
401
|
+
export: boolean;
|
|
402
|
+
import: boolean;
|
|
403
|
+
bulkEditDelete: boolean;
|
|
404
|
+
};
|
|
405
|
+
settings: {
|
|
406
|
+
edit: boolean;
|
|
407
|
+
view: boolean;
|
|
408
|
+
create: boolean;
|
|
409
|
+
delete: boolean;
|
|
410
|
+
};
|
|
411
|
+
communicate: string;
|
|
412
|
+
"fields & groups": {
|
|
413
|
+
edit: boolean;
|
|
414
|
+
view: boolean;
|
|
415
|
+
create: boolean;
|
|
416
|
+
delete: boolean;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
|
+
isCustomPrivileges: boolean;
|
|
422
|
+
};
|
|
423
|
+
team: null;
|
|
424
|
+
passwordLastUpdatedAt: string;
|
|
425
|
+
googleCalendarImage: string;
|
|
426
|
+
name: string;
|
|
427
|
+
isWorkspaceComplete: boolean;
|
|
428
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { Edge } from "reactflow";
|
|
2
|
+
import type { SelectIdTypes } from "../../constants";
|
|
3
|
+
export interface Stage {
|
|
4
|
+
id: string;
|
|
5
|
+
key: string;
|
|
6
|
+
value: string;
|
|
7
|
+
statusColor: string;
|
|
8
|
+
}
|
|
9
|
+
export interface WorkflowMap {
|
|
10
|
+
stage: string;
|
|
11
|
+
next: string[];
|
|
12
|
+
transitions: {
|
|
13
|
+
to: string;
|
|
14
|
+
permission: string;
|
|
15
|
+
requiredColumns: string[];
|
|
16
|
+
condition: string;
|
|
17
|
+
}[];
|
|
18
|
+
}
|
|
19
|
+
export interface EdgeData {
|
|
20
|
+
sourceLabel: string;
|
|
21
|
+
targetLabel: string;
|
|
22
|
+
sourceColor: string;
|
|
23
|
+
targetColor: string;
|
|
24
|
+
permission: string[];
|
|
25
|
+
requiredColumns: string[];
|
|
26
|
+
condition: string;
|
|
27
|
+
}
|
|
28
|
+
export type CustomEdgeType = Edge<EdgeData>;
|
|
29
|
+
export interface SelectIdType {
|
|
30
|
+
id: string;
|
|
31
|
+
type: SelectIdTypes;
|
|
32
|
+
}
|
|
33
|
+
export interface ReactFlowModalType {
|
|
34
|
+
fieldId: string;
|
|
35
|
+
col: any;
|
|
36
|
+
validateUser: any;
|
|
37
|
+
workspaceId: any;
|
|
38
|
+
exampleData: any;
|
|
39
|
+
acceptedUser: any;
|
|
40
|
+
datasetId: string;
|
|
41
|
+
onClose: () => void;
|
|
42
|
+
}
|
|
43
|
+
export interface AppContextType {
|
|
44
|
+
selectFieldId: string;
|
|
45
|
+
col: any;
|
|
46
|
+
validateUser: any;
|
|
47
|
+
workspaceId: any;
|
|
48
|
+
exampleData: any;
|
|
49
|
+
acceptedUser: any;
|
|
50
|
+
datasetId: string;
|
|
51
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const Config: {
|
|
2
|
+
apiUrl: string;
|
|
3
|
+
clientApiUrl: string;
|
|
4
|
+
tenantSocketUrl: string;
|
|
5
|
+
clientSocketUrl: string;
|
|
6
|
+
clientGraphqlUrl: string;
|
|
7
|
+
serverGraphqlUrl: string;
|
|
8
|
+
notificationApiUrl: string;
|
|
9
|
+
dynamicDashboardUrl: string;
|
|
10
|
+
pattern: {
|
|
11
|
+
emailValidation: RegExp;
|
|
12
|
+
webSiteValidation: RegExp;
|
|
13
|
+
phoneNumberValidation: RegExp;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default Config;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
export declare const ApiRoutes: {
|
|
2
|
+
validateUser: string;
|
|
3
|
+
usersAccepted: string;
|
|
4
|
+
validateWorkspace: string;
|
|
5
|
+
createWorkspace: string;
|
|
6
|
+
createUser: string;
|
|
7
|
+
updateTenant: string;
|
|
8
|
+
datasetList: string;
|
|
9
|
+
registerDeviceFcmToken: string;
|
|
10
|
+
deactiveDeviceFcmToken: string;
|
|
11
|
+
editDataset: string;
|
|
12
|
+
createGroupData: string;
|
|
13
|
+
moveWork: string;
|
|
14
|
+
deleteGroup: string;
|
|
15
|
+
renameGroup: string;
|
|
16
|
+
datasetGroupByTemplate: string;
|
|
17
|
+
createDataset: string;
|
|
18
|
+
createQuickRecord: string;
|
|
19
|
+
customizationField: string;
|
|
20
|
+
getAllDatastesList: string;
|
|
21
|
+
datasetRecordList: string;
|
|
22
|
+
deleteDatasetTypes: string;
|
|
23
|
+
listPageSelectedColumn: string;
|
|
24
|
+
updateFieldWidth: string;
|
|
25
|
+
sortField: string;
|
|
26
|
+
updateStage: string;
|
|
27
|
+
getUserListBasedOnRole: string;
|
|
28
|
+
updateRecordFieldValue: string;
|
|
29
|
+
updateStageReorder: string;
|
|
30
|
+
updateStageList: string;
|
|
31
|
+
recordBasicInfo: string;
|
|
32
|
+
createAndUpdateNote: string;
|
|
33
|
+
fieldUpdate: string;
|
|
34
|
+
editField: string;
|
|
35
|
+
fieldList: string;
|
|
36
|
+
deleteField: string;
|
|
37
|
+
fieldDetailList: string;
|
|
38
|
+
datasetRelation: string;
|
|
39
|
+
deleteDatasetRelation: string;
|
|
40
|
+
multipleDatasetsRelation: string;
|
|
41
|
+
preSignedMultipleUrl: string;
|
|
42
|
+
deleteDataSetFiles: string;
|
|
43
|
+
customizeField: string;
|
|
44
|
+
groupList: string;
|
|
45
|
+
groupUpdateList: string;
|
|
46
|
+
roleList: string;
|
|
47
|
+
addRole: string;
|
|
48
|
+
cloneRole: string;
|
|
49
|
+
editRole: string;
|
|
50
|
+
updateUserProfile: string;
|
|
51
|
+
updateUserProfilePicture: string;
|
|
52
|
+
changeWorkspace: string;
|
|
53
|
+
addWorkspace: string;
|
|
54
|
+
editWorkspace: string;
|
|
55
|
+
deleteWorkspace: string;
|
|
56
|
+
workspace: string;
|
|
57
|
+
organisationWorkspace: string;
|
|
58
|
+
addBoard: string;
|
|
59
|
+
datasets: string;
|
|
60
|
+
deleteDataset: string;
|
|
61
|
+
userList: string;
|
|
62
|
+
usersWorkspaceBasedList: string;
|
|
63
|
+
userInvite: string;
|
|
64
|
+
resendUserInvite: string;
|
|
65
|
+
team: string;
|
|
66
|
+
editTeam: string;
|
|
67
|
+
deleteTeam: string;
|
|
68
|
+
workspaceRoleList: string;
|
|
69
|
+
validateEmail: string;
|
|
70
|
+
addUsers: string;
|
|
71
|
+
editUser: string;
|
|
72
|
+
deleteUser: string;
|
|
73
|
+
deactivateUser: string;
|
|
74
|
+
activateUser: string;
|
|
75
|
+
editRecord: string;
|
|
76
|
+
addRecordFields: string;
|
|
77
|
+
editRecordFields: string;
|
|
78
|
+
associateWith: string;
|
|
79
|
+
datasetAssociate: string;
|
|
80
|
+
personDatasetSearch: string;
|
|
81
|
+
createField: string;
|
|
82
|
+
userOrganisation: string;
|
|
83
|
+
taskList: string;
|
|
84
|
+
taskIsCompleted: string;
|
|
85
|
+
meetingList: string;
|
|
86
|
+
overview: string;
|
|
87
|
+
note: string;
|
|
88
|
+
recordActivity: string;
|
|
89
|
+
recordActivityCount: string;
|
|
90
|
+
linkStageToDataset: string;
|
|
91
|
+
stageList: string;
|
|
92
|
+
commentList: string;
|
|
93
|
+
googleConnectionUrl: string;
|
|
94
|
+
updateDatasetSettings: string;
|
|
95
|
+
fileList: string;
|
|
96
|
+
boardList: string;
|
|
97
|
+
userMultipleInvite: string;
|
|
98
|
+
datasetAccess: string;
|
|
99
|
+
getAllNotification: string;
|
|
100
|
+
markAllAsRead: string;
|
|
101
|
+
getNotificationBadgeCount: string;
|
|
102
|
+
listEmails: string;
|
|
103
|
+
emailCounts: string;
|
|
104
|
+
markAsRead: string;
|
|
105
|
+
sendMail: string;
|
|
106
|
+
createDraft: string;
|
|
107
|
+
getMainThread: string;
|
|
108
|
+
moveToTrash: string;
|
|
109
|
+
moveToInbox: string;
|
|
110
|
+
moveAllToTrash: string;
|
|
111
|
+
deleteAllForever: string;
|
|
112
|
+
deleteForever: string;
|
|
113
|
+
cancelSchedule: string;
|
|
114
|
+
reschedule: string;
|
|
115
|
+
deleteAttachment: string;
|
|
116
|
+
uploadAttachment: string;
|
|
117
|
+
getConnectedEmailsHistory: string;
|
|
118
|
+
};
|