@actuate-media/cms-core 0.20.0 → 0.21.0

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.
Files changed (50) hide show
  1. package/LICENSE +21 -21
  2. package/dist/__tests__/fields/component-block.test.d.ts +2 -0
  3. package/dist/__tests__/fields/component-block.test.d.ts.map +1 -0
  4. package/dist/__tests__/fields/component-block.test.js +129 -0
  5. package/dist/__tests__/fields/component-block.test.js.map +1 -0
  6. package/dist/config/types.d.ts +61 -1
  7. package/dist/config/types.d.ts.map +1 -1
  8. package/dist/fields/component-block.d.ts +23 -0
  9. package/dist/fields/component-block.d.ts.map +1 -0
  10. package/dist/fields/component-block.js +137 -0
  11. package/dist/fields/component-block.js.map +1 -0
  12. package/dist/fields/index.d.ts.map +1 -1
  13. package/dist/fields/index.js +2 -0
  14. package/dist/fields/index.js.map +1 -1
  15. package/package.json +1 -1
  16. package/prisma/cms-schema.prisma +306 -306
  17. package/prisma/migrations/0001_init/migration.sql +384 -384
  18. package/prisma/migrations/0002_folders/migration.sql +39 -39
  19. package/prisma/migrations/0003_search_and_webhooks/migration.sql +50 -50
  20. package/prisma/migrations/0004_script_tags/migration.sql +21 -21
  21. package/prisma/migrations/0005_password_reset_tokens/migration.sql +20 -20
  22. package/prisma/migrations/0006_page_builder/migration.sql +38 -38
  23. package/prisma/migrations/migration_lock.toml +3 -3
  24. package/prisma/schema.prisma +549 -549
  25. package/generated/browser.ts +0 -109
  26. package/generated/client.ts +0 -133
  27. package/generated/commonInputTypes.ts +0 -709
  28. package/generated/enums.ts +0 -125
  29. package/generated/internal/class.ts +0 -376
  30. package/generated/internal/prismaNamespace.ts +0 -2617
  31. package/generated/internal/prismaNamespaceBrowser.ts +0 -611
  32. package/generated/models/ApiKey.ts +0 -1550
  33. package/generated/models/AuditLog.ts +0 -1206
  34. package/generated/models/BackupRecord.ts +0 -1250
  35. package/generated/models/ContentLock.ts +0 -1472
  36. package/generated/models/ContentTemplate.ts +0 -1416
  37. package/generated/models/Document.ts +0 -3005
  38. package/generated/models/Folder.ts +0 -1904
  39. package/generated/models/FormSubmission.ts +0 -1200
  40. package/generated/models/InAppNotification.ts +0 -1457
  41. package/generated/models/Media.ts +0 -2340
  42. package/generated/models/MediaUsage.ts +0 -1472
  43. package/generated/models/OAuthAccount.ts +0 -1463
  44. package/generated/models/Redirect.ts +0 -1284
  45. package/generated/models/Session.ts +0 -1492
  46. package/generated/models/Site.ts +0 -1206
  47. package/generated/models/User.ts +0 -3513
  48. package/generated/models/Version.ts +0 -1511
  49. package/generated/models/WorkflowState.ts +0 -1514
  50. package/generated/models.ts +0 -29
