@kinotic-ai/os-api 1.0.7 → 1.0.9

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
@@ -145,7 +145,12 @@ declare class Application implements Identifiable<string> {
145
145
  constructor(id: string, description: string);
146
146
  }
147
147
  import { Identifiable as Identifiable2 } from "@kinotic-ai/core";
148
- import { ProjectType } from "@/api/domain/ProjectType";
148
+ declare enum ProjectType {
149
+ TYPESCRIPT = 0,
150
+ GRAPHQL = 1,
151
+ GRAPHICAL = 2,
152
+ ELASTICSEARCH = 3
153
+ }
149
154
  declare class Project implements Identifiable2<string> {
150
155
  /**
151
156
  * The id of the project.
@@ -175,12 +180,6 @@ declare class Project implements Identifiable2<string> {
175
180
  updated: number | null;
176
181
  constructor(id: string | null, applicationId: string, name: string, description?: string);
177
182
  }
178
- declare enum ProjectType2 {
179
- TYPESCRIPT = 0,
180
- GRAPHQL = 1,
181
- GRAPHICAL = 2,
182
- ELASTICSEARCH = 3
183
- }
184
183
  import { ObjectC3Type as ObjectC3Type3 } from "@kinotic-ai/idl";
185
184
  import { Identifiable as Identifiable3 } from "@kinotic-ai/core";
186
185
  declare class EntityDefinition implements Identifiable3<string> {
@@ -196,26 +195,26 @@ declare class EntityDefinition implements Identifiable3<string> {
196
195
  */
197
196
  projectId: string;
198
197
  name: string;
199
- entityDefinition: ObjectC3Type3;
198
+ schema: ObjectC3Type3;
200
199
  description?: string | null;
201
200
  created: number;
202
201
  updated: number;
203
202
  published: boolean;
204
203
  publishedTimestamp: number;
205
- constructor(applicationId: string, projectId: string, name: string, entityDefinition: ObjectC3Type3, description?: string | null);
204
+ constructor(applicationId: string, projectId: string, name: string, schema: ObjectC3Type3, description?: string | null);
206
205
  }
207
206
  import { Identifiable as Identifiable4 } from "@kinotic-ai/core";
208
207
  import { FunctionDefinition } from "@kinotic-ai/idl";
209
208
  /**
210
- * Provides Metadata that represents Named Queries for a Application
209
+ * Provides Metadata that represents Named Queries for an Application
211
210
  */
212
211
  declare class NamedQueriesDefinition implements Identifiable4<string> {
213
212
  id: string;
214
213
  applicationId: string;
215
214
  projectId: string;
216
- structure: string;
215
+ entityDefinitionName: string;
217
216
  namedQueries: FunctionDefinition[];
218
- constructor(id: string, applicationId: string, projectId: string, structure: string, namedQueries: FunctionDefinition[]);
217
+ constructor(id: string, applicationId: string, projectId: string, entityDefinitionName: string, namedQueries: FunctionDefinition[]);
219
218
  }
