@salesforce/lds-adapters-cdp-semantic-authoring 1.310.0 → 1.311.1

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.
@@ -0,0 +1,41 @@
1
+ import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { SemanticBaseModelInputRepresentation as types_SemanticBaseModelInputRepresentation_SemanticBaseModelInputRepresentation } from '../types/SemanticBaseModelInputRepresentation';
4
+ import { SemanticCalculatedDimensionInputRepresentation as types_SemanticCalculatedDimensionInputRepresentation_SemanticCalculatedDimensionInputRepresentation } from '../types/SemanticCalculatedDimensionInputRepresentation';
5
+ import { SemanticCalculatedMeasurementInputRepresentation as types_SemanticCalculatedMeasurementInputRepresentation_SemanticCalculatedMeasurementInputRepresentation } from '../types/SemanticCalculatedMeasurementInputRepresentation';
6
+ import { SemanticDataObjectInputRepresentation as types_SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation } from '../types/SemanticDataObjectInputRepresentation';
7
+ import { SemanticGroupingInputRepresentation as types_SemanticGroupingInputRepresentation_SemanticGroupingInputRepresentation } from '../types/SemanticGroupingInputRepresentation';
8
+ import { SemanticLogicalViewInputRepresentation as types_SemanticLogicalViewInputRepresentation_SemanticLogicalViewInputRepresentation } from '../types/SemanticLogicalViewInputRepresentation';
9
+ import { SemanticMetricInputRepresentation as types_SemanticMetricInputRepresentation_SemanticMetricInputRepresentation } from '../types/SemanticMetricInputRepresentation';
10
+ import { SemanticParameterInputRepresentation as types_SemanticParameterInputRepresentation_SemanticParameterInputRepresentation } from '../types/SemanticParameterInputRepresentation';
11
+ import { SemanticRelationshipInputRepresentation as types_SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation } from '../types/SemanticRelationshipInputRepresentation';
12
+ import { ResourceRequestConfig as resources_postSsotSemanticModels_ResourceRequestConfig } from '../resources/postSsotSemanticModels';
13
+ import { SemanticModelOutputRepresentation as types_SemanticModelOutputRepresentation_SemanticModelOutputRepresentation } from '../types/SemanticModelOutputRepresentation';
14
+ export declare const adapterName = "createSemanticModel";
15
+ export declare const createSemanticModel_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
16
+ export declare const createSemanticModel_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
17
+ export interface CreateSemanticModelConfig {
18
+ apiName?: string;
19
+ description?: string;
20
+ label?: string;
21
+ app?: string;
22
+ categories?: Array<string>;
23
+ dataspace?: string;
24
+ queryUnrelatedDataObjects?: string;
25
+ sourceCreation?: string;
26
+ sourceCreationName?: string;
27
+ baseModels?: Array<types_SemanticBaseModelInputRepresentation_SemanticBaseModelInputRepresentation>;
28
+ semanticCalculatedDimensions?: Array<types_SemanticCalculatedDimensionInputRepresentation_SemanticCalculatedDimensionInputRepresentation>;
29
+ semanticCalculatedMeasurements?: Array<types_SemanticCalculatedMeasurementInputRepresentation_SemanticCalculatedMeasurementInputRepresentation>;
30
+ semanticDataObjects?: Array<types_SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
31
+ semanticGroupings?: Array<types_SemanticGroupingInputRepresentation_SemanticGroupingInputRepresentation>;
32
+ semanticLogicalViews?: Array<types_SemanticLogicalViewInputRepresentation_SemanticLogicalViewInputRepresentation>;
33
+ semanticMetrics?: Array<types_SemanticMetricInputRepresentation_SemanticMetricInputRepresentation>;
34
+ semanticParameters?: Array<types_SemanticParameterInputRepresentation_SemanticParameterInputRepresentation>;
35
+ semanticRelationships?: Array<types_SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation>;
36
+ }
37
+ export declare const createResourceParams: (config: CreateSemanticModelConfig) => resources_postSsotSemanticModels_ResourceRequestConfig;
38
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateSemanticModelConfig>): adapter$45$utils_Untrusted<CreateSemanticModelConfig>;
39
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateSemanticModelConfig | null;
40
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateSemanticModelConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_SemanticModelOutputRepresentation_SemanticModelOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SemanticModelOutputRepresentation_SemanticModelOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SemanticModelOutputRepresentation_SemanticModelOutputRepresentation, any>>;
41
+ export declare const createSemanticModelAdapterFactory: $64$luvio_engine_AdapterFactory<CreateSemanticModelConfig, types_SemanticModelOutputRepresentation_SemanticModelOutputRepresentation>;
@@ -1,4 +1,5 @@
1
1
  export { getSemanticModelsAdapterFactory } from '../adapters/getSemanticModels';
