@eide/foir-cli 0.1.20 → 0.1.22

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.
@@ -1 +1 @@
1
- {"version":3,"file":"records.d.ts","sourceRoot":"","sources":["../../src/commands/records.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA6BtD,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,MAAM,aAAa,GAC9B,IAAI,CA2YN"}
1
+ {"version":3,"file":"records.d.ts","sourceRoot":"","sources":["../../src/commands/records.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA6BtD,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,MAAM,aAAa,GAC9B,IAAI,CAwYN"}
@@ -30,8 +30,7 @@ export function registerRecordsCommands(program, globalOpts) {
30
30
  columns: [
31
31
  { key: 'id', header: 'ID', width: 28 },
32
32
  { key: 'naturalKey', header: 'Key', width: 24 },
33
- { key: 'recordType', header: 'Type', width: 10 },
34
- { key: 'publishStatus', header: 'Status', width: 12 },
33
+ { key: 'versionNumber', header: 'Version', width: 8 },
35
34
  {
36
35
  key: 'updatedAt',
37
36
  header: 'Updated',
@@ -199,7 +198,6 @@ export function registerRecordsCommands(program, globalOpts) {
199
198
  columns: [
200
199
  { key: 'id', header: 'Version ID', width: 28 },
201
200
  { key: 'versionNumber', header: '#', width: 5 },
202
- { key: 'publishStatus', header: 'Status', width: 12 },
203
201
  { key: 'changeDescription', header: 'Description', width: 30 },
204
202
  {
205
203
  key: 'createdAt',
@@ -222,7 +220,6 @@ export function registerRecordsCommands(program, globalOpts) {
222
220
  columns: [
223
221
  { key: 'id', header: 'Variant ID', width: 28 },
224
222
  { key: 'variantKey', header: 'Key', width: 20 },
225
- { key: 'variantName', header: 'Name', width: 20 },
226
223
  { key: 'isDefault', header: 'Default', width: 8 },
227
224
  {
228
225
  key: 'createdAt',
@@ -9,12 +9,12 @@ export declare const GET_AUTH_PROVIDER = "\n query($id: ID!) {\n customerAut
9
9
  export declare const CREATE_AUTH_PROVIDER = "\n mutation($input: CreateAuthProviderInput!) {\n createCustomerAuthProvider(input: $input) {\n id key name type enabled isDefault priority createdAt\n }\n }\n";
10
10
  export declare const UPDATE_AUTH_PROVIDER = "\n mutation($id: ID!, $input: UpdateAuthProviderInput!) {\n updateCustomerAuthProvider(id: $id, input: $input) {\n id key name type enabled isDefault priority updatedAt\n }\n }\n";
11
11
  export declare const DELETE_AUTH_PROVIDER = "\n mutation($id: ID!) { deleteCustomerAuthProvider(id: $id) }\n";
12
- export declare const RECORD = "\n query($id: ID!) { record(id: $id) { id modelKey naturalKey recordType parentId data metadata currentVersionId publishedVersionId publishedVersionNumber publishedAt publishedBy publishStatus versionNumber customerId createdAt updatedAt createdBy updatedBy } }\n";
13
- export declare const RECORD_RESOLVED = "\n query($id: ID!, $locale: String, $preview: Boolean) {\n record(id: $id) {\n id modelKey naturalKey recordType parentId data metadata currentVersionId publishedVersionId publishedVersionNumber publishedAt publishedBy publishStatus versionNumber customerId createdAt updatedAt createdBy updatedBy\n resolved(locale: $locale, preview: $preview) {\n content\n record { id modelKey naturalKey }\n variant { id variantKey variantName }\n version { id versionNumber publishStatus }\n }\n }\n }\n";
14
- export declare const RECORD_BY_KEY = "\n query($modelKey: String!, $naturalKey: String!) { recordByKey(modelKey: $modelKey, naturalKey: $naturalKey) { id modelKey naturalKey recordType parentId data metadata currentVersionId publishedVersionId publishedVersionNumber publishedAt publishedBy publishStatus versionNumber customerId createdAt updatedAt createdBy updatedBy } }\n";
15
- export declare const RECORD_BY_KEY_RESOLVED = "\n query($modelKey: String!, $naturalKey: String!, $locale: String, $preview: Boolean) {\n recordByKey(modelKey: $modelKey, naturalKey: $naturalKey) {\n id modelKey naturalKey recordType parentId data metadata currentVersionId publishedVersionId publishedVersionNumber publishedAt publishedBy publishStatus versionNumber customerId createdAt updatedAt createdBy updatedBy\n resolved(locale: $locale, preview: $preview) {\n content\n record { id modelKey naturalKey }\n variant { id variantKey variantName }\n version { id versionNumber publishStatus }\n }\n }\n }\n";
16
- export declare const RECORDS = "\n query($modelKey: String!, $limit: Int, $offset: Int, $filters: [FilterInput!], $sort: SortInput) {\n records(modelKey: $modelKey, limit: $limit, offset: $offset, filters: $filters, sort: $sort) {\n items { id modelKey naturalKey recordType publishStatus versionNumber customerId createdAt updatedAt }\n total\n }\n }\n";
17
- export declare const CREATE_RECORD = "\n mutation($input: CreateRecordInput!) { createRecord(input: $input) { record { id modelKey naturalKey recordType data metadata createdAt } variant { id variantKey } version { id versionNumber } } }\n";
12
+ export declare const RECORD = "\n query($id: ID!) { record(id: $id) { id modelKey naturalKey data metadata publishedVersionNumber publishedAt versionNumber changeDescription createdAt updatedAt } }\n";
13
+ export declare const RECORD_RESOLVED = "\n query($id: ID!, $locale: String, $preview: Boolean) {\n record(id: $id) {\n id modelKey naturalKey data metadata publishedVersionNumber publishedAt versionNumber changeDescription createdAt updatedAt\n resolved(locale: $locale, preview: $preview) {\n content\n record { id modelKey naturalKey }\n variant { id variantKey }\n version { id versionNumber }\n }\n }\n }\n";
14
+ export declare const RECORD_BY_KEY = "\n query($modelKey: String!, $naturalKey: String!) { recordByKey(modelKey: $modelKey, naturalKey: $naturalKey) { id modelKey naturalKey data metadata publishedVersionNumber publishedAt versionNumber changeDescription createdAt updatedAt } }\n";
15
+ export declare const RECORD_BY_KEY_RESOLVED = "\n query($modelKey: String!, $naturalKey: String!, $locale: String, $preview: Boolean) {\n recordByKey(modelKey: $modelKey, naturalKey: $naturalKey) {\n id modelKey naturalKey data metadata publishedVersionNumber publishedAt versionNumber changeDescription createdAt updatedAt\n resolved(locale: $locale, preview: $preview) {\n content\n record { id modelKey naturalKey }\n variant { id variantKey }\n version { id versionNumber }\n }\n }\n }\n";
16
+ export declare const RECORDS = "\n query($modelKey: String!, $limit: Int, $offset: Int, $filters: [FilterInput!], $sort: SortInput) {\n records(modelKey: $modelKey, limit: $limit, offset: $offset, filters: $filters, sort: $sort) {\n items { id modelKey naturalKey versionNumber createdAt updatedAt }\n total\n }\n }\n";
17
+ export declare const CREATE_RECORD = "\n mutation($input: CreateRecordInput!) { createRecord(input: $input) { record { id modelKey naturalKey data metadata createdAt } } }\n";
18
18
  export declare const UPDATE_RECORD = "\n mutation($input: UpdateRecordInput!) { updateRecord(input: $input) { record { id modelKey naturalKey data metadata updatedAt } matched } }\n";
19
19
  export declare const DELETE_RECORD = "\n mutation($id: ID!) { deleteRecord(id: $id) { id modelKey naturalKey } }\n";
20
20
  export declare const PUBLISH_VERSION = "\n mutation($versionId: ID!) { publishVersion(versionId: $versionId) }\n";
@@ -22,7 +22,7 @@ export declare const UNPUBLISH_RECORD = "\n mutation($id: ID!) { unpublishRecor
22
22
  export declare const DUPLICATE_RECORD = "\n mutation($input: DuplicateRecordInput!) { duplicateRecord(input: $input) { record { id modelKey naturalKey } variant { id variantKey } version { id versionNumber } } }\n";
23
23
  export declare const CREATE_VERSION = "\n mutation($input: CreateVersionInput!) { createVersion(input: $input) { id modelKey recordType parentId data metadata versionNumber contentHash changeDescription publishStatus createdAt } }\n";
24
24
  export declare const CREATE_VARIANT = "\n mutation($input: CreateVariantInput!) { createVariant(input: $input) { id modelKey recordType parentId variantKey variantName isDefault priority createdAt } }\n";
25
- export declare const RECORD_VERSIONS = "\n query($parentId: ID!, $limit: Int, $offset: Int) { recordVersions(parentId: $parentId, limit: $limit, offset: $offset) { items { id versionNumber publishStatus data contentHash changeDescription createdAt createdBy } } }\n";
25
+ export declare const RECORD_VERSIONS = "\n query($parentId: ID!, $limit: Int, $offset: Int) { recordVersions(parentId: $parentId, limit: $limit, offset: $offset) { items { id versionNumber data changeDescription createdAt } } }\n";
26
26
  export declare const RECORD_VARIANTS = "\n query($recordId: ID!, $limit: Int, $offset: Int) { recordVariants(recordId: $recordId, limit: $limit, offset: $offset) { items { id variantKey variantName isDefault priority createdAt } } }\n";
27
27
  export declare const MODELS_FOR_CODEGEN = "\n query($limit: Int) {\n models(limit: $limit) {\n items { id key name pluralName description category fields config hooks }\n total\n }\n }\n";
28
28
  export declare const MODEL_BY_KEY = "\n query($key: String!) { modelByKey(key: $key) { id key name pluralName description category icon fields config hooks displayField extensionId systemEntity deletable editable currentVersionId publishedVersionNumber createdAt updatedAt } }\n";
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/graphql/queries.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,mBAAmB,8HAE/B,CAAC;AAIF,eAAO,MAAM,aAAa,oVAOzB,CAAC;AAEF,eAAO,MAAM,WAAW,oOAEvB,CAAC;AAEF,eAAO,MAAM,cAAc,2JAE1B,CAAC;AAEF,eAAO,MAAM,cAAc,mHAE1B,CAAC;AAEF,eAAO,MAAM,cAAc,sFAE1B,CAAC;AAIF,eAAO,MAAM,mBAAmB,oLAM/B,CAAC;AAEF,eAAO,MAAM,iBAAiB,oOAO7B,CAAC;AAEF,eAAO,MAAM,oBAAoB,iLAMhC,CAAC;AAEF,eAAO,MAAM,oBAAoB,oMAMhC,CAAC;AAEF,eAAO,MAAM,oBAAoB,qEAEhC,CAAC;AAIF,eAAO,MAAM,MAAM,6QAElB,CAAC;AAEF,eAAO,MAAM,eAAe,miBAY3B,CAAC;AAEF,eAAO,MAAM,aAAa,uVAEzB,CAAC;AAEF,eAAO,MAAM,sBAAsB,6mBAYlC,CAAC;AAEF,eAAO,MAAM,OAAO,wVAOnB,CAAC;AAEF,eAAO,MAAM,aAAa,+MAEzB,CAAC;AAEF,eAAO,MAAM,aAAa,qJAEzB,CAAC;AAEF,eAAO,MAAM,aAAa,kFAEzB,CAAC;AAEF,eAAO,MAAM,eA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IAElB,CAAC;AAEF,eAAO,MAAM,cAAc,4JAE1B,CAAC;AAEF,eAAO,MAAM,cAAc,qGAE1B,CAAC;AAEF,eAAO,MAAM,aAAa,6HAEzB,CAAC;AAEF,eAAO,MAAM,aAAa,gJAEzB,CAAC;AAEF,eAAO,MAAM,aAAa,uDAEzB,CAAC;AAIF,eAAO,MAAM,KAAK,+VAOjB,CAAC;AAEF,eAAO,MAAM,IAAI,yKAEhB,CAAC;AAEF,eAAO,MAAM,kBAAkB,uFAE9B,CAAC;AAEF,eAAO,MAAM,WAAW,uRAEvB,CAAC;AAEF,eAAO,MAAM,oBAAoB,qOAEhC,CAAC;AAEF,eAAO,MAAM,WAAW,qDAEvB,CAAC;AAIF,eAAO,MAAM,KAAK,6XAOjB,CAAC;AAEF,eAAO,MAAM,IAAI,qLAEhB,CAAC;AAEF,eAAO,MAAM,WAAW,8HAEvB,CAAC;AAEF,eAAO,MAAM,YAAY,qHAExB,CAAC;AAEF,eAAO,MAAM,WAAW,iEAEvB,CAAC;AAIF,eAAO,MAAM,eAAe,qNAE3B,CAAC;AAEF,eAAO,MAAM,qBAAqB,yIAEjC,CAAC;AAEF,eAAO,MAAM,4BAA4B,qJAExC,CAAC;AAEF,eAAO,MAAM,4BAA4B,iJAExC,CAAC;AAEF,eAAO,MAAM,4BAA4B,oKAExC,CAAC;AAEF,eAAO,MAAM,4BAA4B,oEAExC,CAAC"}
@@ -62,33 +62,33 @@ export const DELETE_AUTH_PROVIDER = `
62
62
  `;
63
63
  // --- Records ---
64
64
  export const RECORD = `
65
- query($id: ID!) { record(id: $id) { id modelKey naturalKey recordType parentId data metadata currentVersionId publishedVersionId publishedVersionNumber publishedAt publishedBy publishStatus versionNumber customerId createdAt updatedAt createdBy updatedBy } }
65
+ query($id: ID!) { record(id: $id) { id modelKey naturalKey data metadata publishedVersionNumber publishedAt versionNumber changeDescription createdAt updatedAt } }
66
66
  `;
67
67
  export const RECORD_RESOLVED = `
68
68
  query($id: ID!, $locale: String, $preview: Boolean) {
69
69
  record(id: $id) {
70
- id modelKey naturalKey recordType parentId data metadata currentVersionId publishedVersionId publishedVersionNumber publishedAt publishedBy publishStatus versionNumber customerId createdAt updatedAt createdBy updatedBy
70
+ id modelKey naturalKey data metadata publishedVersionNumber publishedAt versionNumber changeDescription createdAt updatedAt
71
71
  resolved(locale: $locale, preview: $preview) {
72
72
  content
73
73
  record { id modelKey naturalKey }
74
- variant { id variantKey variantName }
75
- version { id versionNumber publishStatus }
74
+ variant { id variantKey }
75
+ version { id versionNumber }
76
76
  }
77
77
  }
78
78
  }
79
79
  `;
80
80
  export const RECORD_BY_KEY = `
81
- query($modelKey: String!, $naturalKey: String!) { recordByKey(modelKey: $modelKey, naturalKey: $naturalKey) { id modelKey naturalKey recordType parentId data metadata currentVersionId publishedVersionId publishedVersionNumber publishedAt publishedBy publishStatus versionNumber customerId createdAt updatedAt createdBy updatedBy } }
81
+ query($modelKey: String!, $naturalKey: String!) { recordByKey(modelKey: $modelKey, naturalKey: $naturalKey) { id modelKey naturalKey data metadata publishedVersionNumber publishedAt versionNumber changeDescription createdAt updatedAt } }
82
82
  `;
83
83
  export const RECORD_BY_KEY_RESOLVED = `
84
84
  query($modelKey: String!, $naturalKey: String!, $locale: String, $preview: Boolean) {
85
85
  recordByKey(modelKey: $modelKey, naturalKey: $naturalKey) {
86
- id modelKey naturalKey recordType parentId data metadata currentVersionId publishedVersionId publishedVersionNumber publishedAt publishedBy publishStatus versionNumber customerId createdAt updatedAt createdBy updatedBy
86
+ id modelKey naturalKey data metadata publishedVersionNumber publishedAt versionNumber changeDescription createdAt updatedAt
87
87
  resolved(locale: $locale, preview: $preview) {
88
88
  content
89
89
  record { id modelKey naturalKey }
90
- variant { id variantKey variantName }
91
- version { id versionNumber publishStatus }
90
+ variant { id variantKey }
91
+ version { id versionNumber }
92
92
  }
93
93
  }
94
94
  }
@@ -96,13 +96,13 @@ export const RECORD_BY_KEY_RESOLVED = `
96
96
  export const RECORDS = `
97
97
  query($modelKey: String!, $limit: Int, $offset: Int, $filters: [FilterInput!], $sort: SortInput) {
98
98
  records(modelKey: $modelKey, limit: $limit, offset: $offset, filters: $filters, sort: $sort) {
99
- items { id modelKey naturalKey recordType publishStatus versionNumber customerId createdAt updatedAt }
99
+ items { id modelKey naturalKey versionNumber createdAt updatedAt }
100
100
  total
101
101
  }
102
102
  }
103
103
  `;
104
104
  export const CREATE_RECORD = `
105
- mutation($input: CreateRecordInput!) { createRecord(input: $input) { record { id modelKey naturalKey recordType data metadata createdAt } variant { id variantKey } version { id versionNumber } } }
105
+ mutation($input: CreateRecordInput!) { createRecord(input: $input) { record { id modelKey naturalKey data metadata createdAt } } }
106
106
  `;
107
107
  export const UPDATE_RECORD = `
108
108
  mutation($input: UpdateRecordInput!) { updateRecord(input: $input) { record { id modelKey naturalKey data metadata updatedAt } matched } }
@@ -126,7 +126,7 @@ export const CREATE_VARIANT = `
126
126
  mutation($input: CreateVariantInput!) { createVariant(input: $input) { id modelKey recordType parentId variantKey variantName isDefault priority createdAt } }
127
127
  `;
128
128
  export const RECORD_VERSIONS = `
129
- query($parentId: ID!, $limit: Int, $offset: Int) { recordVersions(parentId: $parentId, limit: $limit, offset: $offset) { items { id versionNumber publishStatus data contentHash changeDescription createdAt createdBy } } }
129
+ query($parentId: ID!, $limit: Int, $offset: Int) { recordVersions(parentId: $parentId, limit: $limit, offset: $offset) { items { id versionNumber data changeDescription createdAt } } }
130
130
  `;
131
131
  export const RECORD_VARIANTS = `
132
132
  query($recordId: ID!, $limit: Int, $offset: Int) { recordVariants(recordId: $recordId, limit: $limit, offset: $offset) { items { id variantKey variantName isDefault priority createdAt } } }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eide/foir-cli",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "description": "Universal platform CLI for EIDE — scriptable, composable resource management",
5
5
  "type": "module",
6
6
  "publishConfig": {