create-carlonicora-app 1.3.7 → 1.4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-carlonicora-app",
3
- "version": "1.3.7",
3
+ "version": "1.4.0",
4
4
  "description": "Create a NestJS + Next.js monorepo project with Neo4j and JSON:API",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -27,7 +27,7 @@ export const migration: MigrationInterface[] = [
27
27
  queryParams: {
28
28
  featureId: "17036fb0-060b-4c83-a617-f32259819783",
29
29
  featureName: "Common",
30
- isProduction: true,
30
+ isCore: true,
31
31
  },
32
32
  },
33
33
  ];
@@ -11,7 +11,7 @@ export const migration: MigrationInterface[] = [
11
11
  queryParams: {
12
12
  moduleName: "Auth",
13
13
  moduleId: "035fe8a6-d467-40c0-9d1d-6a87f0dd286e",
14
- featureId: null,
14
+ featureId: "17036fb0-060b-4c83-a617-f32259819783",
15
15
  isCore: true,
16
16
  permissions: JSON.stringify([
17
17
  { type: Action.Create, value: true },
@@ -26,7 +26,7 @@ export const migration: MigrationInterface[] = [
26
26
  queryParams: {
27
27
  moduleName: "Company",
28
28
  moduleId: "f9e77c8f-bfd1-4fd4-80b0-e1d891ab7113",
29
- featureId: null,
29
+ featureId: "17036fb0-060b-4c83-a617-f32259819783",
30
30
  isCore: true,
31
31
  permissions: JSON.stringify([{ type: Action.Read, value: true }]),
32
32
  },
@@ -36,7 +36,7 @@ export const migration: MigrationInterface[] = [
36
36
  queryParams: {
37
37
  moduleName: "Feature",
38
38
  moduleId: "025fdd23-2803-4360-9fd9-eaa3612c2e23",
39
- featureId: null,
39
+ featureId: "17036fb0-060b-4c83-a617-f32259819783",
40
40
  isCore: true,
41
41
  permissions: JSON.stringify([{ type: Action.Read, value: true }]),
42
42
  },
@@ -46,7 +46,7 @@ export const migration: MigrationInterface[] = [
46
46
  queryParams: {
47
47
  moduleName: "Notification",
48
48
  moduleId: "9259d704-c670-4e77-a3a1-a728ffc5be3d",
49
- featureId: null,
49
+ featureId: "17036fb0-060b-4c83-a617-f32259819783",
50
50
  isCore: true,
51
51
  permissions: JSON.stringify([
52
52
  { type: Action.Read, value: true },
@@ -59,7 +59,7 @@ export const migration: MigrationInterface[] = [
59
59
  queryParams: {
60
60
  moduleName: "Role",
61
61
  moduleId: "9f6416e6-7b9b-4e1a-a99f-833191eca8a9",
62
- featureId: null,
62
+ featureId: "17036fb0-060b-4c83-a617-f32259819783",
63
63
  isCore: true,
64
64
  permissions: JSON.stringify([{ type: Action.Read, value: true }]),
65
65
  },
@@ -69,7 +69,7 @@ export const migration: MigrationInterface[] = [
69
69
  queryParams: {
70
70
  moduleName: "S3",
71
71
  moduleId: "db41ba46-e171-4324-8845-99353eba8568",
72
- featureId: null,
72
+ featureId: "17036fb0-060b-4c83-a617-f32259819783",
73
73
  isCore: true,
74
74
  permissions: JSON.stringify([{ type: Action.Read, value: true }]),
75
75
  },
@@ -79,7 +79,7 @@ export const migration: MigrationInterface[] = [
79
79
  queryParams: {
80
80
  moduleName: "User",
81
81
  moduleId: "04cfc677-0fd2-4f5e-adf4-2483a00c0277",
82
- featureId: null,
82
+ featureId: "17036fb0-060b-4c83-a617-f32259819783",
83
83
  isCore: true,
84
84
  permissions: JSON.stringify([
85
85
  { type: Action.Read, value: true },
@@ -2,12 +2,12 @@ export const featureQuery = `
2
2
  MERGE (feature:Feature {id: $featureId})
3
3
  ON CREATE SET
4
4
  feature.name=$featureName,
5
- feature.isProduction=$isProduction,
5
+ feature.isCore=$isCore,
6
6
  feature.createdAt = datetime(),
7
7
  feature.updatedAt = datetime()
8
8
  ON MATCH SET
9
9
  feature.name=$featureName,
10
- feature.isProduction=$isProduction,
10
+ feature.isCore=$isCore,
11
11
  feature.updatedAt = datetime()
12
12
  RETURN feature
13
13
  `;
@@ -220,6 +220,11 @@
220
220
  "error": "Author is required",
221
221
  "label": "Author",
222
222
  "placeholder": "Select Author"
223
+ },
224
+ "owner": {
225
+ "error": "Owner is required",
226
+ "label": "Owner",
227
+ "placeholder": "Select Owner"
223
228
  }
224
229
  },
225
230
  "relevance": "Relevance",