2
+ export { createSemanticModelAdapterFactory } from '../adapters/createSemanticModel';
2
3
  export { getSemanticModelAdapterFactory } from '../adapters/getSemanticModel';
3
4
  export { getSemanticMetricsToSubMetricsAdapterFactory } from '../adapters/getSemanticMetricsToSubMetrics';
4
5
  export { getSemanticMetricsAdapterFactory } from '../adapters/getSemanticMetrics';
@@ -1,3 +1,4 @@
1
+ declare let createSemanticModel: any;
1
2
  declare let createSemanticSubMetric: any;
2
3
  declare let deleteSemanticSubMetric: any;
3
4
  declare let getSemanticMetric: any;
@@ -19,4 +20,4 @@ declare let getSemanticModels_imperative: any;
19
20
  declare let getSemanticSubMetric_imperative: any;
20
21
  declare let getSemanticSubMetrics_imperative: any;
21
22
  declare let getSemanticSubMetricsById_imperative: any;
22
- export { createSemanticSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetrics, getSemanticMetricsToSubMetrics, getSemanticModel, getSemanticModelNotifyChange, getSemanticModels, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticMetric_imperative, getSemanticMetrics_imperative, getSemanticMetricsToSubMetrics_imperative, getSemanticModel_imperative, getSemanticModels_imperative, getSemanticSubMetric_imperative, getSemanticSubMetrics_imperative, getSemanticSubMetricsById_imperative, };
23
+ export { createSemanticModel, createSemanticSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetrics, getSemanticMetricsToSubMetrics, getSemanticModel, getSemanticModelNotifyChange, getSemanticModels, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticMetric_imperative, getSemanticMetrics_imperative, getSemanticMetricsToSubMetrics_imperative, getSemanticModel_imperative, getSemanticModels_imperative, getSemanticSubMetric_imperative, getSemanticSubMetrics_imperative, getSemanticSubMetricsById_imperative, };
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "a1e942ca03509fd30c7e22138c6e50f4";
2
+ export declare const VERSION = "074297dc4a0a7e4824c1526142fd71a5";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: SemanticTimeRangeInputRepresentation, existing: SemanticTimeRangeInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticTimeRangeInputRepresentationNormalized;
@@ -14,10 +14,6 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
14
14
  * (none)
15
15
  */
16
16
  export interface SemanticTimeRangeInputRepresentationNormalized {
17
- /** The end date of the customer-defined time range. */
18
- customerEndDate?: string;
19
- /** The start date of the customer-defined time range. */
20
- customerStartDate?: string;
21
17
  /** The type of the time range. */
22
18
  timeRangeType?: string;
23
19
  }
@@ -28,7 +24,5 @@ export interface SemanticTimeRangeInputRepresentationNormalized {
28
24
  * (none)
29
25
  */
30
26
  export interface SemanticTimeRangeInputRepresentation {
31
- customerEndDate?: string;
32
- customerStartDate?: string;
33
27
  timeRangeType?: string;
34
28
  }
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "de13dd374836e9148d6e8c77d0403fa3";
2
+ export declare const VERSION = "d2f6caa1c0000af68170bf0f060cf0ba";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: SemanticTimeRangeOutputRepresentation, existing: SemanticTimeRangeOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticTimeRangeOutputRepresentationNormalized;
@@ -14,10 +14,6 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
14
14
  * (none)
15
15
  */
16
16
  export interface SemanticTimeRangeOutputRepresentationNormalized {
17
- /** The end date of the customer-defined time range. */
18
- customerEndDate?: string;
19
- /** The start date of the customer-defined time range. */
20
- customerStartDate?: string;
21
17
  /** The type of the time range. */
22
18
  timeRangeType?: string;
23
19
  }
@@ -28,7 +24,5 @@ export interface SemanticTimeRangeOutputRepresentationNormalized {
28
24
  * (none)
29
25
  */
30
26
  export interface SemanticTimeRangeOutputRepresentation {
31
- customerEndDate?: string;
32
- customerStartDate?: string;
33
27
  timeRangeType?: string;
34
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-semantic-authoring",
3
- "version": "1.310.0",
3
+ "version": "1.311.1",
4
4
  "description": "Semantic Authoring",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/cdp-semantic-authoring.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.310.0"
43
+ "@salesforce/lds-bindings": "^1.311.1"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.310.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.311.1"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {