@contractspec/example.saas-boilerplate 3.7.6 → 3.7.7

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 (114) hide show
  1. package/.turbo/turbo-build.log +8 -8
  2. package/AGENTS.md +50 -27
  3. package/README.md +64 -144
  4. package/dist/billing/billing.event.js +1 -1
  5. package/dist/billing/index.d.ts +6 -6
  6. package/dist/billing/index.js +1 -1
  7. package/dist/browser/billing/billing.event.js +1 -1
  8. package/dist/browser/billing/index.js +1 -1
  9. package/dist/browser/index.js +931 -932
  10. package/dist/browser/project/index.js +209 -209
  11. package/dist/browser/project/project.event.js +1 -1
  12. package/dist/browser/ui/SaasDashboard.js +45 -45
  13. package/dist/browser/ui/SaasProjectList.js +7 -7
  14. package/dist/browser/ui/SaasSettingsPanel.js +12 -12
  15. package/dist/browser/ui/hooks/index.js +2 -2
  16. package/dist/browser/ui/hooks/useProjectList.js +1 -1
  17. package/dist/browser/ui/hooks/useProjectMutations.js +1 -1
  18. package/dist/browser/ui/index.js +483 -484
  19. package/dist/browser/ui/modals/CreateProjectModal.js +10 -10
  20. package/dist/browser/ui/modals/ProjectActionsModal.js +13 -13
  21. package/dist/browser/ui/modals/index.js +23 -23
  22. package/dist/browser/ui/renderers/index.js +112 -112
  23. package/dist/browser/ui/renderers/project-list.renderer.js +7 -7
  24. package/dist/handlers/index.d.ts +2 -2
  25. package/dist/index.d.ts +4 -4
  26. package/dist/index.js +931 -932
  27. package/dist/node/billing/billing.event.js +1 -1
  28. package/dist/node/billing/index.js +1 -1
  29. package/dist/node/index.js +931 -932
  30. package/dist/node/project/index.js +209 -209
  31. package/dist/node/project/project.event.js +1 -1
  32. package/dist/node/ui/SaasDashboard.js +45 -45
  33. package/dist/node/ui/SaasProjectList.js +7 -7
  34. package/dist/node/ui/SaasSettingsPanel.js +12 -12
  35. package/dist/node/ui/hooks/index.js +2 -2
  36. package/dist/node/ui/hooks/useProjectList.js +1 -1
  37. package/dist/node/ui/hooks/useProjectMutations.js +1 -1
  38. package/dist/node/ui/index.js +483 -484
  39. package/dist/node/ui/modals/CreateProjectModal.js +10 -10
  40. package/dist/node/ui/modals/ProjectActionsModal.js +13 -13
  41. package/dist/node/ui/modals/index.js +23 -23
  42. package/dist/node/ui/renderers/index.js +112 -112
  43. package/dist/node/ui/renderers/project-list.renderer.js +7 -7
  44. package/dist/presentations/index.d.ts +1 -1
  45. package/dist/project/index.d.ts +7 -7
  46. package/dist/project/index.js +209 -209
  47. package/dist/project/project.event.js +1 -1
  48. package/dist/settings/index.d.ts +1 -1
  49. package/dist/ui/SaasDashboard.js +45 -45
  50. package/dist/ui/SaasProjectList.js +7 -7
  51. package/dist/ui/SaasSettingsPanel.js +12 -12
  52. package/dist/ui/hooks/index.d.ts +2 -2
  53. package/dist/ui/hooks/index.js +2 -2
  54. package/dist/ui/hooks/useProjectList.d.ts +5 -0
  55. package/dist/ui/hooks/useProjectList.js +1 -1
  56. package/dist/ui/hooks/useProjectMutations.d.ts +8 -0
  57. package/dist/ui/hooks/useProjectMutations.js +1 -1
  58. package/dist/ui/index.d.ts +4 -4
  59. package/dist/ui/index.js +483 -484
  60. package/dist/ui/modals/CreateProjectModal.js +10 -10
  61. package/dist/ui/modals/ProjectActionsModal.js +13 -13
  62. package/dist/ui/modals/index.js +23 -23
  63. package/dist/ui/renderers/index.d.ts +1 -1
  64. package/dist/ui/renderers/index.js +112 -112
  65. package/dist/ui/renderers/project-list.renderer.d.ts +1 -1
  66. package/dist/ui/renderers/project-list.renderer.js +7 -7
  67. package/package.json +10 -10
  68. package/src/billing/billing.entity.ts +132 -132
  69. package/src/billing/billing.enum.ts +9 -9
  70. package/src/billing/billing.event.ts +71 -71
  71. package/src/billing/billing.handler.ts +87 -87
  72. package/src/billing/billing.operations.ts +158 -158
  73. package/src/billing/billing.presentation.ts +45 -45
  74. package/src/billing/billing.schema.ts +76 -76
  75. package/src/billing/index.ts +43 -48
  76. package/src/dashboard/dashboard.presentation.ts +45 -45
  77. package/src/dashboard/index.ts +2 -2
  78. package/src/docs/saas-boilerplate.docblock.ts +43 -43
  79. package/src/example.ts +32 -32
  80. package/src/handlers/index.ts +9 -9
  81. package/src/handlers/saas.handlers.ts +250 -249
  82. package/src/index.ts +40 -41
  83. package/src/presentations/index.ts +18 -20
  84. package/src/project/index.ts +45 -50
  85. package/src/project/project.entity.ts +68 -68
  86. package/src/project/project.enum.ts +8 -8
  87. package/src/project/project.event.ts +79 -79
  88. package/src/project/project.handler.ts +103 -103
  89. package/src/project/project.operations.ts +236 -236
  90. package/src/project/project.presentation.ts +46 -46
  91. package/src/project/project.schema.ts +90 -90
  92. package/src/saas-boilerplate.feature.ts +100 -100
  93. package/src/seeders/index.ts +20 -20
  94. package/src/settings/index.ts +2 -3
  95. package/src/settings/settings.entity.ts +65 -65
  96. package/src/settings/settings.enum.ts +4 -4
  97. package/src/shared/mock-data.ts +92 -92
  98. package/src/shared/overlay-types.ts +23 -23
  99. package/src/tests/operations.test-spec.ts +96 -96
  100. package/src/ui/SaasDashboard.tsx +270 -270
  101. package/src/ui/SaasProjectList.tsx +90 -90
  102. package/src/ui/SaasSettingsPanel.tsx +84 -84
  103. package/src/ui/hooks/index.ts +3 -3
  104. package/src/ui/hooks/useProjectList.ts +69 -68
  105. package/src/ui/hooks/useProjectMutations.ts +144 -143
  106. package/src/ui/index.ts +8 -12
  107. package/src/ui/modals/CreateProjectModal.tsx +154 -154
  108. package/src/ui/modals/ProjectActionsModal.tsx +321 -321
  109. package/src/ui/overlays/demo-overlays.ts +49 -49
  110. package/src/ui/renderers/index.ts +5 -4
  111. package/src/ui/renderers/project-list.markdown.ts +204 -204
  112. package/src/ui/renderers/project-list.renderer.tsx +14 -13
  113. package/tsconfig.json +7 -8
  114. package/tsdown.config.js +7 -3
@@ -1,17 +1,17 @@
1
1
  import {
2
- defineCommand,
3
- defineQuery,
2
+ defineCommand,
3
+ defineQuery,
4
4
  } from '@contractspec/lib.contracts-spec/operations';
5
5
  import {
6
- CreateProjectInputModel,
7
- DeleteProjectInputModel,
8
- DeleteProjectOutputModel,
9
- GetProjectInputModel,
10
- ListProjectsInputModel,
11
- ListProjectsOutputModel,
12
- ProjectDeletedPayloadModel,
13
- ProjectModel,
14
- UpdateProjectInputModel,
6
+ CreateProjectInputModel,
7
+ DeleteProjectInputModel,
8
+ DeleteProjectOutputModel,
9
+ GetProjectInputModel,
10
+ ListProjectsInputModel,
11
+ ListProjectsOutputModel,
12
+ ProjectDeletedPayloadModel,
13
+ ProjectModel,
14
+ UpdateProjectInputModel,
15
15
  } from './project.schema';
16
16
 
17
17
  const OWNERS = ['example.saas-boilerplate'] as const;
@@ -20,253 +20,253 @@ const OWNERS = ['example.saas-boilerplate'] as const;
20
20
  * Create a new project.
21
21
  */
22
22
  export const CreateProjectContract = defineCommand({
23
- meta: {
24
- key: 'saas.project.create',
25
- version: '1.0.0',
26
- stability: 'stable',
27
- owners: [...OWNERS],
28
- tags: ['saas', 'project', 'create'],
29
- description: 'Create a new project in the organization.',
30
- goal: 'Allow users to create projects for organizing work.',
31
- context: 'Called from project creation UI or API.',
32
- },
33
- io: {
34
- input: CreateProjectInputModel,
35
- output: ProjectModel,
36
- errors: {
37
- SLUG_EXISTS: {
38
- description: 'A project with this slug already exists',
39
- http: 409,
40
- gqlCode: 'SLUG_EXISTS',
41
- when: 'Slug is already taken in the organization',
42
- },
43
- LIMIT_REACHED: {
44
- description: 'Project limit reached for this plan',
45
- http: 403,
46
- gqlCode: 'LIMIT_REACHED',
47
- when: 'Organization has reached project limit',
48
- },
49
- },
50
- },
51
- policy: {
52
- auth: 'user',
53
- },
54
- sideEffects: {
55
- emits: [
56
- {
57
- key: 'project.created',
58
- version: '1.0.0',
59
- when: 'Project is created',
60
- payload: ProjectModel,
61
- },
62
- ],
63
- audit: ['project.created'],
64
- },
65
- acceptance: {
66
- scenarios: [
67
- {
68
- key: 'create-project-happy-path',
69
- given: ['User is authenticated'],
70
- when: ['User creates project'],
71
- then: ['Project is created', 'ProjectCreated event is emitted'],
72
- },
73
- ],
74
- examples: [
75
- {
76
- key: 'create-basic',
77
- input: { name: 'Website Redesign', slug: 'website-redesign' },
78
- output: { id: 'proj-123', name: 'Website Redesign', isArchived: false },
79
- },
80
- ],
81
- },
23
+ meta: {
24
+ key: 'saas.project.create',
25
+ version: '1.0.0',
26
+ stability: 'stable',
27
+ owners: [...OWNERS],
28
+ tags: ['saas', 'project', 'create'],
29
+ description: 'Create a new project in the organization.',
30
+ goal: 'Allow users to create projects for organizing work.',
31
+ context: 'Called from project creation UI or API.',
32
+ },
33
+ io: {
34
+ input: CreateProjectInputModel,
35
+ output: ProjectModel,
36
+ errors: {
37
+ SLUG_EXISTS: {
38
+ description: 'A project with this slug already exists',
39
+ http: 409,
40
+ gqlCode: 'SLUG_EXISTS',
41
+ when: 'Slug is already taken in the organization',
42
+ },
43
+ LIMIT_REACHED: {
44
+ description: 'Project limit reached for this plan',
45
+ http: 403,
46
+ gqlCode: 'LIMIT_REACHED',
47
+ when: 'Organization has reached project limit',
48
+ },
49
+ },
50
+ },
51
+ policy: {
52
+ auth: 'user',
53
+ },
54
+ sideEffects: {
55
+ emits: [
56
+ {
57
+ key: 'project.created',
58
+ version: '1.0.0',
59
+ when: 'Project is created',
60
+ payload: ProjectModel,
61
+ },
62
+ ],
63
+ audit: ['project.created'],
64
+ },
65
+ acceptance: {
66
+ scenarios: [
67
+ {
68
+ key: 'create-project-happy-path',
69
+ given: ['User is authenticated'],
70
+ when: ['User creates project'],
71
+ then: ['Project is created', 'ProjectCreated event is emitted'],
72
+ },
73
+ ],
74
+ examples: [
75
+ {
76
+ key: 'create-basic',
77
+ input: { name: 'Website Redesign', slug: 'website-redesign' },
78
+ output: { id: 'proj-123', name: 'Website Redesign', isArchived: false },
79
+ },
80
+ ],
81
+ },
82
82
  });
