@kinotic-ai/os-api 1.0.1 → 1.0.2
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 +10 -5
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +10 -5
- package/package.json +2 -1
package/dist/index.cjs
CHANGED
|
@@ -48,7 +48,6 @@ __export(exports_src, {
|
|
|
48
48
|
TextDecorator: () => TextDecorator,
|
|
49
49
|
TenantSelectionC3Type: () => TenantSelectionC3Type,
|
|
50
50
|
TenantIdDecorator: () => TenantIdDecorator,
|
|
51
|
-
StructuresProjectConfig: () => StructuresProjectConfig,
|
|
52
51
|
SingleLoggerLevelsDescriptor: () => SingleLoggerLevelsDescriptor,
|
|
53
52
|
RoleDecorator: () => RoleDecorator,
|
|
54
53
|
QueryOptionsC3Type: () => QueryOptionsC3Type,
|
|
@@ -71,6 +70,9 @@ __export(exports_src, {
|
|
|
71
70
|
LoggerLevelsDescriptor: () => LoggerLevelsDescriptor,
|
|
72
71
|
LogManager: () => LogManager,
|
|
73
72
|
LogLevel: () => LogLevel,
|
|
73
|
+
KinoticSingleton: () => import_core5.KinoticSingleton,
|
|
74
|
+
KinoticProjectConfig: () => KinoticProjectConfig,
|
|
75
|
+
Kinotic: () => import_core5.Kinotic,
|
|
74
76
|
IdDecorator: () => IdDecorator,
|
|
75
77
|
GroupLoggerLevelsDescriptor: () => GroupLoggerLevelsDescriptor,
|
|
76
78
|
FlattenedDecorator: () => FlattenedDecorator,
|
|
@@ -384,8 +386,8 @@ class OverrideConfiguration {
|
|
|
384
386
|
jsonPath;
|
|
385
387
|
propertyDefinition;
|
|
386
388
|
}
|
|
387
|
-
// packages/os-api/src/api/model/config/
|
|
388
|
-
class
|
|
389
|
+
// packages/os-api/src/api/model/config/KinoticProjectConfig.ts
|
|
390
|
+
class KinoticProjectConfig {
|
|
389
391
|
mdl;
|
|
390
392
|
name;
|
|
391
393
|
description;
|
|
@@ -396,11 +398,11 @@ class StructuresProjectConfig {
|
|
|
396
398
|
validate;
|
|
397
399
|
}
|
|
398
400
|
|
|
399
|
-
class TypescriptProjectConfig extends
|
|
401
|
+
class TypescriptProjectConfig extends KinoticProjectConfig {
|
|
400
402
|
mdl = "ts";
|
|
401
403
|
}
|
|
402
404
|
|
|
403
|
-
class TypescriptExternalProjectConfig extends
|
|
405
|
+
class TypescriptExternalProjectConfig extends KinoticProjectConfig {
|
|
404
406
|
mdl = "ts-external";
|
|
405
407
|
externalEntities;
|
|
406
408
|
utilFunctionsPaths;
|
|
@@ -605,3 +607,6 @@ var OsApiPlugin = {
|
|
|
605
607
|
};
|
|
606
608
|
}
|
|
607
609
|
};
|
|
610
|
+
|
|
611
|
+
// packages/os-api/src/index.ts
|
|
612
|
+
var import_core5 = require("@kinotic-ai/core");
|
package/dist/index.d.cts
CHANGED
|
@@ -358,7 +358,7 @@ declare class EntityConfiguration {
|
|
|
358
358
|
* The project configuration for a structures project.
|
|
359
359
|
* This is the base configuration. Language specific configurations extend this configuration.
|
|
360
360
|
*/
|
|
361
|
-
declare abstract class
|
|
361
|
+
declare abstract class KinoticProjectConfig {
|
|
362
362
|
/**
|
|
363
363
|
* This specifies the Model Definition Language (MDL).
|
|
364
364
|
* This is the language that is used to define the structures models.
|
|
@@ -401,13 +401,13 @@ declare abstract class StructuresProjectConfig {
|
|
|
401
401
|
/**
|
|
402
402
|
* The project configuration for a TypeScript structures project.
|
|
403
403
|
*/
|
|
404
|
-
declare class TypescriptProjectConfig extends
|
|
404
|
+
declare class TypescriptProjectConfig extends KinoticProjectConfig {
|
|
405
405
|
readonly mdl = "ts";
|
|
406
406
|
}
|
|
407
407
|
/**
|
|
408
408
|
* The project configuration for a TypeScript structures project.
|
|
409
409
|
*/
|
|
410
|
-
declare class TypescriptExternalProjectConfig extends
|
|
410
|
+
declare class TypescriptExternalProjectConfig extends KinoticProjectConfig {
|
|
411
411
|
readonly mdl = "ts-external";
|
|
412
412
|
/**
|
|
413
413
|
* External EntityConfigurations that are part of an external codebase and that you cannot add @Entity decorators to.
|
|
@@ -787,7 +787,8 @@ interface IOsApiExtension {
|
|
|
787
787
|
dataInsights: IDataInsightsService;
|
|
788
788
|
}
|
|
789
789
|
declare const OsApiPlugin: KinoticPlugin<IOsApiExtension>;
|
|
790
|
+
import { Kinotic, KinoticSingleton as KinoticSingleton2, IKinotic as IKinotic8, KinoticPlugin as KinoticPlugin2 } from "@kinotic-ai/core";
|
|
790
791
|
declare module "@kinotic-ai/core" {
|
|
791
792
|
interface KinoticSingleton extends IOsApiExtension {}
|
|
792
793
|
}
|
|
793
|
-
export { VersionDecorator, TypescriptProjectConfig, TypescriptExternalProjectConfig, TransformConfiguration, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator,
|
|
794
|
+
export { VersionDecorator, TypescriptProjectConfig, TypescriptExternalProjectConfig, TransformConfiguration, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, 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, KinoticSingleton2 as KinoticSingleton, KinoticProjectConfig, KinoticPlugin2 as KinoticPlugin, Kinotic, InsightRequest, InsightProgress, IdDecorator, IProjectService, IOsApiExtension, INamedQueriesDefinitionService, IMigrationService, ILogManager, IKinotic8 as IKinotic, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntityConfiguration, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, CalculatedPropertyConfiguration, AutoGeneratedIdDecorator, ApplicationService, Application, $Role, $Policy };
|
package/dist/index.d.ts
CHANGED
|
@@ -358,7 +358,7 @@ declare class EntityConfiguration {
|
|
|
358
358
|
* The project configuration for a structures project.
|
|
359
359
|
* This is the base configuration. Language specific configurations extend this configuration.
|
|
360
360
|
*/
|
|
361
|
-
declare abstract class
|
|
361
|
+
declare abstract class KinoticProjectConfig {
|
|
362
362
|
/**
|
|
363
363
|
* This specifies the Model Definition Language (MDL).
|
|
364
364
|
* This is the language that is used to define the structures models.
|
|
@@ -401,13 +401,13 @@ declare abstract class StructuresProjectConfig {
|
|
|
401
401
|
/**
|
|
402
402
|
* The project configuration for a TypeScript structures project.
|
|
403
403
|
*/
|
|
404
|
-
declare class TypescriptProjectConfig extends
|
|
404
|
+
declare class TypescriptProjectConfig extends KinoticProjectConfig {
|
|
405
405
|
readonly mdl = "ts";
|
|
406
406
|
}
|
|
407
407
|
/**
|
|
408
408
|
* The project configuration for a TypeScript structures project.
|
|
409
409
|
*/
|
|
410
|
-
declare class TypescriptExternalProjectConfig extends
|
|
410
|
+
declare class TypescriptExternalProjectConfig extends KinoticProjectConfig {
|
|
411
411
|
readonly mdl = "ts-external";
|
|
412
412
|
/**
|
|
413
413
|
* External EntityConfigurations that are part of an external codebase and that you cannot add @Entity decorators to.
|
|
@@ -787,7 +787,8 @@ interface IOsApiExtension {
|
|
|
787
787
|
dataInsights: IDataInsightsService;
|
|
788
788
|
}
|
|
789
789
|
declare const OsApiPlugin: KinoticPlugin<IOsApiExtension>;
|
|
790
|
+
import { Kinotic, KinoticSingleton as KinoticSingleton2, IKinotic as IKinotic8, KinoticPlugin as KinoticPlugin2 } from "@kinotic-ai/core";
|
|
790
791
|
declare module "@kinotic-ai/core" {
|
|
791
792
|
interface KinoticSingleton extends IOsApiExtension {}
|
|
792
793
|
}
|
|
793
|
-
export { VersionDecorator, TypescriptProjectConfig, TypescriptExternalProjectConfig, TransformConfiguration, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator,
|
|
794
|
+
export { VersionDecorator, TypescriptProjectConfig, TypescriptExternalProjectConfig, TransformConfiguration, TimeReferenceDecorator, TextDecorator, TenantSelectionC3Type, TenantIdDecorator, 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, KinoticSingleton2 as KinoticSingleton, KinoticProjectConfig, KinoticPlugin2 as KinoticPlugin, Kinotic, InsightRequest, InsightProgress, IdDecorator, IProjectService, IOsApiExtension, INamedQueriesDefinitionService, IMigrationService, ILogManager, IKinotic8 as IKinotic, IEntityDefinitionService, IDataInsightsService, IApplicationService, GroupLoggerLevelsDescriptor, FlattenedDecorator, EsIndexConfigurationDecorator, EntityDefinitionService, EntityDefinition, EntityDecorator, EntityConfiguration, DiscriminatorDecorator, DataInsightsService, DataInsightsComponent, CalculatedPropertyConfiguration, AutoGeneratedIdDecorator, ApplicationService, Application, $Role, $Policy };
|
package/dist/index.js
CHANGED
|
@@ -292,8 +292,8 @@ class OverrideConfiguration {
|
|
|
292
292
|
jsonPath;
|
|
293
293
|
propertyDefinition;
|
|
294
294
|
}
|
|
295
|
-
// packages/os-api/src/api/model/config/
|
|
296
|
-
class
|
|
295
|
+
// packages/os-api/src/api/model/config/KinoticProjectConfig.ts
|
|
296
|
+
class KinoticProjectConfig {
|
|
297
297
|
mdl;
|
|
298
298
|
name;
|
|
299
299
|
description;
|
|
@@ -304,11 +304,11 @@ class StructuresProjectConfig {
|
|
|
304
304
|
validate;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
class TypescriptProjectConfig extends
|
|
307
|
+
class TypescriptProjectConfig extends KinoticProjectConfig {
|
|
308
308
|
mdl = "ts";
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
class TypescriptExternalProjectConfig extends
|
|
311
|
+
class TypescriptExternalProjectConfig extends KinoticProjectConfig {
|
|
312
312
|
mdl = "ts-external";
|
|
313
313
|
externalEntities;
|
|
314
314
|
utilFunctionsPaths;
|
|
@@ -513,6 +513,9 @@ var OsApiPlugin = {
|
|
|
513
513
|
};
|
|
514
514
|
}
|
|
515
515
|
};
|
|
516
|
+
|
|
517
|
+
// packages/os-api/src/index.ts
|
|
518
|
+
import { Kinotic, KinoticSingleton } from "@kinotic-ai/core";
|
|
516
519
|
export {
|
|
517
520
|
VersionDecorator,
|
|
518
521
|
TypescriptProjectConfig,
|
|
@@ -522,7 +525,6 @@ export {
|
|
|
522
525
|
TextDecorator,
|
|
523
526
|
TenantSelectionC3Type,
|
|
524
527
|
TenantIdDecorator,
|
|
525
|
-
StructuresProjectConfig,
|
|
526
528
|
SingleLoggerLevelsDescriptor,
|
|
527
529
|
RoleDecorator,
|
|
528
530
|
QueryOptionsC3Type,
|
|
@@ -545,6 +547,9 @@ export {
|
|
|
545
547
|
LoggerLevelsDescriptor,
|
|
546
548
|
LogManager,
|
|
547
549
|
LogLevel,
|
|
550
|
+
KinoticSingleton,
|
|
551
|
+
KinoticProjectConfig,
|
|
552
|
+
Kinotic,
|
|
548
553
|
IdDecorator,
|
|
549
554
|
GroupLoggerLevelsDescriptor,
|
|
550
555
|
FlattenedDecorator,
|
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.
|
|
54
|
+
"version": "1.0.2"
|
|
54
55
|
}
|