@@ -1,125 +0,0 @@
1
-
2
- /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
- /* eslint-disable */
4
- // biome-ignore-all lint: generated file
5
- // @ts-nocheck
6
- /*
7
- * This file exports all enum related types from the schema.
8
- *
9
- * 🟢 You can import this file directly.
10
- */
11
-
12
- export const DocumentStatus = {
13
- DRAFT: 'DRAFT',
14
- PUBLISHED: 'PUBLISHED',
15
- ARCHIVED: 'ARCHIVED',
16
- SCHEDULED: 'SCHEDULED',
17
- SCHEDULED_UNPUBLISH: 'SCHEDULED_UNPUBLISH'
18
- } as const
19
-
20
- export type DocumentStatus = (typeof DocumentStatus)[keyof typeof DocumentStatus]
21
-
22
-
23
- export const UserRole = {
24
- ADMIN: 'ADMIN',
25
- EDITOR: 'EDITOR',
26
- AUTHOR: 'AUTHOR',
27
- CLIENT: 'CLIENT'
28
- } as const
29
-
30
- export type UserRole = (typeof UserRole)[keyof typeof UserRole]
31
-
32
-
33
- export const ChangeType = {
34
- CREATE: 'CREATE',
35
- UPDATE: 'UPDATE',
36
- PUBLISH: 'PUBLISH',
37
- RESTORE: 'RESTORE'
38
- } as const
39
-
40
- export type ChangeType = (typeof ChangeType)[keyof typeof ChangeType]
41
-
42
-
43
- export const AuditEvent = {
44
- login_success: 'login_success',
45
- login_failed: 'login_failed',
46
- logout: 'logout',
47
- password_change: 'password_change',
48
- password_reset_request: 'password_reset_request',
49
- password_reset_complete: 'password_reset_complete',
50
- totp_enabled: 'totp_enabled',
51
- totp_disabled: 'totp_disabled',
52
- api_key_created: 'api_key_created',
53
- api_key_revoked: 'api_key_revoked',
54
- document_created: 'document_created',
55
- document_updated: 'document_updated',
56
- document_published: 'document_published',
57
- document_deleted: 'document_deleted',
58
- media_uploaded: 'media_uploaded',
59
- media_deleted: 'media_deleted',
60
- user_created: 'user_created',
61
- user_updated: 'user_updated',
62
- user_deactivated: 'user_deactivated',
63
- settings_changed: 'settings_changed',
64
- export_requested: 'export_requested',
65
- import_completed: 'import_completed'
66
- } as const
67
-
68
- export type AuditEvent = (typeof AuditEvent)[keyof typeof AuditEvent]
69
-
70
-
71
- export const NotificationType = {
72
- DOCUMENT_PUBLISHED: 'DOCUMENT_PUBLISHED',
73
- DOCUMENT_ASSIGNED: 'DOCUMENT_ASSIGNED',
74
- REVIEW_REQUESTED: 'REVIEW_REQUESTED',
75
- REVIEW_APPROVED: 'REVIEW_APPROVED',
76
- COMMENT_ADDED: 'COMMENT_ADDED',
77
- SYSTEM_ALERT: 'SYSTEM_ALERT',
78
- WORKFLOW_STEP: 'WORKFLOW_STEP'
79
- } as const
80
-
81
- export type NotificationType = (typeof NotificationType)[keyof typeof NotificationType]
82
-
83
-
84
- export const OrderStatus = {
85
- PENDING: 'PENDING',
86
- CONFIRMED: 'CONFIRMED',
87
- PROCESSING: 'PROCESSING',
88
- SHIPPED: 'SHIPPED',
89
- DELIVERED: 'DELIVERED',
90
- CANCELLED: 'CANCELLED',
91
- REFUNDED: 'REFUNDED'
92
- } as const
93
-
94
- export type OrderStatus = (typeof OrderStatus)[keyof typeof OrderStatus]
95
-
96
-
97
- export const PaymentStatus = {
98
- PENDING: 'PENDING',
99
- AUTHORIZED: 'AUTHORIZED',
100
- CAPTURED: 'CAPTURED',
101
- FAILED: 'FAILED',
102
- REFUNDED: 'REFUNDED',
103
- PARTIALLY_REFUNDED: 'PARTIALLY_REFUNDED'
104
- } as const
105
-
106
- export type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus]
107
-
108
-
109
- export const DiscountType = {
110
- PERCENTAGE: 'PERCENTAGE',
111
- FIXED_AMOUNT: 'FIXED_AMOUNT',
112
- FREE_SHIPPING: 'FREE_SHIPPING'
113
- } as const
114
-
115
- export type DiscountType = (typeof DiscountType)[keyof typeof DiscountType]
116
-
117
-
118
- export const ProductType = {
119
- PHYSICAL: 'PHYSICAL',
120
- DIGITAL: 'DIGITAL',
121
- SUBSCRIPTION: 'SUBSCRIPTION',
122
- BUNDLE: 'BUNDLE'
123
- } as const
124
-
125
- export type ProductType = (typeof ProductType)[keyof typeof ProductType]