83
83
 
84
84
  /**
85
85
  * Get project by ID.
86
86
  */
87
87
  export const GetProjectContract = defineQuery({
88
- meta: {
89
- key: 'saas.project.get',
90
- version: '1.0.0',
91
- stability: 'stable',
92
- owners: [...OWNERS],
93
- tags: ['saas', 'project', 'get'],
94
- description: 'Get a project by ID.',
95
- goal: 'Retrieve project details.',
96
- context: 'Project detail page, API calls.',
97
- },
98
- io: {
99
- input: GetProjectInputModel,
100
- output: ProjectModel,
101
- errors: {
102
- NOT_FOUND: {
103
- description: 'Project not found',
104
- http: 404,
105
- gqlCode: 'NOT_FOUND',
106
- when: 'Project ID is invalid or user lacks access',
107
- },
108
- },
109
- },
110
- policy: {
111
- auth: 'user',
112
- },
113
- acceptance: {
114
- scenarios: [
115
- {
116
- key: 'get-project-happy-path',
117
- given: ['Project exists'],
118
- when: ['User requests project'],
119
- then: ['Project details are returned'],
120
- },
121
- ],
122
- examples: [
123
- {
124
- key: 'get-existing',
125
- input: { projectId: 'proj-123' },
126
- output: { id: 'proj-123', name: 'Website Redesign' },
127
- },
128
- ],
129
- },
88
+ meta: {
89
+ key: 'saas.project.get',
90
+ version: '1.0.0',
91
+ stability: 'stable',
92
+ owners: [...OWNERS],
93
+ tags: ['saas', 'project', 'get'],
94
+ description: 'Get a project by ID.',
95
+ goal: 'Retrieve project details.',
96
+ context: 'Project detail page, API calls.',
97
+ },
98
+ io: {
99
+ input: GetProjectInputModel,
100
+ output: ProjectModel,
101
+ errors: {
102
+ NOT_FOUND: {
103
+ description: 'Project not found',
104
+ http: 404,
105
+ gqlCode: 'NOT_FOUND',
106
+ when: 'Project ID is invalid or user lacks access',
107
+ },
108
+ },
109
+ },
110
+ policy: {
111
+ auth: 'user',
112
+ },
113
+ acceptance: {
114
+ scenarios: [
115
+ {
116
+ key: 'get-project-happy-path',
117
+ given: ['Project exists'],
118
+ when: ['User requests project'],
119
+ then: ['Project details are returned'],
120
+ },
121
+ ],
122
+ examples: [
123
+ {
124
+ key: 'get-existing',
125
+ input: { projectId: 'proj-123' },
126
+ output: { id: 'proj-123', name: 'Website Redesign' },
127
+ },
128
+ ],
129
+ },
130
130
  });
