@salesforce/lds-adapters-cdp-semantic-authoring 1.294.0

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.
Files changed (89) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/cdp-semantic-authoring.js +4502 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getSemanticModel.d.ts +30 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getSemanticModels.d.ts +33 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +6 -0
  8. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModels.d.ts +21 -0
  9. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsByModelApiNameOrId.d.ts +20 -0
  10. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsCalculatedDimensionsByCalculatedDimensionNameOrIdAndModelApiNameOrId.d.ts +16 -0
  11. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsCalculatedDimensionsByModelApiNameOrId.d.ts +18 -0
  12. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsCalculatedMeasurementsByCalculatedMeasurementNameOrIdAndModelApiNameOrId.d.ts +16 -0
  13. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsCalculatedMeasurementsByModelApiNameOrId.d.ts +18 -0
  14. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsDataObjectsByDataObjectNameOrIdAndModelApiNameOrId.d.ts +16 -0
  15. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsDataObjectsByModelApiNameOrId.d.ts +15 -0
  16. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsDataObjectsDimensionsByDataObjectNameOrIdAndDimensionNameOrIdAndModelApiNameOrId.d.ts +17 -0
  17. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsDataObjectsDimensionsByDataObjectNameOrIdAndModelApiNameOrId.d.ts +19 -0
  18. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsDataObjectsMeasurementsByDataObjectNameOrIdAndMeasurementNameOrIdAndModelApiNameOrId.d.ts +17 -0
  19. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsDataObjectsMeasurementsByDataObjectNameOrIdAndModelApiNameOrId.d.ts +19 -0
  20. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +16 -0
  21. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrId.d.ts +16 -0
  22. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsMetricsByModelApiNameOrId.d.ts +15 -0
  23. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsParametersByModelApiNameOrId.d.ts +15 -0
  24. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsParametersByModelApiNameOrIdAndParameterApiNameOrId.d.ts +16 -0
  25. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsRelationshipsByModelApiNameOrId.d.ts +15 -0
  26. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsRelationshipsByModelApiNameOrIdAndRelationshipNameOrId.d.ts +16 -0
  27. package/dist/es/es2018/types/src/generated/types/SemanticAuthoringErrorOutputRepresentation.d.ts +40 -0
  28. package/dist/es/es2018/types/src/generated/types/SemanticBaseModelInputRepresentation.d.ts +28 -0
  29. package/dist/es/es2018/types/src/generated/types/SemanticBaseModelOutputRepresentation.d.ts +31 -0
  30. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionCollectionOutputRepresentation.d.ts +29 -0
  31. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionInputRepresentation.d.ts +67 -0
  32. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +80 -0
  33. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementCollectionOutputRepresentation.d.ts +29 -0
  34. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementInputRepresentation.d.ts +76 -0
  35. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +92 -0
  36. package/dist/es/es2018/types/src/generated/types/SemanticDataObjectCollectionInputRepresentation.d.ts +28 -0
  37. package/dist/es/es2018/types/src/generated/types/SemanticDataObjectCollectionOutputRepresentation.d.ts +29 -0
  38. package/dist/es/es2018/types/src/generated/types/SemanticDataObjectFieldReferenceInputRepresentation.d.ts +31 -0
  39. package/dist/es/es2018/types/src/generated/types/SemanticDataObjectFieldReferenceOutputRepresentation.d.ts +31 -0
  40. package/dist/es/es2018/types/src/generated/types/SemanticDataObjectInputRepresentation.d.ts +61 -0
  41. package/dist/es/es2018/types/src/generated/types/SemanticDataObjectOutputRepresentation.d.ts +82 -0
  42. package/dist/es/es2018/types/src/generated/types/SemanticDependencyCollectionInputRepresentation.d.ts +28 -0
  43. package/dist/es/es2018/types/src/generated/types/SemanticDependencyCollectionOutputRepresentation.d.ts +29 -0
  44. package/dist/es/es2018/types/src/generated/types/SemanticDependencyInnerCollectionOutputRepresentation.d.ts +35 -0
  45. package/dist/es/es2018/types/src/generated/types/SemanticDependencyInputRepresentation.d.ts +31 -0
  46. package/dist/es/es2018/types/src/generated/types/SemanticDependencyOutputRepresentation.d.ts +34 -0
  47. package/dist/es/es2018/types/src/generated/types/SemanticDimensionCollectionOutputRepresentation.d.ts +29 -0
  48. package/dist/es/es2018/types/src/generated/types/SemanticDimensionInputRepresentation.d.ts +58 -0
  49. package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +70 -0
  50. package/dist/es/es2018/types/src/generated/types/SemanticFieldReferenceInputRepresentation.d.ts +31 -0
  51. package/dist/es/es2018/types/src/generated/types/SemanticFieldReferenceOutputRepresentation.d.ts +32 -0
  52. package/dist/es/es2018/types/src/generated/types/SemanticFilterInputRepresentation.d.ts +34 -0
  53. package/dist/es/es2018/types/src/generated/types/SemanticFilterOutputRepresentation.d.ts +34 -0
  54. package/dist/es/es2018/types/src/generated/types/SemanticIdentifyingDimensionInputRepresentation.d.ts +31 -0
  55. package/dist/es/es2018/types/src/generated/types/SemanticIdentifyingDimensionOutputRepresentation.d.ts +32 -0
  56. package/dist/es/es2018/types/src/generated/types/SemanticInsightTypeInputRepresentation.d.ts +31 -0
  57. package/dist/es/es2018/types/src/generated/types/SemanticInsightTypeOutputRepresentation.d.ts +31 -0
  58. package/dist/es/es2018/types/src/generated/types/SemanticInsightsSettingsInputRepresentation.d.ts +40 -0
  59. package/dist/es/es2018/types/src/generated/types/SemanticInsightsSettingsOutputRepresentation.d.ts +43 -0
  60. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewCollectionOutputRepresentation.d.ts +29 -0
  61. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewInputRepresentation.d.ts +49 -0
  62. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +64 -0
  63. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewPartialInputRepresentation.d.ts +43 -0
  64. package/dist/es/es2018/types/src/generated/types/SemanticMeasurementCollectionOutputRepresentation.d.ts +29 -0
  65. package/dist/es/es2018/types/src/generated/types/SemanticMeasurementInputRepresentation.d.ts +64 -0
  66. package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +79 -0
  67. package/dist/es/es2018/types/src/generated/types/SemanticMetricCollectionOutputRepresentation.d.ts +29 -0
  68. package/dist/es/es2018/types/src/generated/types/SemanticMetricInputRepresentation.d.ts +58 -0
  69. package/dist/es/es2018/types/src/generated/types/SemanticMetricOutputRepresentation.d.ts +73 -0
  70. package/dist/es/es2018/types/src/generated/types/SemanticModelCollectionOutputRepresentation.d.ts +44 -0
  71. package/dist/es/es2018/types/src/generated/types/SemanticModelInputRepresentation.d.ts +70 -0
  72. package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +117 -0
  73. package/dist/es/es2018/types/src/generated/types/SemanticModelPartialInputRepresentation.d.ts +46 -0
  74. package/dist/es/es2018/types/src/generated/types/SemanticModelPartialOutputRepresentation.d.ts +76 -0
  75. package/dist/es/es2018/types/src/generated/types/SemanticParameterCollectionOutputRepresentation.d.ts +29 -0
  76. package/dist/es/es2018/types/src/generated/types/SemanticParameterInputRepresentation.d.ts +58 -0
  77. package/dist/es/es2018/types/src/generated/types/SemanticParameterOutputRepresentation.d.ts +70 -0
  78. package/dist/es/es2018/types/src/generated/types/SemanticRelationshipCollectionOutputRepresentation.d.ts +29 -0
  79. package/dist/es/es2018/types/src/generated/types/SemanticRelationshipCriteriaInputRepresentation.d.ts +31 -0
  80. package/dist/es/es2018/types/src/generated/types/SemanticRelationshipCriteriaOutputRepresentation.d.ts +31 -0
  81. package/dist/es/es2018/types/src/generated/types/SemanticRelationshipInputRepresentation.d.ts +58 -0
  82. package/dist/es/es2018/types/src/generated/types/SemanticRelationshipOutputRepresentation.d.ts +71 -0
  83. package/dist/es/es2018/types/src/generated/types/SemanticValidationOutputRepresentation.d.ts +38 -0
  84. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  85. package/package.json +66 -0
  86. package/sfdc/index.d.ts +1 -0
  87. package/sfdc/index.js +4584 -0
  88. package/src/raml/api.raml +2307 -0
  89. package/src/raml/luvio.raml +32 -0
