@kinotic-ai/os-api 1.0.1 → 1.0.3

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
@@ -41,14 +41,10 @@ var __export = (target, all) => {
41
41
  var exports_src = {};
42
42
  __export(exports_src, {
43
43
  VersionDecorator: () => VersionDecorator,
44
- TypescriptProjectConfig: () => TypescriptProjectConfig,
45
- TypescriptExternalProjectConfig: () => TypescriptExternalProjectConfig,
46
- TransformConfiguration: () => TransformConfiguration,
47
44
  TimeReferenceDecorator: () => TimeReferenceDecorator,
48
45
  TextDecorator: () => TextDecorator,
49
46
  TenantSelectionC3Type: () => TenantSelectionC3Type,
50
47
  TenantIdDecorator: () => TenantIdDecorator,
51
- StructuresProjectConfig: () => StructuresProjectConfig,
52
48
  SingleLoggerLevelsDescriptor: () => SingleLoggerLevelsDescriptor,
53
49
  RoleDecorator: () => RoleDecorator,
54
50
  QueryOptionsC3Type: () => QueryOptionsC3Type,
@@ -60,7 +56,6 @@ __export(exports_src, {
60
56
  PolicyDecorator: () => PolicyDecorator,
61
57
  PageableC3Type: () => PageableC3Type,
62
58
  PageC3Type: () => PageC3Type,
63
- OverrideConfiguration: () => OverrideConfiguration,
64
59
  OsApiPlugin: () => OsApiPlugin,
65
60
  NotIndexedDecorator: () => NotIndexedDecorator,
66
61
  NestedDecorator: () => NestedDecorator,
@@ -71,6 +66,8 @@ __export(exports_src, {
71
66
  LoggerLevelsDescriptor: () => LoggerLevelsDescriptor,
72
67
  LogManager: () => LogManager,
73
68
  LogLevel: () => LogLevel,
69
+ KinoticSingleton: () => import_core5.KinoticSingleton,
70
+ Kinotic: () => import_core5.Kinotic,
74
71
  IdDecorator: () => IdDecorator,
75
72
  GroupLoggerLevelsDescriptor: () => GroupLoggerLevelsDescriptor,
76
73
  FlattenedDecorator: () => FlattenedDecorator,
@@ -78,10 +75,8 @@ __export(exports_src, {
78
75
  EntityDefinitionService: () => EntityDefinitionService,
79
76
  EntityDefinition: () => EntityDefinition,
80
77
  EntityDecorator: () => EntityDecorator,
81
- EntityConfiguration: () => EntityConfiguration,
82
78
  DiscriminatorDecorator: () => DiscriminatorDecorator,
83
79
  DataInsightsService: () => DataInsightsService,
84
- CalculatedPropertyConfiguration: () => CalculatedPropertyConfiguration,
85
80
  AutoGeneratedIdDecorator: () => AutoGeneratedIdDecorator,
86
81
  ApplicationService: () => ApplicationService,
87
82
  Application: () => Application,
@@ -363,53 +358,6 @@ class NamedQueriesDefinition {
363
358
  this.namedQueries = namedQueries;
364
359
  }
365
360
  }
366
- // packages/os-api/src/api/model/config/CalculatedPropertyConfiguration.ts
367
- class CalculatedPropertyConfiguration {
368
- entityJsonPath;
369
- propertyName;
370
- calculatedPropertyFunctionName;
371
- decorators;
372
- }
373
- // packages/os-api/src/api/model/config/EntityConfiguration.ts
374
- class EntityConfiguration {
375
- entityName;
376
- multiTenancyType;
377
- excludeJsonPaths;
378
- overrides;
379
- transforms;
380
- calculatedProperties;
381
- }
382
- // packages/os-api/src/api/model/config/OverrideConfiguration.ts
383
- class OverrideConfiguration {
384
- jsonPath;
385
- propertyDefinition;
386
- }
387
- // packages/os-api/src/api/model/config/StructuresProjectConfig.ts
388
- class StructuresProjectConfig {
389
- mdl;
390
- name;
391
- description;
392
- application;
393
- entitiesPaths;
394
- generatedPath;
395
- fileExtensionForImports = ".js";
396
- validate;
397
- }
398
-
399
- class TypescriptProjectConfig extends StructuresProjectConfig {
400
- mdl = "ts";
401
- }
402
-
403
- class TypescriptExternalProjectConfig extends StructuresProjectConfig {
404
- mdl = "ts-external";
405
- externalEntities;
406
- utilFunctionsPaths;
407
- }
408
- // packages/os-api/src/api/model/config/TransformConfiguration.ts
409
- class TransformConfiguration {
410
- jsonPath;
411
- transformerFunctionName;
412
- }
413
361
  // packages/os-api/src/api/model/insights/InsightProgress.ts
414
362
  var ProgressType;
415
363
  ((ProgressType2) => {
@@ -605,3 +553,6 @@ var OsApiPlugin = {
605
553
  };
606
554
  }
607
555
  };
556
+
557
+ // packages/os-api/src/index.ts
558
+ var import_core5 = require("@kinotic-ai/core");
package/dist/index.d.cts CHANGED
@@ -264,162 +264,6 @@ interface MigrationResult {
264
264
  errorMessage?: string;
265
265
  migrationsProcessed: number;
266
266
  }
267
- import { C3Decorator as C3Decorator14 } from "@kinotic-ai/idl";
268
- declare class CalculatedPropertyConfiguration {
269
- /**
270
- * The json path to the Entity that this property will be calculated for.
271
- * If this is the root Entity then this should be and empty string.
272
- */
273
- entityJsonPath: string;
274
- /**
275
- * The name of the property that will be calculated and added to the given Entity.
276
- */
277
- propertyName: string;
278
- /**
279
- * The name of the function that will be used to calculate the value for the property.
280
- */
281
- calculatedPropertyFunctionName: string;
282
- /**
283
- * Any decorators that should be applied to the calculated property.
284
- * These will be added to the {@link C3Type} that is created for the Entity.
285
- */
286
- decorators?: C3Decorator14[];
287
- }
288
- import { MultiTenancyType as MultiTenancyType2 } from "@kinotic-ai/persistence";
289
- import { PropertyDefinition } from "@kinotic-ai/idl";
290
- /**
291
- * The configuration for a property that should be overridden.
292
- * This allows you to specify a static {@link PropertyDefinition} for a property.
293
- */
294
- declare class OverrideConfiguration {
295
- /**
296
- * The json path to the property that should be overridden.
297
- */
298
- jsonPath: string;
299
- /**
300
- * The {@link PropertyDefinition} that should be used for the property.
301
- */
302
- propertyDefinition: PropertyDefinition;
303
- }
304
- /**
305
- * The configuration for a function that will transform a value before it is sent to the server.
306
- * The function must be exported from a file that is specified in {@link TypescriptExternalProjectConfig.utilFunctionsPaths}
307
- * The function return argument will be the resulting {@link C3Type} that will be configured for the Entity
308
- */
309
- declare class TransformConfiguration {
310
- /**
311
- * The json path to the property that should be transformed.
312
- * There must only be one {@link TransformConfiguration} per jsonPath.
313
- */
314
- jsonPath: string;
315
- /**
316
- * The name of the function that will be used to transform the value.
317
- */
318
- transformerFunctionName: string;
319
- }
320
- /**
321
- * The configuration for an External Entity.
322
- * This allows you to specify an Entity that is part of an external codebase.
323
- */
324
- declare class EntityConfiguration {
325
- /**
326
- * The name of the Entity that will be used to create the Structure.
327
- */
328
- entityName: string;
329
- /**
330
- * The multi tenancy type for this Entity.
331
- */
332
- multiTenancyType: MultiTenancyType2;
333
- /**
334
- * Json paths to properties that should be excluded from the Entity.
335
- * These have a higher priority than {@link OverrideConfiguration} and {@link TransformConfiguration}
336
- */
337
- excludeJsonPaths?: string[];
338
- /**
339
- * Array of {@link OverrideConfiguration} that should be applied to the Entity.
340
- * These have a higher priority than {@link TransformConfiguration}s
341
- */
342
- overrides?: OverrideConfiguration[];
343
- /**
344
- * Array of {@link TransformConfiguration} that should be applied to the Entity.
345
- * These have a lower priority than {@link OverrideConfiguration}s.
346
- */
347
- transforms?: TransformConfiguration[];
348
- /**
349
- * Array of {@link CalculatedPropertyConfiguration} that should be applied to the Entity.
350
- * The calculated property function will be called for every instance of the Entity.
351
- * And is passed the instance of the Entity as the first argument.
352
- * And the json path as the second argument.
353
- * These have the highest priority.
354
- */
355
- calculatedProperties?: CalculatedPropertyConfiguration[];
356
- }
357
- /**
358
- * The project configuration for a structures project.
359
- * This is the base configuration. Language specific configurations extend this configuration.
360
- */
361
- declare abstract class StructuresProjectConfig {
362
- /**
363
- * This specifies the Model Definition Language (MDL).
364
- * This is the language that is used to define the structures models.
365
- * The following values are supported:
366
- * - ts: TypeScript
367
- * - ts-external: TypeScript with external models (defined by an external package)
368
- * - gql: GraphQL
369
- */
370
- mdl: "ts" | "ts-external" | "gql";
371
- /**
372
- * The name of the project or undefined if a language specific project name is used.
373
- * i.e. if the project is typescript the package.json name will be used.
374
- */
375
- name?: string;
376
- /**
377
- * The description of the project.
378
- */
379
- description?: string;
380
- /**
381
- * The Structures Application that this project belongs to.
382
- */
383
- application: string;
384
- /**
385
- * The paths to search for classes decorated with @Entity that Structures will be created for.
386
- */
387
- entitiesPaths: string[];
388
- /**
389
- * The path to where generated files will be placed.
390
- */
391
- generatedPath: string;
392
- /**
393
- * The file extension to use for imports in generated files.
394
- */
395
- fileExtensionForImports: string;
396
- /**
397
- * If true the generated EntityService classes will validate all data before sending to the server.
398
- */
399
- validate?: boolean;
400
- }
401
- /**
402
- * The project configuration for a TypeScript structures project.
403
- */
404
- declare class TypescriptProjectConfig extends StructuresProjectConfig {
405
- readonly mdl = "ts";
406
- }
407
- /**
408
- * The project configuration for a TypeScript structures project.
409
- */
410
- declare class TypescriptExternalProjectConfig extends StructuresProjectConfig {
411
- readonly mdl = "ts-external";
412
- /**
413
- * External EntityConfigurations that are part of an external codebase and that you cannot add @Entity decorators to.
414
- */
415
- externalEntities?: {
416
- [pathPattern: string]: EntityConfiguration[];
417
- };
418
- /**
419
- * The path to look for files that functions that can be used by a {@link TransformConfiguration} or {@link CalculatedPropertyConfiguration}.
420
- */
421
- utilFunctionsPaths?: string[];
422
- }
423
267
  /**
424
268
  * Represents an individual web component generated by the data insights system.
425
269
  * Each component is a self-contained visualization that can be dropped into any page.
@@ -787,7 +631,8 @@ interface IOsApiExtension {
787
631
  dataInsights: IDataInsightsService;
788
632
  }
789
633
  declare const OsApiPlugin: KinoticPlugin<IOsApiExtension>;
634
+ import { Kinotic, KinoticSingleton as KinoticSingleton2, IKinotic as IKinotic8, KinoticPlugin as KinoticPlugin2 } from "@kinotic-ai/core";
790
635
  declare module "@kinotic-ai/core" {
791
636
  interface KinoticSingleton extends IOsApiExtension {}
792
637
  }
793
- export { VersionDecorator, TypescriptProjectConfig, TypescriptExternalProjectConfig, TransformConfiguration, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, StructuresProjectConfig, SingleLoggerLevelsDescriptor, RoleDecorator, QueryOptionsC3Type, QueryDecorator, ProjectType2 as ProjectType, ProjectService, Project, ProgressType, PolicyDecorator, PageableC3Type, PageC3Type, OverrideConfiguration, 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, EntityConfiguration, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, CalculatedPropertyConfiguration, AutoGeneratedIdDecorator, ApplicationService, Application, $Role, $Policy };
638
+ export { VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, RoleDecorator, QueryOptionsC3Type, QueryDecorator, ProjectType2 as ProjectType, ProjectService, Project, ProgressType, PolicyDecorator, PageableC3Type, PageC3Type, OsApiPlugin, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, KinoticSingleton2 as KinoticSingleton, KinoticPlugin2 as KinoticPlugin, Kinotic, InsightRequest, InsightProgress, IdDecorator, IProjectService, IOsApiExtension, INamedQueriesDefinitionService, IMigrationService, ILogManager, IKinotic8 as IKinotic, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, AutoGeneratedIdDecorator, ApplicationService, Application, $Role, $Policy };
package/dist/index.d.ts CHANGED
@@ -264,162 +264,6 @@ interface MigrationResult {
264
264
  errorMessage?: string;
265
265
  migrationsProcessed: number;
266
266
  }
267
- import { C3Decorator as C3Decorator14 } from "@kinotic-ai/idl";
268
- declare class CalculatedPropertyConfiguration {
269
- /**
270
- * The json path to the Entity that this property will be calculated for.
271
- * If this is the root Entity then this should be and empty string.
272
- */
273
- entityJsonPath: string;
274
- /**
275
- * The name of the property that will be calculated and added to the given Entity.
276
- */
277
- propertyName: string;
278
- /**
279
- * The name of the function that will be used to calculate the value for the property.
280
- */
281
- calculatedPropertyFunctionName: string;
282
- /**
283
- * Any decorators that should be applied to the calculated property.
284
- * These will be added to the {@link C3Type} that is created for the Entity.
285
- */
286
- decorators?: C3Decorator14[];
287
- }
288
- import { MultiTenancyType as MultiTenancyType2 } from "@kinotic-ai/persistence";
289
- import { PropertyDefinition } from "@kinotic-ai/idl";
290
- /**
291
- * The configuration for a property that should be overridden.
292
- * This allows you to specify a static {@link PropertyDefinition} for a property.
293
- */
294
- declare class OverrideConfiguration {
295
- /**
296
- * The json path to the property that should be overridden.
297
- */
298
- jsonPath: string;
299
- /**
300
- * The {@link PropertyDefinition} that should be used for the property.
301
- */
302
- propertyDefinition: PropertyDefinition;
303
- }
304
- /**
305
- * The configuration for a function that will transform a value before it is sent to the server.
306
- * The function must be exported from a file that is specified in {@link TypescriptExternalProjectConfig.utilFunctionsPaths}
307
- * The function return argument will be the resulting {@link C3Type} that will be configured for the Entity
308
- */
309
- declare class TransformConfiguration {
310
- /**
311
- * The json path to the property that should be transformed.
312
- * There must only be one {@link TransformConfiguration} per jsonPath.
313
- */
314
- jsonPath: string;
315
- /**
316
- * The name of the function that will be used to transform the value.
317
- */
318
- transformerFunctionName: string;
319
- }
320
- /**
321
- * The configuration for an External Entity.
322
- * This allows you to specify an Entity that is part of an external codebase.
323
- */
324
- declare class EntityConfiguration {
325
- /**
326
- * The name of the Entity that will be used to create the Structure.
327
- */
328
- entityName: string;
329
- /**
330
- * The multi tenancy type for this Entity.
331
- */
332
- multiTenancyType: MultiTenancyType2;
333
- /**
334
- * Json paths to properties that should be excluded from the Entity.
335
- * These have a higher priority than {@link OverrideConfiguration} and {@link TransformConfiguration}
336
- */
337
- excludeJsonPaths?: string[];
338
- /**
339
- * Array of {@link OverrideConfiguration} that should be applied to the Entity.
340
- * These have a higher priority than {@link TransformConfiguration}s
341
- */
342
- overrides?: OverrideConfiguration[];
343
- /**
344
- * Array of {@link TransformConfiguration} that should be applied to the Entity.
345
- * These have a lower priority than {@link OverrideConfiguration}s.
346
- */
347
- transforms?: TransformConfiguration[];
348
- /**
349
- * Array of {@link CalculatedPropertyConfiguration} that should be applied to the Entity.
350
- * The calculated property function will be called for every instance of the Entity.
351
- * And is passed the instance of the Entity as the first argument.
352
- * And the json path as the second argument.
353
- * These have the highest priority.
354
- */
355
- calculatedProperties?: CalculatedPropertyConfiguration[];
356
- }
357
- /**
358
- * The project configuration for a structures project.
359
- * This is the base configuration. Language specific configurations extend this configuration.
360
- */
361
- declare abstract class StructuresProjectConfig {
362
- /**
363
- * This specifies the Model Definition Language (MDL).
364
- * This is the language that is used to define the structures models.
365
- * The following values are supported:
366
- * - ts: TypeScript
367
- * - ts-external: TypeScript with external models (defined by an external package)
368
- * - gql: GraphQL
369
- */
370
- mdl: "ts" | "ts-external" | "gql";
371
- /**
372
- * The name of the project or undefined if a language specific project name is used.
373
- * i.e. if the project is typescript the package.json name will be used.
374
- */
375
- name?: string;
376
- /**
377
- * The description of the project.
378
- */
379
- description?: string;
380
- /**
381
- * The Structures Application that this project belongs to.
382
- */
383
- application: string;
384
- /**
385
- * The paths to search for classes decorated with @Entity that Structures will be created for.
386
- */
387
- entitiesPaths: string[];
388
- /**
389
- * The path to where generated files will be placed.
390
- */
391
- generatedPath: string;
392
- /**
393
- * The file extension to use for imports in generated files.
394
- */
395
- fileExtensionForImports: string;
396
- /**
397
- * If true the generated EntityService classes will validate all data before sending to the server.
398
- */
399
- validate?: boolean;
400
- }
401
- /**
402
- * The project configuration for a TypeScript structures project.
403
- */
404
- declare class TypescriptProjectConfig extends StructuresProjectConfig {
405
- readonly mdl = "ts";
406
- }
407
- /**
408
- * The project configuration for a TypeScript structures project.
409
- */
410
- declare class TypescriptExternalProjectConfig extends StructuresProjectConfig {
411
- readonly mdl = "ts-external";
412
- /**
413
- * External EntityConfigurations that are part of an external codebase and that you cannot add @Entity decorators to.
414
- */
415
- externalEntities?: {
416
- [pathPattern: string]: EntityConfiguration[];
417
- };
418
- /**
419
- * The path to look for files that functions that can be used by a {@link TransformConfiguration} or {@link CalculatedPropertyConfiguration}.
420
- */
421
- utilFunctionsPaths?: string[];
422
- }
423
267
  /**
424
268
  * Represents an individual web component generated by the data insights system.
425
269
  * Each component is a self-contained visualization that can be dropped into any page.
@@ -787,7 +631,8 @@ interface IOsApiExtension {
787
631
  dataInsights: IDataInsightsService;
788
632
  }
789
633
  declare const OsApiPlugin: KinoticPlugin<IOsApiExtension>;
634
+ import { Kinotic, KinoticSingleton as KinoticSingleton2, IKinotic as IKinotic8, KinoticPlugin as KinoticPlugin2 } from "@kinotic-ai/core";
790
635
  declare module "@kinotic-ai/core" {
791
636
  interface KinoticSingleton extends IOsApiExtension {}
792
637
  }
793
- export { VersionDecorator, TypescriptProjectConfig, TypescriptExternalProjectConfig, TransformConfiguration, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, StructuresProjectConfig, SingleLoggerLevelsDescriptor, RoleDecorator, QueryOptionsC3Type, QueryDecorator, ProjectType2 as ProjectType, ProjectService, Project, ProgressType, PolicyDecorator, PageableC3Type, PageC3Type, OverrideConfiguration, 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, EntityConfiguration, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, CalculatedPropertyConfiguration, AutoGeneratedIdDecorator, ApplicationService, Application, $Role, $Policy };
638
+ export { VersionDecorator, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, SingleLoggerLevelsDescriptor, RoleDecorator, QueryOptionsC3Type, QueryDecorator, ProjectType2 as ProjectType, ProjectService, Project, ProgressType, PolicyDecorator, PageableC3Type, PageC3Type, OsApiPlugin, NotIndexedDecorator, NestedDecorator, NamedQueriesDefinitionService, NamedQueriesDefinition, MigrationService, MigrationResult, MigrationRequest, MigrationDefinition, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, KinoticSingleton2 as KinoticSingleton, KinoticPlugin2 as KinoticPlugin, Kinotic, InsightRequest, InsightProgress, IdDecorator, IProjectService, IOsApiExtension, INamedQueriesDefinitionService, IMigrationService, ILogManager, IKinotic8 as IKinotic, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, AutoGeneratedIdDecorator, ApplicationService, Application, $Role, $Policy };
package/dist/index.js CHANGED
@@ -271,53 +271,6 @@ class NamedQueriesDefinition {
271
271
  this.namedQueries = namedQueries;
272
272
  }
273
273
  }
274
- // packages/os-api/src/api/model/config/CalculatedPropertyConfiguration.ts
275
- class CalculatedPropertyConfiguration {
276
- entityJsonPath;
277
- propertyName;
278
- calculatedPropertyFunctionName;
279
- decorators;
280
- }
281
- // packages/os-api/src/api/model/config/EntityConfiguration.ts
282
- class EntityConfiguration {
283
- entityName;
284
- multiTenancyType;
285
- excludeJsonPaths;
286
- overrides;
287
- transforms;
288
- calculatedProperties;
289
- }
290
- // packages/os-api/src/api/model/config/OverrideConfiguration.ts
291
- class OverrideConfiguration {
292
- jsonPath;
293
- propertyDefinition;
294
- }
295
- // packages/os-api/src/api/model/config/StructuresProjectConfig.ts
296
- class StructuresProjectConfig {
297
- mdl;
298
- name;
299
- description;
300
- application;
301
- entitiesPaths;
302
- generatedPath;
303
- fileExtensionForImports = ".js";
304
- validate;
305
- }
306
-
307
- class TypescriptProjectConfig extends StructuresProjectConfig {
308
- mdl = "ts";
309
- }
310
-
311
- class TypescriptExternalProjectConfig extends StructuresProjectConfig {
312
- mdl = "ts-external";
313
- externalEntities;
314
- utilFunctionsPaths;
315
- }
316
- // packages/os-api/src/api/model/config/TransformConfiguration.ts
317
- class TransformConfiguration {
318
- jsonPath;
319
- transformerFunctionName;
320
- }
321
274
  // packages/os-api/src/api/model/insights/InsightProgress.ts
322
275
  var ProgressType;
323
276
  ((ProgressType2) => {
@@ -513,16 +466,15 @@ var OsApiPlugin = {
513
466
  };
514
467
  }
515
468
  };
469
+
470
+ // packages/os-api/src/index.ts
471
+ import { Kinotic, KinoticSingleton } from "@kinotic-ai/core";
516
472
  export {
517
473
  VersionDecorator,
518
- TypescriptProjectConfig,
519
- TypescriptExternalProjectConfig,
520
- TransformConfiguration,
521
474
  TimeReferenceDecorator,
522
475
  TextDecorator,
523
476
  TenantSelectionC3Type,
524
477
  TenantIdDecorator,
525
- StructuresProjectConfig,
526
478
  SingleLoggerLevelsDescriptor,
527
479
  RoleDecorator,
528
480
  QueryOptionsC3Type,
@@ -534,7 +486,6 @@ export {
534
486
  PolicyDecorator,
535
487
  PageableC3Type,
536
488
  PageC3Type,
537
- OverrideConfiguration,
538
489
  OsApiPlugin,
539
490
  NotIndexedDecorator,
540
491
  NestedDecorator,
@@ -545,6 +496,8 @@ export {
545
496
  LoggerLevelsDescriptor,
546
497
  LogManager,
547
498
  LogLevel,
499
+ KinoticSingleton,
500
+ Kinotic,
548
501
  IdDecorator,
549
502
  GroupLoggerLevelsDescriptor,
550
503
  FlattenedDecorator,
@@ -552,10 +505,8 @@ export {
552
505
  EntityDefinitionService,
553
506
  EntityDefinition,
554
507
  EntityDecorator,
555
- EntityConfiguration,
556
508
  DiscriminatorDecorator,
557
509
  DataInsightsService,
558
- CalculatedPropertyConfiguration,
559
510
  AutoGeneratedIdDecorator,
560
511
  ApplicationService,
561
512
  Application,
package/package.json CHANGED
@@ -20,6 +20,7 @@
20
20
  },
21
21
  "./package.json": "./package.json"
22
22
  },
23
+ "homepage": "https://github.com/kinotic-ai/kinotic",
23
24
  "license": "Elastic License 2.0",
24
25
  "publishConfig": {
25
26
  "access": "public"
@@ -50,5 +51,5 @@
50
51
  "optional": true
51
52
  }
52
53
  },
53
- "version": "1.0.1"
54
+ "version": "1.0.3"
54
55
  }