131
131
 
132
132
  /**
133
133
  * Update a project.
134
134
  */
135
135
  export const UpdateProjectContract = defineCommand({
136
- meta: {
137
- key: 'saas.project.update',
138
- version: '1.0.0',
139
- stability: 'stable',
140
- owners: [...OWNERS],
141
- tags: ['saas', 'project', 'update'],
142
- description: 'Update project details.',
143
- goal: 'Allow project owners/editors to modify project.',
144
- context: 'Project settings page.',
145
- },
146
- io: {
147
- input: UpdateProjectInputModel,
148
- output: ProjectModel,
149
- },
150
- policy: {
151
- auth: 'user',
152
- },
153
- sideEffects: {
154
- emits: [
155
- {
156
- key: 'project.updated',
157
- version: '1.0.0',
158
- when: 'Project is updated',
159
- payload: ProjectModel,
160
- },
161
- ],
162
- audit: ['project.updated'],
163
- },
164
- acceptance: {
165
- scenarios: [
166
- {
167
- key: 'update-project-happy-path',
168
- given: ['Project exists'],
169
- when: ['User updates description'],
170
- then: ['Project is updated', 'ProjectUpdated event is emitted'],
171
- },
172
- ],
173
- examples: [
174
- {
175
- key: 'update-desc',
176
- input: { projectId: 'proj-123', description: 'New description' },
177
- output: { id: 'proj-123', description: 'New description' },
178
- },
179
- ],
180
- },
136
+ meta: {
137
+ key: 'saas.project.update',
138
+ version: '1.0.0',
139
+ stability: 'stable',
140
+ owners: [...OWNERS],
141
+ tags: ['saas', 'project', 'update'],
142
+ description: 'Update project details.',
143
+ goal: 'Allow project owners/editors to modify project.',
144
+ context: 'Project settings page.',
145
+ },
146
+ io: {
147
+ input: UpdateProjectInputModel,
148
+ output: ProjectModel,
149
+ },
150
+ policy: {
151
+ auth: 'user',
152
+ },
153
+ sideEffects: {
154
+ emits: [
155
+ {
156
+ key: 'project.updated',
157
+ version: '1.0.0',
158
+ when: 'Project is updated',
159
+ payload: ProjectModel,
160
+ },
161
+ ],
162
+ audit: ['project.updated'],
163
+ },
164
+ acceptance: {
165
+ scenarios: [
166
+ {
167
+ key: 'update-project-happy-path',
168
+ given: ['Project exists'],
169
+ when: ['User updates description'],
170
+ then: ['Project is updated', 'ProjectUpdated event is emitted'],
171
+ },
172
+ ],
173
+ examples: [
174
+ {
175
+ key: 'update-desc',
176
+ input: { projectId: 'proj-123', description: 'New description' },
177
+ output: { id: 'proj-123', description: 'New description' },
178
+ },
179
+ ],
180
+ },
181
181
  });
182
182
 
183
183
  /**
184
184
  * Delete a project.
185
185
  */
186
186
  export const DeleteProjectContract = defineCommand({
187
- meta: {
188
- key: 'saas.project.delete',
189
- version: '1.0.0',
190
- stability: 'stable',
191
- owners: [...OWNERS],
192
- tags: ['saas', 'project', 'delete'],
193
- description: 'Delete a project (soft delete).',
194
- goal: 'Allow project owners to remove projects.',
195
- context: 'Project settings page.',
196
- },
197
- io: {
198
- input: DeleteProjectInputModel,
199
- output: DeleteProjectOutputModel,
200
- },
201
- policy: {
202
- auth: 'user',
203
- },
204
- sideEffects: {
205
- emits: [
206
- {
207
- key: 'project.deleted',
208
- version: '1.0.0',
209
- when: 'Project is deleted',
210
- payload: ProjectDeletedPayloadModel,
211
- },
212
- ],
213
- audit: ['project.deleted'],
214
- },
215
- acceptance: {
216
- scenarios: [
217
- {
218
- key: 'delete-project-happy-path',
219
- given: ['Project exists'],
220
- when: ['User deletes project'],
221
- then: ['Project is deleted', 'ProjectDeleted event is emitted'],
222
- },
223
- ],
224
- examples: [
225
- {
226
- key: 'delete-existing',
227
- input: { projectId: 'proj-123' },
228
- output: { success: true },
229
- },
230
- ],
231
- },
187
+ meta: {
188
+ key: 'saas.project.delete',
189
+ version: '1.0.0',
190
+ stability: 'stable',
191
+ owners: [...OWNERS],
192
+ tags: ['saas', 'project', 'delete'],
193
+ description: 'Delete a project (soft delete).',
194
+ goal: 'Allow project owners to remove projects.',
195
+ context: 'Project settings page.',
196
+ },
197
+ io: {
198
+ input: DeleteProjectInputModel,
199
+ output: DeleteProjectOutputModel,
200
+ },
201
+ policy: {
202
+ auth: 'user',
203
+ },
204
+ sideEffects: {
205
+ emits: [
206
+ {
207
+ key: 'project.deleted',
208
+ version: '1.0.0',
209
+ when: 'Project is deleted',
210
+ payload: ProjectDeletedPayloadModel,
211
+ },
212
+ ],
213
+ audit: ['project.deleted'],
214
+ },
215
+ acceptance: {
216
+ scenarios: [
217
+ {
218
+ key: 'delete-project-happy-path',
219
+ given: ['Project exists'],
220
+ when: ['User deletes project'],
221
+ then: ['Project is deleted', 'ProjectDeleted event is emitted'],
222
+ },
223
+ ],
224
+ examples: [
225
+ {
226
+ key: 'delete-existing',
227
+ input: { projectId: 'proj-123' },
228
+ output: { success: true },
229
+ },
230
+ ],
231
+ },
232
232
  });
233
233
 
234
234
  /**
235
235
  * List organization projects.
236
236
  */
237
237
  export const ListProjectsContract = defineQuery({
238
- meta: {
239
- key: 'saas.project.list',
240
- version: '1.0.0',
241
- stability: 'stable',
242
- owners: [...OWNERS],
243
- tags: ['saas', 'project', 'list'],
244
- description: 'List projects in the organization.',
245
- goal: 'Show all projects user has access to.',
246
- context: 'Project list page, dashboard.',
247
- },
248
- io: {
249
- input: ListProjectsInputModel,
250
- output: ListProjectsOutputModel,
251
- },
252
- policy: {
253
- auth: 'user',
254
- },
255
- acceptance: {
256
- scenarios: [
257
- {
258
- key: 'list-projects-happy-path',
259
- given: ['Projects exist'],
260
- when: ['User lists projects'],
261
- then: ['List of projects is returned'],
262
- },
263
- ],
264
- examples: [
265
- {
266
- key: 'list-all',
267
- input: { limit: 10 },
268
- output: { items: [], total: 5 },
269
- },
270
- ],
271
- },
238
+ meta: {
239
+ key: 'saas.project.list',
240
+ version: '1.0.0',
241
+ stability: 'stable',
242
+ owners: [...OWNERS],
243
+ tags: ['saas', 'project', 'list'],
244
+ description: 'List projects in the organization.',
245
+ goal: 'Show all projects user has access to.',
246
+ context: 'Project list page, dashboard.',
247
+ },
248
+ io: {
249
+ input: ListProjectsInputModel,
250
+ output: ListProjectsOutputModel,
251
+ },
252
+ policy: {
253
+ auth: 'user',
254
+ },
255
+ acceptance: {
256
+ scenarios: [
257
+ {
258
+ key: 'list-projects-happy-path',
259
+ given: ['Projects exist'],
260
+ when: ['User lists projects'],
261
+ then: ['List of projects is returned'],
262
+ },
263
+ ],
264
+ examples: [
265
+ {
266
+ key: 'list-all',
267
+ input: { limit: 10 },
268
+ output: { items: [], total: 5 },
269
+ },
270
+ ],
271
+ },
272
272
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
- definePresentation,
3
- StabilityEnum,
2
+ definePresentation,
3
+ StabilityEnum,
4
4
  } from '@contractspec/lib.contracts-spec';
5
5
  import { ProjectModel } from './project.schema';
6
6
 
@@ -8,54 +8,54 @@ import { ProjectModel } from './project.schema';
8
8
  * Presentation for displaying a list of projects.
9
9
  */
10
10
  export const ProjectListPresentation = definePresentation({
11
- meta: {
12
- key: 'saas.project.list',
13
- version: '1.0.0',
14
- title: 'Project List',
15
- description:
16
- 'List view of projects with status, tags, and last updated info',
17
- domain: 'saas-boilerplate',
18
- owners: ['@saas-team'],
19
- tags: ['project', 'list', 'dashboard'],
20
- stability: StabilityEnum.Beta,
21
- goal: 'Browse and manage projects',
22
- context: 'Project list page',
23
- },
24
- source: {
25
- type: 'component',
26
- framework: 'react',
27
- componentKey: 'ProjectListView',
28
- props: ProjectModel,
29
- },
30
- targets: ['react', 'markdown', 'application/json'],
31
- policy: {
32
- flags: ['saas.projects.enabled'],
33
- },
11
+ meta: {
12
+ key: 'saas.project.list',
13
+ version: '1.0.0',
14
+ title: 'Project List',
15
+ description:
16
+ 'List view of projects with status, tags, and last updated info',
17
+ domain: 'saas-boilerplate',
18
+ owners: ['@saas-team'],
19
+ tags: ['project', 'list', 'dashboard'],
20
+ stability: StabilityEnum.Beta,
21
+ goal: 'Browse and manage projects',
22
+ context: 'Project list page',
23
+ },
24
+ source: {
25
+ type: 'component',
26
+ framework: 'react',
27
+ componentKey: 'ProjectListView',
28
+ props: ProjectModel,
29
+ },
30
+ targets: ['react', 'markdown', 'application/json'],
31
+ policy: {
32
+ flags: ['saas.projects.enabled'],
33
+ },
34
34
  });
35
35
 
36
36
  /**
37
37
  * Presentation for project detail view.
38
38
  */
39
39
  export const ProjectDetailPresentation = definePresentation({
40
- meta: {
41
- key: 'saas.project.detail',
42
- version: '1.0.0',
43
- title: 'Project Details',
44
- description: 'Detailed view of a project with settings and activity',
45
- domain: 'saas-boilerplate',
46
- owners: ['@saas-team'],
47
- tags: ['project', 'detail'],
48
- stability: StabilityEnum.Beta,
49
- goal: 'View and edit project details',
50
- context: 'Project detail page',
51
- },
52
- source: {
53
- type: 'component',
54
- framework: 'react',
55
- componentKey: 'ProjectDetailView',
56
- },
57
- targets: ['react', 'markdown'],
58
- policy: {
59
- flags: ['saas.projects.enabled'],
60
- },
40
+ meta: {
41
+ key: 'saas.project.detail',
42
+ version: '1.0.0',
43
+ title: 'Project Details',
44
+ description: 'Detailed view of a project with settings and activity',
45
+ domain: 'saas-boilerplate',
46
+ owners: ['@saas-team'],
47
+ tags: ['project', 'detail'],
48
+ stability: StabilityEnum.Beta,
49
+ goal: 'View and edit project details',
50
+ context: 'Project detail page',
51
+ },
52
+ source: {
53
+ type: 'component',
54
+ framework: 'react',
55
+ componentKey: 'ProjectDetailView',
56
+ },
57
+ targets: ['react', 'markdown'],
58
+ policy: {
59
+ flags: ['saas.projects.enabled'],
60
+ },
61
61
  });