@@ -0,0 +1,31 @@
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 = "d3c043588cb28bd3d5487358c2af78e1";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SemanticRelationshipCriteriaInputRepresentation, existing: SemanticRelationshipCriteriaInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticRelationshipCriteriaInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SemanticRelationshipCriteriaInputRepresentationNormalized, incoming: SemanticRelationshipCriteriaInputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SemanticRelationshipCriteriaInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Input representation for creating a semantic relationship criteria
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SemanticRelationshipCriteriaInputRepresentationNormalized {
17
+ /** The api name of the field from the left semantic data object. */
18
+ leftSemanticFieldApiName: string | null;
19
+ /** The api name of the field from the right semantic data object. */
20
+ rightSemanticFieldApiName: string | null;
21
+ }
22
+ /**
23
+ * Input representation for creating a semantic relationship criteria
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface SemanticRelationshipCriteriaInputRepresentation {
29
+ leftSemanticFieldApiName: string | null;
30
+ rightSemanticFieldApiName: string | null;
31
+ }
@@ -0,0 +1,31 @@
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 = "c51c0cf4309a052b985d4a53984fcee4";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SemanticRelationshipCriteriaOutputRepresentation, existing: SemanticRelationshipCriteriaOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticRelationshipCriteriaOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SemanticRelationshipCriteriaOutputRepresentationNormalized, incoming: SemanticRelationshipCriteriaOutputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SemanticRelationshipCriteriaOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * A semantic relationship criteria.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SemanticRelationshipCriteriaOutputRepresentationNormalized {
17
+ /** The api name of the field from the left semantic data object */
18
+ leftSemanticFieldApiName: string | null;
19
+ /** The api name of the field from the right semantic data object */
20
+ rightSemanticFieldApiName: string | null;
21
+ }
22
+ /**
23
+ * A semantic relationship criteria.
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface SemanticRelationshipCriteriaOutputRepresentation {
29
+ leftSemanticFieldApiName: string | null;
30
+ rightSemanticFieldApiName: string | null;
31
+ }
@@ -0,0 +1,58 @@
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 = "c1a63571884afab7eb6015526000fd07";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SemanticRelationshipInputRepresentation, existing: SemanticRelationshipInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticRelationshipInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SemanticRelationshipInputRepresentationNormalized, incoming: SemanticRelationshipInputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SemanticRelationshipInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Input representation for creating a semantic relationship
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SemanticRelationshipInputRepresentationNormalized {
17
+ /** The API name of the semantic entity. */
18
+ apiName: string;
19
+ /** The cardinality to use while querying using the semantic relationship. */
20
+ cardinality: string;
21
+ /** The join criterias to use while querying using the semantic relationship. */
22
+ criteria: Array<{}>;
23
+ /** An optional dataspace in which the entity is located. */
24
+ dataspace: string | null;
25
+ /** An optional description of the semantic entity. */
26
+ description: string | null;
27
+ /** Indicates whether the relationship is currently enabled */
28
+ isEnabled: boolean | null;
29
+ /** The join type of the semantic relationship. */
30
+ joinType: string;
31
+ /** The display name of the semantic entity. Optional, if not specified will use the same as the api name but instead of “_” will use spaces. */
32
+ label: string | null;
33
+ /** The api name of the left semantic definition in the semantic relationship. */
34
+ leftSemanticDefinitionApiName: string | null;
35
+ /** The object ID of a specific Logical View. */
36
+ logicalViewId: string | null;
37
+ /** The api name of the right semantic definition in the semantic relationship. */
38
+ rightSemanticDefinitionApiName: string | null;
39
+ }
40
+ /**
41
+ * Input representation for creating a semantic relationship
42
+ *
43
+ * Keys:
44
+ * (none)
45
+ */
46
+ export interface SemanticRelationshipInputRepresentation {
47
+ apiName: string;
48
+ cardinality: string;
49
+ criteria: Array<{}>;
50
+ dataspace: string | null;
51
+ description: string | null;
52
+ isEnabled: boolean | null;
53
+ joinType: string;
54
+ label: string | null;
55
+ leftSemanticDefinitionApiName: string | null;
56
+ logicalViewId: string | null;
57
+ rightSemanticDefinitionApiName: string | null;
58
+ }
@@ -0,0 +1,71 @@
1
+ import { SemanticRelationshipCriteriaOutputRepresentation as SemanticRelationshipCriteriaOutputRepresentation_SemanticRelationshipCriteriaOutputRepresentation } from './SemanticRelationshipCriteriaOutputRepresentation';
2
+ 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';
3
+ export declare const VERSION = "a0476da7b21cff34e93ec58cd69409f3";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: SemanticRelationshipOutputRepresentation, existing: SemanticRelationshipOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticRelationshipOutputRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: SemanticRelationshipOutputRepresentationNormalized, incoming: SemanticRelationshipOutputRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SemanticRelationshipOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * The output representation of a semantic relationship.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface SemanticRelationshipOutputRepresentationNormalized {
18
+ /** The API name of the semantic entity. */
19
+ apiName: string;
20
+ /** The cardinality to use while querying using the semantic relationship */
21
+ cardinality: string;
22
+ /** The user who created the semantic entity. */
23
+ createdBy: string;
24
+ /** The date in which the semantic entity was created. */
25
+ createdDate: string;
26
+ /** The join criteria to use when querying definitions. */
27
+ criteria: Array<SemanticRelationshipCriteriaOutputRepresentation_SemanticRelationshipCriteriaOutputRepresentation>;
28
+ /** The Description of the semantic entity. */
29
+ description?: string | null;
30
+ /** The object ID of the semantic entity. */
31
+ id: string;
32
+ /** Indicates whether the relationship is currently enabled */
33
+ isEnabled: boolean | null;
34
+ /** the join type of the semantic relationship. */
35
+ joinType: string;
36
+ /** The display name of the semantic entity to be used in the ui. */
37
+ label: string | null;
38
+ /** The user who last modified the semantic entity. */
39
+ lastModifiedBy?: string | null;
40
+ /** The date in which the semantic entity was last modified. */
41
+ lastModifiedDate?: string | null;
42
+ /** The api name of the left Semantic definition. */
43
+ leftSemanticDefinitionApiName: string | null;
44
+ /** The api name of the referenced logical view. */
45
+ logicalViewId?: string | null;
46
+ /** The api name of the right Semantic definition. */
47
+ rightSemanticDefinitionApiName: string | null;
48
+ }
49
+ /**
50
+ * The output representation of a semantic relationship.
51
+ *
52
+ * Keys:
53
+ * (none)
54
+ */
55
+ export interface SemanticRelationshipOutputRepresentation {
56
+ apiName: string;
57
+ cardinality: string;
58
+ createdBy: string;
59
+ createdDate: string;
60
+ criteria: Array<SemanticRelationshipCriteriaOutputRepresentation_SemanticRelationshipCriteriaOutputRepresentation>;
61
+ description?: string | null;
62
+ id: string;
63
+ isEnabled: boolean | null;
64
+ joinType: string;
65
+ label: string | null;
66
+ lastModifiedBy?: string | null;
67
+ lastModifiedDate?: string | null;
68
+ leftSemanticDefinitionApiName: string | null;
69
+ logicalViewId?: string | null;
70
+ rightSemanticDefinitionApiName: string | null;
71
+ }
@@ -0,0 +1,38 @@
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 = "554d6a701480751087f7b17279a829f4";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SemanticValidationOutputRepresentation, existing: SemanticValidationOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticValidationOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SemanticValidationOutputRepresentationNormalized, incoming: SemanticValidationOutputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SemanticValidationOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Semantic Validation output representation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SemanticValidationOutputRepresentationNormalized {
17
+ /** The result of the validation. */
18
+ isValid: boolean | null;
19
+ /** Localization Parameters. */
20
+ params: Array<string>;
21
+ /** A map of Field Name and Validation Response. */
22
+ validationResponses: {
23
+ [key: string]: string;
24
+ };
25
+ }
26
+ /**
27
+ * Semantic Validation output representation
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface SemanticValidationOutputRepresentation {
33
+ isValid: boolean | null;
34
+ params: Array<string>;
35
+ validationResponses: {
36
+ [key: string]: string;
37
+ };
38
+ }
@@ -0,0 +1,32 @@
1
+ import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const ObjectKeys: {
3
+ (o: object): string[];
4
+ (o: {}): string[];
5
+ }, ObjectCreate: {
6
+ (o: object | null): any;
7
+ (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
8
+ }, ObjectAssign: {
9
+ <T extends {}, U>(target: T, source: U): T & U;
10
+ <T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
11
+ <T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
12
+ (target: object, ...sources: any[]): any;
13
+ };
14
+ export declare const ArrayIsArray: (arg: any) => arg is any[];
15
+ export declare const JSONStringify: {
16
+ (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
17
+ (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
18
+ };
19
+ type AllowedPrimitives = boolean | string | number | Date | null;
20
+ type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
21
+ export type RecursivePartial<T> = null | {
22
+ [P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
23
+ };
24
+ export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
25
+ export declare function equalsObject<U, V extends {
26
+ [key: string]: U;
27
+ }>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
28
+ export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
29
+ __ref: string;
30
+ };
31
+ export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
32
+ export {};
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@salesforce/lds-adapters-cdp-semantic-authoring",
3
+ "version": "1.294.0",
4
+ "description": "Semantic Authoring",
5
+ "license": "SEE LICENSE IN LICENSE.txt",
6
+ "main": "dist/es/es2018/cdp-semantic-authoring.js",
7
+ "module": "dist/es/es2018/cdp-semantic-authoring.js",
8
+ "types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
9
+ "files": [
10
+ "dist",
11
+ "sfdc",
12
+ "src/raml/*"
13
+ ],
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts",
17
+ "import": "./dist/es/es2018/cdp-semantic-authoring.js",
18
+ "require": "./dist/es/es2018/cdp-semantic-authoring.js"
19
+ },
20
+ "./sfdc": {
21
+ "types": "./sfdc/index.d.ts",
22
+ "import": "./sfdc/index.js",
23
+ "default": "./sfdc/index.js"
24
+ }
25
+ },
26
+ "sfdc": {
27
+ "namespace": "lightning",
28
+ "module": "cdpSemanticAuthoringApi"
29
+ },
30
+ "contributors": [
31
+ "ksaggy@salesforce.com"
32
+ ],
33
+ "scripts": {
34
+ "build": "yarn build:services",
35
+ "build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
36
+ "build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
37
+ "clean": "rm -rf dist sfdc src/generated",
38
+ "release:core": "../../scripts/release/core.js --adapter=lds-adapters-cdp-semantic-authoring",
39
+ "release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-cdp-semantic-authoring",
40
+ "test:unit": "jest"
41
+ },
42
+ "dependencies": {
43
+ "@salesforce/lds-bindings": "^1.294.0"
44
+ },
45
+ "devDependencies": {
46
+ "@salesforce/lds-compiler-plugins": "^1.294.0"
47
+ },
48
+ "nx": {
49
+ "targets": {
50
+ "build": {
51
+ "outputs": [
52
+ "{projectRoot}/dist",
53
+ "{projectRoot}/sfdc"
54
+ ]
55
+ },
56
+ "build:raml": {
57
+ "outputs": [
58
+ "{projectRoot}/src/generated"
59
+ ]
60
+ }
61
+ }
62
+ },
63
+ "volta": {
64
+ "extends": "../../package.json"
65
+ }
66
+ }
@@ -0,0 +1 @@
1
+ export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';