@kinotic-ai/os-api 1.0.7 → 1.0.8

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/dist/index.cjs CHANGED
@@ -295,17 +295,17 @@ class EntityDefinition {
295
295
  applicationId;
296
296
  projectId;
297
297
  name;
298
- entityDefinition;
298
+ schema;
299
299
  description;
300
300
  created;
301
301
  updated;
302
302
  published;
303
303
  publishedTimestamp;
304
- constructor(applicationId, projectId, name, entityDefinition, description) {
304
+ constructor(applicationId, projectId, name, schema, description) {
305
305
  this.applicationId = applicationId;
306
306
  this.projectId = projectId;
307
307
  this.name = name;
308
- this.entityDefinition = entityDefinition;
308
+ this.schema = schema;
309
309
  this.description = description;
310
310
  }
311
311
  }
@@ -314,13 +314,13 @@ class NamedQueriesDefinition {
314
314
  id;
315
315
  applicationId;
316
316
  projectId;
317
- structure;
317
+ entityDefinitionName;
318
318
  namedQueries;
319
- constructor(id, applicationId, projectId, structure, namedQueries) {
319
+ constructor(id, applicationId, projectId, entityDefinitionName, namedQueries) {
320
320
  this.id = id;
321
321
  this.applicationId = applicationId;
322
322
  this.projectId = projectId;
323
- this.structure = structure;
323
+ this.entityDefinitionName = entityDefinitionName;
324
324
  this.namedQueries = namedQueries;
325
325
  }
326
326
  }
package/dist/index.d.cts CHANGED
@@ -196,26 +196,26 @@ declare class EntityDefinition implements Identifiable3<string> {
196
196
  */
197
197
  projectId: string;
198
198
  name: string;
199
- entityDefinition: ObjectC3Type3;
199
+ schema: ObjectC3Type3;
200
200
  description?: string | null;
201
201
  created: number;
202
202
  updated: number;
203
203
  published: boolean;
204
204
  publishedTimestamp: number;
205
- constructor(applicationId: string, projectId: string, name: string, entityDefinition: ObjectC3Type3, description?: string | null);
205
+ constructor(applicationId: string, projectId: string, name: string, schema: ObjectC3Type3, description?: string | null);
206
206
  }
207
207
  import { Identifiable as Identifiable4 } from "@kinotic-ai/core";
208
208
  import { FunctionDefinition } from "@kinotic-ai/idl";
209
209
  /**
210
- * Provides Metadata that represents Named Queries for a Application
210
+ * Provides Metadata that represents Named Queries for an Application
211
211
  */
212
212
  declare class NamedQueriesDefinition implements Identifiable4<string> {
213
213
  id: string;
214
214
  applicationId: string;
215
215
  projectId: string;
216
- structure: string;
216
+ entityDefinitionName: string;
217
217
  namedQueries: FunctionDefinition[];
218
- constructor(id: string, applicationId: string, projectId: string, structure: string, namedQueries: FunctionDefinition[]);
218
+ constructor(id: string, applicationId: string, projectId: string, entityDefinitionName: string, namedQueries: FunctionDefinition[]);
219
219
  }
220
220
  /**
221
221
  * Represents a migration definition that can be sent via the API.
package/dist/index.d.ts CHANGED
@@ -196,26 +196,26 @@ declare class EntityDefinition implements Identifiable3<string> {
196
196
  */
197
197
  projectId: string;
198
198
  name: string;
199
- entityDefinition: ObjectC3Type3;
199
+ schema: ObjectC3Type3;
200
200
  description?: string | null;
201
201
  created: number;
202
202
  updated: number;
203
203
  published: boolean;
204
204
  publishedTimestamp: number;
205
- constructor(applicationId: string, projectId: string, name: string, entityDefinition: ObjectC3Type3, description?: string | null);
205
+ constructor(applicationId: string, projectId: string, name: string, schema: ObjectC3Type3, description?: string | null);
206
206
  }
207
207
  import { Identifiable as Identifiable4 } from "@kinotic-ai/core";
208
208
  import { FunctionDefinition } from "@kinotic-ai/idl";
209
209
  /**
210
- * Provides Metadata that represents Named Queries for a Application
210
+ * Provides Metadata that represents Named Queries for an Application
211
211
  */
212
212
  declare class NamedQueriesDefinition implements Identifiable4<string> {
213
213
  id: string;
214
214
  applicationId: string;
215
215
  projectId: string;
216
- structure: string;
216
+ entityDefinitionName: string;
217
217
  namedQueries: FunctionDefinition[];
218
- constructor(id: string, applicationId: string, projectId: string, structure: string, namedQueries: FunctionDefinition[]);
218
+ constructor(id: string, applicationId: string, projectId: string, entityDefinitionName: string, namedQueries: FunctionDefinition[]);
219
219
  }
220
220
  /**
221
221
  * Represents a migration definition that can be sent via the API.
package/dist/index.js CHANGED
@@ -214,17 +214,17 @@ class EntityDefinition {
214
214
  applicationId;
215
215
  projectId;
216
216
  name;
217
- entityDefinition;
217
+ schema;
218
218
  description;
219
219
  created;
220
220
  updated;
221
221
  published;
222
222
  publishedTimestamp;
223
- constructor(applicationId, projectId, name, entityDefinition, description) {
223
+ constructor(applicationId, projectId, name, schema, description) {
224
224
  this.applicationId = applicationId;
225
225
  this.projectId = projectId;
226
226
  this.name = name;
227
- this.entityDefinition = entityDefinition;
227
+ this.schema = schema;
228
228
  this.description = description;
229
229
  }
230
230
  }
@@ -233,13 +233,13 @@ class NamedQueriesDefinition {
233
233
  id;
234
234
  applicationId;
235
235
  projectId;
236
- structure;
236
+ entityDefinitionName;
237
237
  namedQueries;
238
- constructor(id, applicationId, projectId, structure, namedQueries) {
238
+ constructor(id, applicationId, projectId, entityDefinitionName, namedQueries) {
239
239
  this.id = id;
240
240
  this.applicationId = applicationId;
241
241
  this.projectId = projectId;
242
- this.structure = structure;
242
+ this.entityDefinitionName = entityDefinitionName;
243
243
  this.namedQueries = namedQueries;
244
244
  }
245
245
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kinotic-ai/os-api",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -33,9 +33,9 @@
33
33
  "ui-test": "vitest --ui --coverage.enabled=true --mode development"
34
34
  },
35
35
  "dependencies": {
36
- "@kinotic-ai/core": "1.0.7",
37
- "@kinotic-ai/idl": "1.0.7",
38
- "@kinotic-ai/persistence": "1.0.7",
36
+ "@kinotic-ai/core": "1.0.8",
37
+ "@kinotic-ai/idl": "1.0.8",
38
+ "@kinotic-ai/persistence": "1.0.8",
39
39
  "rxjs": "^7.8.2"
40
40
  },
41
41
  "devDependencies": {