@kinotic-ai/os-api 1.0.2 → 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 +0 -54
- package/dist/index.d.cts +1 -157
- package/dist/index.d.ts +1 -157
- package/dist/index.js +0 -54
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -41,9 +41,6 @@ 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,
|
|
@@ -59,7 +56,6 @@ __export(exports_src, {
|
|
|
59
56
|
PolicyDecorator: () => PolicyDecorator,
|
|
60
57
|
PageableC3Type: () => PageableC3Type,
|
|
61
58
|
PageC3Type: () => PageC3Type,
|
|
62
|
-
OverrideConfiguration: () => OverrideConfiguration,
|
|
63
59
|
OsApiPlugin: () => OsApiPlugin,
|
|
64
60
|
NotIndexedDecorator: () => NotIndexedDecorator,
|
|
65
61
|
NestedDecorator: () => NestedDecorator,
|
|
@@ -71,7 +67,6 @@ __export(exports_src, {
|
|
|
71
67
|
LogManager: () => LogManager,
|
|
72
68
|
LogLevel: () => LogLevel,
|
|
73
69
|
KinoticSingleton: () => import_core5.KinoticSingleton,
|
|
74
|
-
KinoticProjectConfig: () => KinoticProjectConfig,
|
|
75
70
|
Kinotic: () => import_core5.Kinotic,
|
|
76
71
|
IdDecorator: () => IdDecorator,
|
|
77
72
|
GroupLoggerLevelsDescriptor: () => GroupLoggerLevelsDescriptor,
|
|
@@ -80,10 +75,8 @@ __export(exports_src, {
|
|
|
80
75
|
EntityDefinitionService: () => EntityDefinitionService,
|
|
81
76
|
EntityDefinition: () => EntityDefinition,
|
|
82
77
|
EntityDecorator: () => EntityDecorator,
|
|
83
|
-
EntityConfiguration: () => EntityConfiguration,
|
|
84
78
|
DiscriminatorDecorator: () => DiscriminatorDecorator,
|
|
85
79
|
DataInsightsService: () => DataInsightsService,
|
|
86
|
-
CalculatedPropertyConfiguration: () => CalculatedPropertyConfiguration,
|
|
87
80
|
AutoGeneratedIdDecorator: () => AutoGeneratedIdDecorator,
|
|
88
81
|
ApplicationService: () => ApplicationService,
|
|
89
82
|
Application: () => Application,
|
|
@@ -365,53 +358,6 @@ class NamedQueriesDefinition {
|
|
|
365
358
|
this.namedQueries = namedQueries;
|
|
366
359
|
}
|
|
367
360
|
}
|
|
368
|
-
// packages/os-api/src/api/model/config/CalculatedPropertyConfiguration.ts
|
|
369
|
-
class CalculatedPropertyConfiguration {
|
|
370
|
-
entityJsonPath;
|
|
371
|
-
propertyName;
|
|
372
|
-
calculatedPropertyFunctionName;
|
|
373
|
-
decorators;
|
|
374
|
-
}
|
|
375
|
-
// packages/os-api/src/api/model/config/EntityConfiguration.ts
|
|
376
|
-
class EntityConfiguration {
|
|
377
|
-
entityName;
|
|
378
|
-
multiTenancyType;
|
|
379
|
-
excludeJsonPaths;
|
|
380
|
-
overrides;
|
|
381
|
-
transforms;
|
|
382
|
-
calculatedProperties;
|
|
383
|
-
}
|
|
384
|
-
// packages/os-api/src/api/model/config/OverrideConfiguration.ts
|
|
385
|
-
class OverrideConfiguration {
|
|
386
|
-
jsonPath;
|
|
387
|
-
propertyDefinition;
|
|
388
|
-
}
|
|
389
|
-
// packages/os-api/src/api/model/config/KinoticProjectConfig.ts
|
|
390
|
-
class KinoticProjectConfig {
|
|
391
|
-
mdl;
|
|
392
|
-
name;
|
|
393
|
-
description;
|
|
394
|
-
application;
|
|
395
|
-
entitiesPaths;
|
|
396
|
-
generatedPath;
|
|
397
|
-
fileExtensionForImports = ".js";
|
|
398
|
-
validate;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
class TypescriptProjectConfig extends KinoticProjectConfig {
|
|
402
|
-
mdl = "ts";
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
class TypescriptExternalProjectConfig extends KinoticProjectConfig {
|
|
406
|
-
mdl = "ts-external";
|
|
407
|
-
externalEntities;
|
|
408
|
-
utilFunctionsPaths;
|
|
409
|
-
}
|
|
410
|
-
// packages/os-api/src/api/model/config/TransformConfiguration.ts
|
|
411
|
-
class TransformConfiguration {
|
|
412
|
-
jsonPath;
|
|
413
|
-
transformerFunctionName;
|
|
414
|
-
}
|
|
415
361
|
// packages/os-api/src/api/model/insights/InsightProgress.ts
|
|
416
362
|
var ProgressType;
|
|
417
363
|
((ProgressType2) => {
|
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 KinoticProjectConfig {
|
|
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 KinoticProjectConfig {
|
|
405
|
-
readonly mdl = "ts";
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* The project configuration for a TypeScript structures project.
|
|
409
|
-
*/
|
|
410
|
-
declare class TypescriptExternalProjectConfig extends KinoticProjectConfig {
|
|
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.
|
|
@@ -791,4 +635,4 @@ import { Kinotic, KinoticSingleton as KinoticSingleton2, IKinotic as IKinotic8,
|
|
|
791
635
|
declare module "@kinotic-ai/core" {
|
|
792
636
|
interface KinoticSingleton extends IOsApiExtension {}
|
|
793
637
|
}
|
|
794
|
-
export { VersionDecorator,
|
|
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 KinoticProjectConfig {
|
|
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 KinoticProjectConfig {
|
|
405
|
-
readonly mdl = "ts";
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* The project configuration for a TypeScript structures project.
|
|
409
|
-
*/
|
|
410
|
-
declare class TypescriptExternalProjectConfig extends KinoticProjectConfig {
|
|
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.
|
|
@@ -791,4 +635,4 @@ import { Kinotic, KinoticSingleton as KinoticSingleton2, IKinotic as IKinotic8,
|
|
|
791
635
|
declare module "@kinotic-ai/core" {
|
|
792
636
|
interface KinoticSingleton extends IOsApiExtension {}
|
|
793
637
|
}
|
|
794
|
-
export { VersionDecorator,
|
|
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/KinoticProjectConfig.ts
|
|
296
|
-
class KinoticProjectConfig {
|
|
297
|
-
mdl;
|
|
298
|
-
name;
|
|
299
|
-
description;
|
|
300
|
-
application;
|
|
301
|
-
entitiesPaths;
|
|
302
|
-
generatedPath;
|
|
303
|
-
fileExtensionForImports = ".js";
|
|
304
|
-
validate;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
class TypescriptProjectConfig extends KinoticProjectConfig {
|
|
308
|
-
mdl = "ts";
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
class TypescriptExternalProjectConfig extends KinoticProjectConfig {
|
|
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) => {
|
|
@@ -518,9 +471,6 @@ var OsApiPlugin = {
|
|
|
518
471
|
import { Kinotic, KinoticSingleton } from "@kinotic-ai/core";
|
|
519
472
|
export {
|
|
520
473
|
VersionDecorator,
|
|
521
|
-
TypescriptProjectConfig,
|
|
522
|
-
TypescriptExternalProjectConfig,
|
|
523
|
-
TransformConfiguration,
|
|
524
474
|
TimeReferenceDecorator,
|
|
525
475
|
TextDecorator,
|
|
526
476
|
TenantSelectionC3Type,
|
|
@@ -536,7 +486,6 @@ export {
|
|
|
536
486
|
PolicyDecorator,
|
|
537
487
|
PageableC3Type,
|
|
538
488
|
PageC3Type,
|
|
539
|
-
OverrideConfiguration,
|
|
540
489
|
OsApiPlugin,
|
|
541
490
|
NotIndexedDecorator,
|
|
542
491
|
NestedDecorator,
|
|
@@ -548,7 +497,6 @@ export {
|
|
|
548
497
|
LogManager,
|
|
549
498
|
LogLevel,
|
|
550
499
|
KinoticSingleton,
|
|
551
|
-
KinoticProjectConfig,
|
|
552
500
|
Kinotic,
|
|
553
501
|
IdDecorator,
|
|
554
502
|
GroupLoggerLevelsDescriptor,
|
|
@@ -557,10 +505,8 @@ export {
|
|
|
557
505
|
EntityDefinitionService,
|
|
558
506
|
EntityDefinition,
|
|
559
507
|
EntityDecorator,
|
|
560
|
-
EntityConfiguration,
|
|
561
508
|
DiscriminatorDecorator,
|
|
562
509
|
DataInsightsService,
|
|
563
|
-
CalculatedPropertyConfiguration,
|
|
564
510
|
AutoGeneratedIdDecorator,
|
|
565
511
|
ApplicationService,
|
|
566
512
|
Application,
|
package/package.json
CHANGED