digital-tools 2.0.2 → 2.1.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/CHANGELOG.md +17 -0
- package/package.json +3 -4
- package/src/define.js +267 -0
- package/src/entities/advertising.js +999 -0
- package/src/entities/ai.js +756 -0
- package/src/entities/analytics.js +1588 -0
- package/src/entities/automation.js +601 -0
- package/src/entities/communication.js +1150 -0
- package/src/entities/crm.js +1386 -0
- package/src/entities/design.js +546 -0
- package/src/entities/development.js +2212 -0
- package/src/entities/document.js +874 -0
- package/src/entities/ecommerce.js +1429 -0
- package/src/entities/experiment.js +1039 -0
- package/src/entities/finance.js +3478 -0
- package/src/entities/forms.js +1892 -0
- package/src/entities/hr.js +661 -0
- package/src/entities/identity.js +997 -0
- package/src/entities/index.js +282 -0
- package/src/entities/infrastructure.js +1153 -0
- package/src/entities/knowledge.js +1438 -0
- package/src/entities/marketing.js +1610 -0
- package/src/entities/media.js +1634 -0
- package/src/entities/notification.js +1199 -0
- package/src/entities/presentation.js +1274 -0
- package/src/entities/productivity.js +1317 -0
- package/src/entities/project-management.js +1136 -0
- package/src/entities/recruiting.js +736 -0
- package/src/entities/shipping.js +509 -0
- package/src/entities/signature.js +1102 -0
- package/src/entities/site.js +222 -0
- package/src/entities/spreadsheet.js +1341 -0
- package/src/entities/storage.js +1198 -0
- package/src/entities/support.js +1166 -0
- package/src/entities/video-conferencing.js +1750 -0
- package/src/entities/video.js +950 -0
- package/src/entities.js +1663 -0
- package/src/index.js +74 -0
- package/src/providers/analytics/index.js +17 -0
- package/src/providers/analytics/mixpanel.js +255 -0
- package/src/providers/calendar/cal-com.js +303 -0
- package/src/providers/calendar/google-calendar.js +335 -0
- package/src/providers/calendar/index.js +20 -0
- package/src/providers/crm/hubspot.js +566 -0
- package/src/providers/crm/index.js +17 -0
- package/src/providers/development/github.js +472 -0
- package/src/providers/development/index.js +17 -0
- package/src/providers/ecommerce/index.js +17 -0
- package/src/providers/ecommerce/shopify.js +378 -0
- package/src/providers/email/index.js +20 -0
- package/src/providers/email/resend.js +258 -0
- package/src/providers/email/sendgrid.js +161 -0
- package/src/providers/finance/index.js +17 -0
- package/src/providers/finance/stripe.js +549 -0
- package/src/providers/forms/index.js +17 -0
- package/src/providers/forms/typeform.js +500 -0
- package/src/providers/index.js +123 -0
- package/src/providers/knowledge/index.js +17 -0
- package/src/providers/knowledge/notion.js +389 -0
- package/src/providers/marketing/index.js +17 -0
- package/src/providers/marketing/mailchimp.js +443 -0
- package/src/providers/media/cloudinary.js +318 -0
- package/src/providers/media/index.js +17 -0
- package/src/providers/messaging/index.js +20 -0
- package/src/providers/messaging/slack.js +393 -0
- package/src/providers/messaging/twilio-sms.js +249 -0
- package/src/providers/project-management/index.js +17 -0
- package/src/providers/project-management/linear.js +575 -0
- package/src/providers/registry.js +86 -0
- package/src/providers/spreadsheet/google-sheets.js +375 -0
- package/src/providers/spreadsheet/index.js +20 -0
- package/src/providers/spreadsheet/xlsx.js +423 -0
- package/src/providers/storage/index.js +24 -0
- package/src/providers/storage/s3.js +419 -0
- package/src/providers/support/index.js +17 -0
- package/src/providers/support/zendesk.js +373 -0
- package/src/providers/tasks/index.js +17 -0
- package/src/providers/tasks/todoist.js +286 -0
- package/src/providers/types.js +9 -0
- package/src/providers/video-conferencing/google-meet.js +286 -0
- package/src/providers/video-conferencing/index.js +31 -0
- package/src/providers/video-conferencing/jitsi.js +254 -0
- package/src/providers/video-conferencing/teams.js +270 -0
- package/src/providers/video-conferencing/zoom.js +332 -0
- package/src/registry.js +128 -0
- package/src/tools/communication.js +184 -0
- package/src/tools/data.js +205 -0
- package/src/tools/index.js +11 -0
- package/src/tools/web.js +137 -0
- package/src/types.js +10 -0
- package/test/define.test.js +306 -0
- package/test/registry.test.js +357 -0
- package/test/tools.test.js +363 -0
|
@@ -0,0 +1,546 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Design Entity Types (Nouns)
|
|
3
|
+
*
|
|
4
|
+
* Design tool entities for files, components, design systems,
|
|
5
|
+
* and collaboration (Figma, Sketch, etc.).
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
// =============================================================================
|
|
10
|
+
// DesignFile
|
|
11
|
+
// =============================================================================
|
|
12
|
+
/**
|
|
13
|
+
* DesignFile entity
|
|
14
|
+
*
|
|
15
|
+
* Represents a design file (Figma, Sketch, etc.).
|
|
16
|
+
*/
|
|
17
|
+
export const DesignFile = {
|
|
18
|
+
singular: 'design-file',
|
|
19
|
+
plural: 'design-files',
|
|
20
|
+
description: 'A design file',
|
|
21
|
+
properties: {
|
|
22
|
+
// Identity
|
|
23
|
+
name: {
|
|
24
|
+
type: 'string',
|
|
25
|
+
description: 'File name',
|
|
26
|
+
},
|
|
27
|
+
key: {
|
|
28
|
+
type: 'string',
|
|
29
|
+
optional: true,
|
|
30
|
+
description: 'Unique file key',
|
|
31
|
+
},
|
|
32
|
+
thumbnailUrl: {
|
|
33
|
+
type: 'url',
|
|
34
|
+
optional: true,
|
|
35
|
+
description: 'Thumbnail URL',
|
|
36
|
+
},
|
|
37
|
+
// Type
|
|
38
|
+
type: {
|
|
39
|
+
type: 'string',
|
|
40
|
+
optional: true,
|
|
41
|
+
description: 'File type',
|
|
42
|
+
examples: ['figma', 'sketch', 'xd', 'psd', 'ai', 'svg'],
|
|
43
|
+
},
|
|
44
|
+
// Version
|
|
45
|
+
version: {
|
|
46
|
+
type: 'string',
|
|
47
|
+
optional: true,
|
|
48
|
+
description: 'Current version',
|
|
49
|
+
},
|
|
50
|
+
lastModified: {
|
|
51
|
+
type: 'datetime',
|
|
52
|
+
optional: true,
|
|
53
|
+
description: 'Last modified date',
|
|
54
|
+
},
|
|
55
|
+
// Content
|
|
56
|
+
pageCount: {
|
|
57
|
+
type: 'number',
|
|
58
|
+
optional: true,
|
|
59
|
+
description: 'Number of pages',
|
|
60
|
+
},
|
|
61
|
+
componentCount: {
|
|
62
|
+
type: 'number',
|
|
63
|
+
optional: true,
|
|
64
|
+
description: 'Number of components',
|
|
65
|
+
},
|
|
66
|
+
// URLs
|
|
67
|
+
editorUrl: {
|
|
68
|
+
type: 'url',
|
|
69
|
+
optional: true,
|
|
70
|
+
description: 'Editor URL',
|
|
71
|
+
},
|
|
72
|
+
embedUrl: {
|
|
73
|
+
type: 'url',
|
|
74
|
+
optional: true,
|
|
75
|
+
description: 'Embed URL',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
relationships: {
|
|
79
|
+
project: {
|
|
80
|
+
type: 'Project',
|
|
81
|
+
required: false,
|
|
82
|
+
description: 'Parent project',
|
|
83
|
+
},
|
|
84
|
+
owner: {
|
|
85
|
+
type: 'User',
|
|
86
|
+
description: 'File owner',
|
|
87
|
+
},
|
|
88
|
+
collaborators: {
|
|
89
|
+
type: 'User[]',
|
|
90
|
+
description: 'Collaborators',
|
|
91
|
+
},
|
|
92
|
+
components: {
|
|
93
|
+
type: 'Component[]',
|
|
94
|
+
description: 'Components in file',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
actions: [
|
|
98
|
+
'create',
|
|
99
|
+
'update',
|
|
100
|
+
'rename',
|
|
101
|
+
'duplicate',
|
|
102
|
+
'delete',
|
|
103
|
+
'share',
|
|
104
|
+
'export',
|
|
105
|
+
'version',
|
|
106
|
+
],
|
|
107
|
+
events: [
|
|
108
|
+
'created',
|
|
109
|
+
'updated',
|
|
110
|
+
'renamed',
|
|
111
|
+
'duplicated',
|
|
112
|
+
'deleted',
|
|
113
|
+
'shared',
|
|
114
|
+
'exported',
|
|
115
|
+
'versioned',
|
|
116
|
+
],
|
|
117
|
+
};
|
|
118
|
+
// =============================================================================
|
|
119
|
+
// Component
|
|
120
|
+
// =============================================================================
|
|
121
|
+
/**
|
|
122
|
+
* Component entity
|
|
123
|
+
*
|
|
124
|
+
* Represents a reusable design component.
|
|
125
|
+
*/
|
|
126
|
+
export const Component = {
|
|
127
|
+
singular: 'component',
|
|
128
|
+
plural: 'components',
|
|
129
|
+
description: 'A reusable design component',
|
|
130
|
+
properties: {
|
|
131
|
+
// Identity
|
|
132
|
+
name: {
|
|
133
|
+
type: 'string',
|
|
134
|
+
description: 'Component name',
|
|
135
|
+
},
|
|
136
|
+
key: {
|
|
137
|
+
type: 'string',
|
|
138
|
+
optional: true,
|
|
139
|
+
description: 'Unique component key',
|
|
140
|
+
},
|
|
141
|
+
description: {
|
|
142
|
+
type: 'string',
|
|
143
|
+
optional: true,
|
|
144
|
+
description: 'Component description',
|
|
145
|
+
},
|
|
146
|
+
// Categorization
|
|
147
|
+
category: {
|
|
148
|
+
type: 'string',
|
|
149
|
+
optional: true,
|
|
150
|
+
description: 'Component category',
|
|
151
|
+
},
|
|
152
|
+
tags: {
|
|
153
|
+
type: 'string',
|
|
154
|
+
array: true,
|
|
155
|
+
optional: true,
|
|
156
|
+
description: 'Tags',
|
|
157
|
+
},
|
|
158
|
+
// Properties
|
|
159
|
+
properties: {
|
|
160
|
+
type: 'json',
|
|
161
|
+
optional: true,
|
|
162
|
+
description: 'Component properties/variants',
|
|
163
|
+
},
|
|
164
|
+
// Visual
|
|
165
|
+
thumbnailUrl: {
|
|
166
|
+
type: 'url',
|
|
167
|
+
optional: true,
|
|
168
|
+
description: 'Thumbnail URL',
|
|
169
|
+
},
|
|
170
|
+
// Status
|
|
171
|
+
status: {
|
|
172
|
+
type: 'string',
|
|
173
|
+
optional: true,
|
|
174
|
+
description: 'Component status',
|
|
175
|
+
examples: ['draft', 'review', 'approved', 'deprecated'],
|
|
176
|
+
},
|
|
177
|
+
isPublished: {
|
|
178
|
+
type: 'boolean',
|
|
179
|
+
optional: true,
|
|
180
|
+
description: 'Whether published to library',
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
relationships: {
|
|
184
|
+
file: {
|
|
185
|
+
type: 'DesignFile',
|
|
186
|
+
description: 'Source file',
|
|
187
|
+
},
|
|
188
|
+
designSystem: {
|
|
189
|
+
type: 'DesignSystem',
|
|
190
|
+
required: false,
|
|
191
|
+
description: 'Parent design system',
|
|
192
|
+
},
|
|
193
|
+
variants: {
|
|
194
|
+
type: 'Component[]',
|
|
195
|
+
description: 'Component variants',
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
actions: [
|
|
199
|
+
'create',
|
|
200
|
+
'update',
|
|
201
|
+
'publish',
|
|
202
|
+
'unpublish',
|
|
203
|
+
'deprecate',
|
|
204
|
+
'delete',
|
|
205
|
+
],
|
|
206
|
+
events: [
|
|
207
|
+
'created',
|
|
208
|
+
'updated',
|
|
209
|
+
'published',
|
|
210
|
+
'unpublished',
|
|
211
|
+
'deprecated',
|
|
212
|
+
'deleted',
|
|
213
|
+
],
|
|
214
|
+
};
|
|
215
|
+
// =============================================================================
|
|
216
|
+
// DesignSystem
|
|
217
|
+
// =============================================================================
|
|
218
|
+
/**
|
|
219
|
+
* DesignSystem entity
|
|
220
|
+
*
|
|
221
|
+
* Represents a design system or component library.
|
|
222
|
+
*/
|
|
223
|
+
export const DesignSystem = {
|
|
224
|
+
singular: 'design-system',
|
|
225
|
+
plural: 'design-systems',
|
|
226
|
+
description: 'A design system or component library',
|
|
227
|
+
properties: {
|
|
228
|
+
// Identity
|
|
229
|
+
name: {
|
|
230
|
+
type: 'string',
|
|
231
|
+
description: 'Design system name',
|
|
232
|
+
},
|
|
233
|
+
description: {
|
|
234
|
+
type: 'string',
|
|
235
|
+
optional: true,
|
|
236
|
+
description: 'Description',
|
|
237
|
+
},
|
|
238
|
+
version: {
|
|
239
|
+
type: 'string',
|
|
240
|
+
optional: true,
|
|
241
|
+
description: 'Current version',
|
|
242
|
+
},
|
|
243
|
+
// Content
|
|
244
|
+
componentCount: {
|
|
245
|
+
type: 'number',
|
|
246
|
+
optional: true,
|
|
247
|
+
description: 'Number of components',
|
|
248
|
+
},
|
|
249
|
+
styleCount: {
|
|
250
|
+
type: 'number',
|
|
251
|
+
optional: true,
|
|
252
|
+
description: 'Number of styles',
|
|
253
|
+
},
|
|
254
|
+
// URLs
|
|
255
|
+
documentationUrl: {
|
|
256
|
+
type: 'url',
|
|
257
|
+
optional: true,
|
|
258
|
+
description: 'Documentation URL',
|
|
259
|
+
},
|
|
260
|
+
// Status
|
|
261
|
+
status: {
|
|
262
|
+
type: 'string',
|
|
263
|
+
optional: true,
|
|
264
|
+
description: 'System status',
|
|
265
|
+
examples: ['development', 'beta', 'stable', 'deprecated'],
|
|
266
|
+
},
|
|
267
|
+
},
|
|
268
|
+
relationships: {
|
|
269
|
+
components: {
|
|
270
|
+
type: 'Component[]',
|
|
271
|
+
description: 'Components in system',
|
|
272
|
+
},
|
|
273
|
+
styles: {
|
|
274
|
+
type: 'Style[]',
|
|
275
|
+
description: 'Styles in system',
|
|
276
|
+
},
|
|
277
|
+
maintainers: {
|
|
278
|
+
type: 'User[]',
|
|
279
|
+
description: 'System maintainers',
|
|
280
|
+
},
|
|
281
|
+
},
|
|
282
|
+
actions: [
|
|
283
|
+
'create',
|
|
284
|
+
'update',
|
|
285
|
+
'publish',
|
|
286
|
+
'deprecate',
|
|
287
|
+
],
|
|
288
|
+
events: [
|
|
289
|
+
'created',
|
|
290
|
+
'updated',
|
|
291
|
+
'published',
|
|
292
|
+
'versionReleased',
|
|
293
|
+
'deprecated',
|
|
294
|
+
],
|
|
295
|
+
};
|
|
296
|
+
// =============================================================================
|
|
297
|
+
// Style
|
|
298
|
+
// =============================================================================
|
|
299
|
+
/**
|
|
300
|
+
* Style entity
|
|
301
|
+
*
|
|
302
|
+
* Represents a design style (color, typography, effect).
|
|
303
|
+
*/
|
|
304
|
+
export const Style = {
|
|
305
|
+
singular: 'style',
|
|
306
|
+
plural: 'styles',
|
|
307
|
+
description: 'A design style (color, typography, effect)',
|
|
308
|
+
properties: {
|
|
309
|
+
// Identity
|
|
310
|
+
name: {
|
|
311
|
+
type: 'string',
|
|
312
|
+
description: 'Style name',
|
|
313
|
+
},
|
|
314
|
+
key: {
|
|
315
|
+
type: 'string',
|
|
316
|
+
optional: true,
|
|
317
|
+
description: 'Unique style key',
|
|
318
|
+
},
|
|
319
|
+
description: {
|
|
320
|
+
type: 'string',
|
|
321
|
+
optional: true,
|
|
322
|
+
description: 'Style description',
|
|
323
|
+
},
|
|
324
|
+
// Type
|
|
325
|
+
type: {
|
|
326
|
+
type: 'string',
|
|
327
|
+
description: 'Style type',
|
|
328
|
+
examples: ['color', 'typography', 'effect', 'grid'],
|
|
329
|
+
},
|
|
330
|
+
// Value
|
|
331
|
+
value: {
|
|
332
|
+
type: 'json',
|
|
333
|
+
description: 'Style value/definition',
|
|
334
|
+
},
|
|
335
|
+
// Categorization
|
|
336
|
+
category: {
|
|
337
|
+
type: 'string',
|
|
338
|
+
optional: true,
|
|
339
|
+
description: 'Category (e.g., primary, semantic)',
|
|
340
|
+
},
|
|
341
|
+
},
|
|
342
|
+
relationships: {
|
|
343
|
+
designSystem: {
|
|
344
|
+
type: 'DesignSystem',
|
|
345
|
+
required: false,
|
|
346
|
+
description: 'Parent design system',
|
|
347
|
+
},
|
|
348
|
+
file: {
|
|
349
|
+
type: 'DesignFile',
|
|
350
|
+
required: false,
|
|
351
|
+
description: 'Source file',
|
|
352
|
+
},
|
|
353
|
+
},
|
|
354
|
+
actions: [
|
|
355
|
+
'create',
|
|
356
|
+
'update',
|
|
357
|
+
'delete',
|
|
358
|
+
'publish',
|
|
359
|
+
],
|
|
360
|
+
events: [
|
|
361
|
+
'created',
|
|
362
|
+
'updated',
|
|
363
|
+
'deleted',
|
|
364
|
+
'published',
|
|
365
|
+
],
|
|
366
|
+
};
|
|
367
|
+
// =============================================================================
|
|
368
|
+
// Prototype
|
|
369
|
+
// =============================================================================
|
|
370
|
+
/**
|
|
371
|
+
* Prototype entity
|
|
372
|
+
*
|
|
373
|
+
* Represents an interactive prototype.
|
|
374
|
+
*/
|
|
375
|
+
export const Prototype = {
|
|
376
|
+
singular: 'prototype',
|
|
377
|
+
plural: 'prototypes',
|
|
378
|
+
description: 'An interactive prototype',
|
|
379
|
+
properties: {
|
|
380
|
+
// Identity
|
|
381
|
+
name: {
|
|
382
|
+
type: 'string',
|
|
383
|
+
description: 'Prototype name',
|
|
384
|
+
},
|
|
385
|
+
description: {
|
|
386
|
+
type: 'string',
|
|
387
|
+
optional: true,
|
|
388
|
+
description: 'Prototype description',
|
|
389
|
+
},
|
|
390
|
+
// Configuration
|
|
391
|
+
startingFrame: {
|
|
392
|
+
type: 'string',
|
|
393
|
+
optional: true,
|
|
394
|
+
description: 'Starting frame/screen',
|
|
395
|
+
},
|
|
396
|
+
device: {
|
|
397
|
+
type: 'string',
|
|
398
|
+
optional: true,
|
|
399
|
+
description: 'Target device',
|
|
400
|
+
examples: ['desktop', 'tablet', 'mobile', 'watch'],
|
|
401
|
+
},
|
|
402
|
+
// URLs
|
|
403
|
+
previewUrl: {
|
|
404
|
+
type: 'url',
|
|
405
|
+
optional: true,
|
|
406
|
+
description: 'Preview URL',
|
|
407
|
+
},
|
|
408
|
+
embedUrl: {
|
|
409
|
+
type: 'url',
|
|
410
|
+
optional: true,
|
|
411
|
+
description: 'Embed URL',
|
|
412
|
+
},
|
|
413
|
+
// Status
|
|
414
|
+
status: {
|
|
415
|
+
type: 'string',
|
|
416
|
+
optional: true,
|
|
417
|
+
description: 'Prototype status',
|
|
418
|
+
examples: ['draft', 'review', 'approved'],
|
|
419
|
+
},
|
|
420
|
+
},
|
|
421
|
+
relationships: {
|
|
422
|
+
file: {
|
|
423
|
+
type: 'DesignFile',
|
|
424
|
+
description: 'Source file',
|
|
425
|
+
},
|
|
426
|
+
},
|
|
427
|
+
actions: [
|
|
428
|
+
'create',
|
|
429
|
+
'update',
|
|
430
|
+
'share',
|
|
431
|
+
'present',
|
|
432
|
+
],
|
|
433
|
+
events: [
|
|
434
|
+
'created',
|
|
435
|
+
'updated',
|
|
436
|
+
'shared',
|
|
437
|
+
'presented',
|
|
438
|
+
'viewed',
|
|
439
|
+
],
|
|
440
|
+
};
|
|
441
|
+
// =============================================================================
|
|
442
|
+
// DesignComment
|
|
443
|
+
// =============================================================================
|
|
444
|
+
/**
|
|
445
|
+
* DesignComment entity
|
|
446
|
+
*
|
|
447
|
+
* Represents a comment on a design.
|
|
448
|
+
*/
|
|
449
|
+
export const DesignComment = {
|
|
450
|
+
singular: 'design-comment',
|
|
451
|
+
plural: 'design-comments',
|
|
452
|
+
description: 'A comment on a design',
|
|
453
|
+
properties: {
|
|
454
|
+
// Content
|
|
455
|
+
message: {
|
|
456
|
+
type: 'string',
|
|
457
|
+
description: 'Comment text',
|
|
458
|
+
},
|
|
459
|
+
// Position
|
|
460
|
+
x: {
|
|
461
|
+
type: 'number',
|
|
462
|
+
optional: true,
|
|
463
|
+
description: 'X coordinate',
|
|
464
|
+
},
|
|
465
|
+
y: {
|
|
466
|
+
type: 'number',
|
|
467
|
+
optional: true,
|
|
468
|
+
description: 'Y coordinate',
|
|
469
|
+
},
|
|
470
|
+
frameId: {
|
|
471
|
+
type: 'string',
|
|
472
|
+
optional: true,
|
|
473
|
+
description: 'Frame/artboard ID',
|
|
474
|
+
},
|
|
475
|
+
// Status
|
|
476
|
+
status: {
|
|
477
|
+
type: 'string',
|
|
478
|
+
optional: true,
|
|
479
|
+
description: 'Comment status',
|
|
480
|
+
examples: ['open', 'resolved'],
|
|
481
|
+
},
|
|
482
|
+
resolvedAt: {
|
|
483
|
+
type: 'datetime',
|
|
484
|
+
optional: true,
|
|
485
|
+
description: 'When resolved',
|
|
486
|
+
},
|
|
487
|
+
},
|
|
488
|
+
relationships: {
|
|
489
|
+
file: {
|
|
490
|
+
type: 'DesignFile',
|
|
491
|
+
description: 'Design file',
|
|
492
|
+
},
|
|
493
|
+
author: {
|
|
494
|
+
type: 'User',
|
|
495
|
+
description: 'Comment author',
|
|
496
|
+
},
|
|
497
|
+
parent: {
|
|
498
|
+
type: 'DesignComment',
|
|
499
|
+
required: false,
|
|
500
|
+
description: 'Parent comment (for replies)',
|
|
501
|
+
},
|
|
502
|
+
replies: {
|
|
503
|
+
type: 'DesignComment[]',
|
|
504
|
+
description: 'Replies',
|
|
505
|
+
},
|
|
506
|
+
resolvedBy: {
|
|
507
|
+
type: 'User',
|
|
508
|
+
required: false,
|
|
509
|
+
description: 'Who resolved',
|
|
510
|
+
},
|
|
511
|
+
},
|
|
512
|
+
actions: [
|
|
513
|
+
'create',
|
|
514
|
+
'update',
|
|
515
|
+
'delete',
|
|
516
|
+
'resolve',
|
|
517
|
+
'reopen',
|
|
518
|
+
'reply',
|
|
519
|
+
],
|
|
520
|
+
events: [
|
|
521
|
+
'created',
|
|
522
|
+
'updated',
|
|
523
|
+
'deleted',
|
|
524
|
+
'resolved',
|
|
525
|
+
'reopened',
|
|
526
|
+
'replied',
|
|
527
|
+
],
|
|
528
|
+
};
|
|
529
|
+
// =============================================================================
|
|
530
|
+
// Exports
|
|
531
|
+
// =============================================================================
|
|
532
|
+
export const DesignEntities = {
|
|
533
|
+
DesignFile,
|
|
534
|
+
Component,
|
|
535
|
+
DesignSystem,
|
|
536
|
+
Style,
|
|
537
|
+
Prototype,
|
|
538
|
+
DesignComment,
|
|
539
|
+
};
|
|
540
|
+
export const DesignCategories = {
|
|
541
|
+
files: ['DesignFile'],
|
|
542
|
+
components: ['Component', 'DesignSystem'],
|
|
543
|
+
styles: ['Style'],
|
|
544
|
+
prototypes: ['Prototype'],
|
|
545
|
+
collaboration: ['DesignComment'],
|
|
546
|
+
};
|