220
219
  /**
221
220
  * Represents a migration definition that can be sent via the API.
@@ -614,4 +613,4 @@ declare const OsApiPlugin: KinoticPlugin<IOsApiExtension>;
614
613
  declare module "@kinotic-ai/core" {
615
614
  interface KinoticSingleton extends IOsApiExtension {}
616
615
  }
617
- export { VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, QueryOptionsC3Type, QueryDecorator, ProjectType2 as ProjectType, ProjectService, Project, ProgressType, PageableC3Type, PageC3Type, OsApiPlugin, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, InsightRequest, InsightProgress, IdDecorator, IProjectService, IOsApiExtension, INamedQueriesDefinitionService, IMigrationService, ILogManager, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, AutoGeneratedIdDecorator, ApplicationService, Application };
616
+ export { VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, QueryOptionsC3Type, QueryDecorator, ProjectType, ProjectService, Project, ProgressType, PageableC3Type, PageC3Type, OsApiPlugin, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, InsightRequest, InsightProgress, IdDecorator, IProjectService, IOsApiExtension, INamedQueriesDefinitionService, IMigrationService, ILogManager, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, AutoGeneratedIdDecorator, ApplicationService, Application };
package/dist/index.d.ts CHANGED
@@ -145,7 +145,12 @@ declare class Application implements Identifiable<string> {
145
145
  constructor(id: string, description: string);
146
146
  }
147
147
  import { Identifiable as Identifiable2 } from "@kinotic-ai/core";
148
- import { ProjectType } from "@/api/domain/ProjectType";
148
+ declare enum ProjectType {
149
+ TYPESCRIPT = 0,
150
+ GRAPHQL = 1,
151
+ GRAPHICAL = 2,
152
+ ELASTICSEARCH = 3
153
+ }
149
154
  declare class Project implements Identifiable2<string> {
150
155
  /**
151
156
  * The id of the project.
@@ -175,12 +180,6 @@ declare class Project implements Identifiable2<string> {
175
180
  updated: number | null;
176
181
  constructor(id: string | null, applicationId: string, name: string, description?: string);
177
182
  }
178
- declare enum ProjectType2 {
179
- TYPESCRIPT = 0,
180
- GRAPHQL = 1,
181
- GRAPHICAL = 2,
182
- ELASTICSEARCH = 3
183
- }
184
183
  import { ObjectC3Type as ObjectC3Type3 } from "@kinotic-ai/idl";
185
184
  import { Identifiable as Identifiable3 } from "@kinotic-ai/core";
186
185
  declare class EntityDefinition implements Identifiable3<string> {
@@ -196,26 +195,26 @@ declare class EntityDefinition implements Identifiable3<string> {
196
195
  */
197
196
  projectId: string;
198
197
  name: string;
199
- entityDefinition: ObjectC3Type3;
198
+ schema: ObjectC3Type3;
200
199
  description?: string | null;
201
200
  created: number;
202
201
  updated: number;
203
202
  published: boolean;
204
203
  publishedTimestamp: number;
205
- constructor(applicationId: string, projectId: string, name: string, entityDefinition: ObjectC3Type3, description?: string | null);
204
+ constructor(applicationId: string, projectId: string, name: string, schema: ObjectC3Type3, description?: string | null);
206
205
  }
207
206
  import { Identifiable as Identifiable4 } from "@kinotic-ai/core";
208
207
  import { FunctionDefinition } from "@kinotic-ai/idl";
209
208
  /**
210
- * Provides Metadata that represents Named Queries for a Application
209
+ * Provides Metadata that represents Named Queries for an Application
211
210
  */
212
211
  declare class NamedQueriesDefinition implements Identifiable4<string> {
213
212
  id: string;
214
213
  applicationId: string;
215
214
  projectId: string;
216
- structure: string;
215
+ entityDefinitionName: string;
217
216
  namedQueries: FunctionDefinition[];
218
- constructor(id: string, applicationId: string, projectId: string, structure: string, namedQueries: FunctionDefinition[]);
217
+ constructor(id: string, applicationId: string, projectId: string, entityDefinitionName: string, namedQueries: FunctionDefinition[]);
219
218
  }
220
219
  /**
221
220
  * Represents a migration definition that can be sent via the API.
@@ -614,4 +613,4 @@ declare const OsApiPlugin: KinoticPlugin<IOsApiExtension>;
614
613
  declare module "@kinotic-ai/core" {
615
614
  interface KinoticSingleton extends IOsApiExtension {}
616
615
  }
617
- export { VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, QueryOptionsC3Type, QueryDecorator, ProjectType2 as ProjectType, ProjectService, Project, ProgressType, PageableC3Type, PageC3Type, OsApiPlugin, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, InsightRequest, InsightProgress, IdDecorator, IProjectService, IOsApiExtension, INamedQueriesDefinitionService, IMigrationService, ILogManager, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, AutoGeneratedIdDecorator, ApplicationService, Application };
616
+ export { VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, QueryOptionsC3Type, QueryDecorator, ProjectType, ProjectService, Project, ProgressType, PageableC3Type, PageC3Type, OsApiPlugin, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, InsightRequest, InsightProgress, IdDecorator, IProjectService, IOsApiExtension, INamedQueriesDefinitionService, IMigrationService, ILogManager, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, AutoGeneratedIdDecorator, ApplicationService, Application };
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.9",
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.9",
37
+ "@kinotic-ai/idl": "1.0.9",
38
+ "@kinotic-ai/persistence": "1.0.9",
39
39
  "rxjs": "^7.8.2"
40
40
  },
41
41
  "devDependencies": {