@salesforce/lds-adapters-analytics-app-framework 0.1.0-dev1

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 (114) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/analytics-app-framework.js +7908 -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/createApp.d.ts +28 -0
  5. package/dist/es/es2018/types/src/generated/adapters/createAppAsset.d.ts +22 -0
  6. package/dist/es/es2018/types/src/generated/adapters/createTemplate.d.ts +37 -0
  7. package/dist/es/es2018/types/src/generated/adapters/deleteApp.d.ts +14 -0
  8. package/dist/es/es2018/types/src/generated/adapters/deleteAppAsset.d.ts +15 -0
  9. package/dist/es/es2018/types/src/generated/adapters/deleteTemplate.d.ts +14 -0
  10. package/dist/es/es2018/types/src/generated/adapters/getApp.d.ts +28 -0
  11. package/dist/es/es2018/types/src/generated/adapters/getAppActivities.d.ts +28 -0
  12. package/dist/es/es2018/types/src/generated/adapters/getAppActivity.d.ts +29 -0
  13. package/dist/es/es2018/types/src/generated/adapters/getAppAsset.d.ts +28 -0
  14. package/dist/es/es2018/types/src/generated/adapters/getAppAssets.d.ts +30 -0
  15. package/dist/es/es2018/types/src/generated/adapters/getApps.d.ts +29 -0
  16. package/dist/es/es2018/types/src/generated/adapters/getInstalledAssets.d.ts +28 -0
  17. package/dist/es/es2018/types/src/generated/adapters/getTags.d.ts +28 -0
  18. package/dist/es/es2018/types/src/generated/adapters/getTemplate.d.ts +28 -0
  19. package/dist/es/es2018/types/src/generated/adapters/getTemplateAssets.d.ts +27 -0
  20. package/dist/es/es2018/types/src/generated/adapters/getTemplateConfig.d.ts +28 -0
  21. package/dist/es/es2018/types/src/generated/adapters/getTemplates.d.ts +28 -0
  22. package/dist/es/es2018/types/src/generated/adapters/readinessCheck.d.ts +19 -0
  23. package/dist/es/es2018/types/src/generated/adapters/setTags.d.ts +18 -0
  24. package/dist/es/es2018/types/src/generated/adapters/updateApp.d.ts +21 -0
  25. package/dist/es/es2018/types/src/generated/adapters/updateAppAsset.d.ts +23 -0
  26. package/dist/es/es2018/types/src/generated/adapters/updateBasicApp.d.ts +16 -0
  27. package/dist/es/es2018/types/src/generated/adapters/updateTemplate.d.ts +21 -0
  28. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +24 -0
  29. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +44 -0
  30. package/dist/es/es2018/types/src/generated/resources/deleteAppFrameworkAppsAssetsByAppIdOrApiNameAndAppAssetId.d.ts +13 -0
  31. package/dist/es/es2018/types/src/generated/resources/deleteAppFrameworkAppsByAppIdOrApiName.d.ts +12 -0
  32. package/dist/es/es2018/types/src/generated/resources/deleteAppFrameworkTemplatesByTemplateIdOrApiName.d.ts +12 -0
  33. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkApps.d.ts +17 -0
  34. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsActivitiesByAppIdOrApiName.d.ts +16 -0
  35. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsActivitiesByAppIdOrApiNameAndId.d.ts +17 -0
  36. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsAssetsByAppIdOrApiName.d.ts +20 -0
  37. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsAssetsByAppIdOrApiNameAndAppAssetId.d.ts +16 -0
  38. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsByAppIdOrApiName.d.ts +16 -0
  39. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkInstalledAssets.d.ts +16 -0
  40. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplates.d.ts +16 -0
  41. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplatesAssetsByTemplateIdOrApiName.d.ts +15 -0
  42. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplatesByTemplateIdOrApiName.d.ts +16 -0
  43. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplatesConfigurationByTemplateIdOrApiName.d.ts +16 -0
  44. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplatesTagsByTemplateIdOrApiName.d.ts +16 -0
  45. package/dist/es/es2018/types/src/generated/resources/patchAppFrameworkAppsAssetsByAppIdOrApiNameAndAppAssetId.d.ts +22 -0
  46. package/dist/es/es2018/types/src/generated/resources/patchAppFrameworkTemplatesByTemplateIdOrApiName.d.ts +20 -0
  47. package/dist/es/es2018/types/src/generated/resources/postAppFrameworkApps.d.ts +25 -0
  48. package/dist/es/es2018/types/src/generated/resources/postAppFrameworkAppsAssetsByAppIdOrApiName.d.ts +21 -0
  49. package/dist/es/es2018/types/src/generated/resources/postAppFrameworkAppsUpdateBasicAppByAppIdOrApiName.d.ts +15 -0
  50. package/dist/es/es2018/types/src/generated/resources/postAppFrameworkTemplates.d.ts +34 -0
  51. package/dist/es/es2018/types/src/generated/resources/postAppFrameworkTemplatesReadinessByTemplateIdOrApiName.d.ts +18 -0
  52. package/dist/es/es2018/types/src/generated/resources/putAppFrameworkAppsByAppIdOrApiName.d.ts +20 -0
  53. package/dist/es/es2018/types/src/generated/resources/putAppFrameworkTemplatesTagsByTemplateIdOrApiName.d.ts +17 -0
  54. package/dist/es/es2018/types/src/generated/types/AppActivityCollectionRepresentation.d.ts +51 -0
  55. package/dist/es/es2018/types/src/generated/types/AppActivityItemInputRepresentation.d.ts +37 -0
  56. package/dist/es/es2018/types/src/generated/types/AppActivityItemRepresentation.d.ts +57 -0
  57. package/dist/es/es2018/types/src/generated/types/AppCollectionRepresentation.d.ts +39 -0
  58. package/dist/es/es2018/types/src/generated/types/AppDetailsRepresentation.d.ts +31 -0
  59. package/dist/es/es2018/types/src/generated/types/AppInputRepresentation.d.ts +65 -0
  60. package/dist/es/es2018/types/src/generated/types/AppRepresentation.d.ts +102 -0
  61. package/dist/es/es2018/types/src/generated/types/AppResultRepresentation.d.ts +61 -0
  62. package/dist/es/es2018/types/src/generated/types/AppScheduleRepresentation.d.ts +35 -0
  63. package/dist/es/es2018/types/src/generated/types/AppUpdateRepresentation.d.ts +41 -0
  64. package/dist/es/es2018/types/src/generated/types/AssetCollectionRepresentation.d.ts +51 -0
  65. package/dist/es/es2018/types/src/generated/types/AssetInputRepresentation.d.ts +46 -0
  66. package/dist/es/es2018/types/src/generated/types/AssetRepresentation.d.ts +59 -0
  67. package/dist/es/es2018/types/src/generated/types/BasicAppUpdateRepresentation.d.ts +28 -0
  68. package/dist/es/es2018/types/src/generated/types/ChainDefinitionInputRepresentation.d.ts +34 -0
  69. package/dist/es/es2018/types/src/generated/types/ChainDefinitionRepresentation.d.ts +37 -0
  70. package/dist/es/es2018/types/src/generated/types/DailyScheduledItemRepresentation.d.ts +26 -0
  71. package/dist/es/es2018/types/src/generated/types/GuidancePanelRepresentation.d.ts +34 -0
  72. package/dist/es/es2018/types/src/generated/types/HourlyScheduledItemRepresentation.d.ts +33 -0
  73. package/dist/es/es2018/types/src/generated/types/ImageReferenceRepresentation.d.ts +40 -0
  74. package/dist/es/es2018/types/src/generated/types/InstalledAssetCollectionRepresentation.d.ts +39 -0
  75. package/dist/es/es2018/types/src/generated/types/NavigationPanelRepresentation.d.ts +28 -0
  76. package/dist/es/es2018/types/src/generated/types/PageNavigationInfoRepresentation.d.ts +31 -0
  77. package/dist/es/es2018/types/src/generated/types/ReleaseInfoInputRepresentation.d.ts +31 -0
  78. package/dist/es/es2018/types/src/generated/types/ReleaseInfoRepresentation.d.ts +31 -0
  79. package/dist/es/es2018/types/src/generated/types/RuleInfoInputRepresentation.d.ts +31 -0
  80. package/dist/es/es2018/types/src/generated/types/RuleInfoRepresentation.d.ts +31 -0
  81. package/dist/es/es2018/types/src/generated/types/ScheduledItemRepresentation.d.ts +41 -0
  82. package/dist/es/es2018/types/src/generated/types/ScheduledTimeRepresentation.d.ts +34 -0
  83. package/dist/es/es2018/types/src/generated/types/ScheduledTimezoneRepresentation.d.ts +34 -0
  84. package/dist/es/es2018/types/src/generated/types/StaticResourceReferenceRepresentation.d.ts +40 -0
  85. package/dist/es/es2018/types/src/generated/types/TemplateCollectionRepresentation.d.ts +39 -0
  86. package/dist/es/es2018/types/src/generated/types/TemplateConfigurationRepresentation.d.ts +52 -0
  87. package/dist/es/es2018/types/src/generated/types/TemplateIconsInputRepresentation.d.ts +33 -0
  88. package/dist/es/es2018/types/src/generated/types/TemplateIconsRepresentation.d.ts +35 -0
  89. package/dist/es/es2018/types/src/generated/types/TemplateImageInputRepresentation.d.ts +31 -0
  90. package/dist/es/es2018/types/src/generated/types/TemplateImageRepresentation.d.ts +34 -0
  91. package/dist/es/es2018/types/src/generated/types/TemplateInputRepresentation.d.ts +84 -0
  92. package/dist/es/es2018/types/src/generated/types/TemplateReadinessInputRepresentation.d.ts +35 -0
  93. package/dist/es/es2018/types/src/generated/types/TemplateReadinessItemRepresentation.d.ts +37 -0
  94. package/dist/es/es2018/types/src/generated/types/TemplateReadinessRepresentation.d.ts +58 -0
  95. package/dist/es/es2018/types/src/generated/types/TemplateRepresentation.d.ts +112 -0
  96. package/dist/es/es2018/types/src/generated/types/TemplateTagCollectionInputRepresentation.d.ts +32 -0
  97. package/dist/es/es2018/types/src/generated/types/TemplateTagCollectionRepresentation.d.ts +45 -0
  98. package/dist/es/es2018/types/src/generated/types/TemplateUpdateRepresentation.d.ts +41 -0
  99. package/dist/es/es2018/types/src/generated/types/TemplatedAssetCollectionRepresentation.d.ts +39 -0
  100. package/dist/es/es2018/types/src/generated/types/TemplatedAssetRepresentation.d.ts +53 -0
  101. package/dist/es/es2018/types/src/generated/types/UiLayoutDefinitionRepresentation.d.ts +37 -0
  102. package/dist/es/es2018/types/src/generated/types/UserRepresentation.d.ts +34 -0
  103. package/dist/es/es2018/types/src/generated/types/WeeklyScheduledItemRepresentation.d.ts +30 -0
  104. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  105. package/dist/es/es2018/types/src/raml-artifacts/adapters/getTemplate/buildCachedSnapshotCachePolicy.d.ts +7 -0
  106. package/dist/es/es2018/types/src/raml-artifacts/adapters/getTemplate/onFetchResponseError.d.ts +4 -0
  107. package/dist/es/es2018/types/src/raml-artifacts/adapters/getTemplate/onFetchResponseSuccess.d.ts +5 -0
  108. package/dist/es/es2018/types/src/raml-artifacts/utils/nameToIdCache.d.ts +7 -0
  109. package/dist/es/es2018/types/src/raml-artifacts/utils/templateNameToIdCache.d.ts +6 -0
  110. package/package.json +76 -0
  111. package/sfdc/index.d.ts +1 -0
  112. package/sfdc/index.js +8391 -0
  113. package/src/raml/api.raml +1503 -0
  114. package/src/raml/luvio.raml +179 -0
@@ -0,0 +1,58 @@
1
+ import { TemplateReadinessItemRepresentation as TemplateReadinessItemRepresentation_TemplateReadinessItemRepresentation } from './TemplateReadinessItemRepresentation';
2
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
+ export declare const TTL = 1000;
4
+ export declare const VERSION = "1299d26238a3bbb05c6cf31992975f3c";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
8
+ id: string;
9
+ }
10
+ export type TemplateReadinessRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export type PartialTemplateReadinessRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
12
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
13
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): TemplateReadinessRepresentationNormalizedKeyMetadata;
14
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: TemplateReadinessRepresentation): string;
15
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: TemplateReadinessRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
16
+ export declare function normalize(input: TemplateReadinessRepresentation, existing: TemplateReadinessRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateReadinessRepresentationNormalized;
17
+ export declare const select: () => $64$luvio_engine_BaseFragment;
18
+ export declare function equals(existing: TemplateReadinessRepresentationNormalized, incoming: TemplateReadinessRepresentationNormalized): boolean;
19
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
20
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TemplateReadinessRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
21
+ /**
22
+ * Representation for app template readiness check.
23
+ *
24
+ * Keys:
25
+ * id (string): id
26
+ */
27
+ export interface TemplateReadinessRepresentationNormalized {
28
+ /** The Template Id this readiness check was performed on */
29
+ id: string;
30
+ /** The Domino Runtime Request. */
31
+ runtimeRequestId: string | null;
32
+ /** The State information */
33
+ state: {
34
+ [key: string]: unknown;
35
+ };
36
+ /** The Status */
37
+ status: string;
38
+ /** Results from each requirement task. */
39
+ tasks: Array<TemplateReadinessItemRepresentation_TemplateReadinessItemRepresentation>;
40
+ /** Warning message (readiness chain not found). */
41
+ warningMessage: string | null;
42
+ }
43
+ /**
44
+ * Representation for app template readiness check.
45
+ *
46
+ * Keys:
47
+ * id (string): id
48
+ */
49
+ export interface TemplateReadinessRepresentation {
50
+ id: string;
51
+ runtimeRequestId: string | null;
52
+ state: {
53
+ [key: string]: unknown;
54
+ };
55
+ status: string;
56
+ tasks: Array<TemplateReadinessItemRepresentation_TemplateReadinessItemRepresentation>;
57
+ warningMessage: string | null;
58
+ }
@@ -0,0 +1,112 @@
1
+ import { ChainDefinitionRepresentation as ChainDefinitionRepresentation_ChainDefinitionRepresentation } from './ChainDefinitionRepresentation';
2
+ import { TemplateIconsRepresentation as TemplateIconsRepresentation_TemplateIconsRepresentation } from './TemplateIconsRepresentation';
3
+ import { ReleaseInfoRepresentation as ReleaseInfoRepresentation_ReleaseInfoRepresentation } from './ReleaseInfoRepresentation';
4
+ import { RuleInfoRepresentation as RuleInfoRepresentation_RuleInfoRepresentation } from './RuleInfoRepresentation';
5
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
6
+ export declare const TTL = 5000;
7
+ export declare const VERSION = "ef302004cf7fc4fc5d3aadccdc1d2d46";
8
+ export declare function validate(obj: any, path?: string): TypeError | null;
9
+ export declare const RepresentationType: string;
10
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
11
+ id: string;
12
+ }
13
+ export type TemplateRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
14
+ export type PartialTemplateRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
16
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): TemplateRepresentationNormalizedKeyMetadata;
17
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: TemplateRepresentation): string;
18
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: TemplateRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
19
+ export declare function normalize(input: TemplateRepresentation, existing: TemplateRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateRepresentationNormalized;
20
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
21
+ export declare function equals(existing: TemplateRepresentationNormalized, incoming: TemplateRepresentationNormalized): boolean;
22
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
23
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TemplateRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
24
+ /**
25
+ * Representation for a single template.
26
+ *
27
+ * Keys:
28
+ * id (string): id
29
+ */
30
+ export interface TemplateRepresentationNormalized {
31
+ /** The ID of the application source for this template. */
32
+ applicationSourceId: string | null;
33
+ /** The asset version of the application template. */
34
+ assetVersion: number | null;
35
+ /** The chain definitions. */
36
+ chainDefinitions: Array<ChainDefinitionRepresentation_ChainDefinitionRepresentation>;
37
+ /** Url for configuration information */
38
+ configurationUrl: string;
39
+ /** The created date of the application Template. */
40
+ createdDate: string | null;
41
+ /** The description of the application template. */
42
+ description: string | null;
43
+ /** The icons of the application template. */
44
+ icons: TemplateIconsRepresentation_TemplateIconsRepresentation | null;
45
+ /** The ID or fully qualified API name of this template. */
46
+ id: string;
47
+ /** The localized name of the application template. */
48
+ label: string;
49
+ /** The last modified date of the application Template. */
50
+ lastModifiedDate: string | null;
51
+ /** The layout definition of the application template. */
52
+ layoutDefinition: string | null;
53
+ /** The max app count of the application template. */
54
+ maxAppCount: number | null;
55
+ /** The local API name of the application template. */
56
+ name: string;
57
+ /** The local namespace of the application template. */
58
+ namespace: string | null;
59
+ /** Url for performing org readiness check */
60
+ readinessUrl: string;
61
+ /** The release info of the application template. */
62
+ releaseInfo: ReleaseInfoRepresentation_ReleaseInfoRepresentation | null;
63
+ /** The rules. */
64
+ rules: Array<RuleInfoRepresentation_RuleInfoRepresentation>;
65
+ /** The Template Tags. */
66
+ tags: {
67
+ [key: string]: unknown;
68
+ };
69
+ /** The Template Status */
70
+ templateStatus: string | null;
71
+ /** The template sub type. */
72
+ templateSubtype: string | null;
73
+ /** The template type. */
74
+ templateType: string;
75
+ /** The this url. */
76
+ url: string;
77
+ /** The variable definition of the application template. */
78
+ variableDefinition: string | null;
79
+ }
80
+ /**
81
+ * Representation for a single template.
82
+ *
83
+ * Keys:
84
+ * id (string): id
85
+ */
86
+ export interface TemplateRepresentation {
87
+ applicationSourceId: string | null;
88
+ assetVersion: number | null;
89
+ chainDefinitions: Array<ChainDefinitionRepresentation_ChainDefinitionRepresentation>;
90
+ configurationUrl: string;
91
+ createdDate: string | null;
92
+ description: string | null;
93
+ icons: TemplateIconsRepresentation_TemplateIconsRepresentation | null;
94
+ id: string;
95
+ label: string;
96
+ lastModifiedDate: string | null;
97
+ layoutDefinition: string | null;
98
+ maxAppCount: number | null;
99
+ name: string;
100
+ namespace: string | null;
101
+ readinessUrl: string;
102
+ releaseInfo: ReleaseInfoRepresentation_ReleaseInfoRepresentation | null;
103
+ rules: Array<RuleInfoRepresentation_RuleInfoRepresentation>;
104
+ tags: {
105
+ [key: string]: unknown;
106
+ };
107
+ templateStatus: string | null;
108
+ templateSubtype: string | null;
109
+ templateType: string;
110
+ url: string;
111
+ variableDefinition: string | null;
112
+ }
@@ -0,0 +1,32 @@
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 = "381a9422cc47deba74b41da72987f44b";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: TemplateTagCollectionInputRepresentation, existing: TemplateTagCollectionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateTagCollectionInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: TemplateTagCollectionInputRepresentationNormalized, incoming: TemplateTagCollectionInputRepresentationNormalized): 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: TemplateTagCollectionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Input representation for creating template tag records.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface TemplateTagCollectionInputRepresentationNormalized {
17
+ /** The Template Tags. */
18
+ tags?: {
19
+ [key: string]: unknown;
20
+ };
21
+ }
22
+ /**
23
+ * Input representation for creating template tag records.
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface TemplateTagCollectionInputRepresentation {
29
+ tags?: {
30
+ [key: string]: unknown;
31
+ };
32
+ }
@@ -0,0 +1,45 @@
1
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const TTL = 5000;
3
+ export declare const VERSION = "59b25959d9663f1074e0b8d401e3c3a3";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
+ id: string;
8
+ }
9
+ export type TemplateTagCollectionRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialTemplateTagCollectionRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): TemplateTagCollectionRepresentationNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: TemplateTagCollectionRepresentation): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: TemplateTagCollectionRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: TemplateTagCollectionRepresentation, existing: TemplateTagCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateTagCollectionRepresentationNormalized;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: TemplateTagCollectionRepresentationNormalized, incoming: TemplateTagCollectionRepresentationNormalized): boolean;
18
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TemplateTagCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ * Representation for template tag records.
22
+ *
23
+ * Keys:
24
+ * id (string): templateId
25
+ */
26
+ export interface TemplateTagCollectionRepresentationNormalized {
27
+ /** The collection of template tag records. */
28
+ tags: {
29
+ [key: string]: unknown;
30
+ };
31
+ /** The id for the tags' template. */
32
+ templateId: string;
33
+ }
34
+ /**
35
+ * Representation for template tag records.
36
+ *
37
+ * Keys:
38
+ * id (string): templateId
39
+ */
40
+ export interface TemplateTagCollectionRepresentation {
41
+ tags: {
42
+ [key: string]: unknown;
43
+ };
44
+ templateId: string;
45
+ }
@@ -0,0 +1,41 @@
1
+ import { ReleaseInfoInputRepresentation as ReleaseInfoInputRepresentation_ReleaseInfoInputRepresentation } from './ReleaseInfoInputRepresentation';
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 = "01f100a8457021894adb18d27497ed1d";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: TemplateUpdateRepresentation, existing: TemplateUpdateRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateUpdateRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: TemplateUpdateRepresentationNormalized, incoming: TemplateUpdateRepresentationNormalized): 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: TemplateUpdateRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Input representation for Template update.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface TemplateUpdateRepresentationNormalized {
18
+ /** The Template application source */
19
+ applicationSourceId?: string;
20
+ /** The Template description. */
21
+ description?: string;
22
+ /** The Template label. */
23
+ label?: string;
24
+ /** The Template release notes */
25
+ releaseInfo?: ReleaseInfoInputRepresentation_ReleaseInfoInputRepresentation;
26
+ /** The Template Status */
27
+ templateStatus?: string;
28
+ }
29
+ /**
30
+ * Input representation for Template update.
31
+ *
32
+ * Keys:
33
+ * (none)
34
+ */
35
+ export interface TemplateUpdateRepresentation {
36
+ applicationSourceId?: string;
37
+ description?: string;
38
+ label?: string;
39
+ releaseInfo?: ReleaseInfoInputRepresentation_ReleaseInfoInputRepresentation;
40
+ templateStatus?: string;
41
+ }
@@ -0,0 +1,39 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ import { TemplatedAssetRepresentation as TemplatedAssetRepresentation_TemplatedAssetRepresentation } from './TemplatedAssetRepresentation';
3
+ export declare const TTL = 5000;
4
+ export declare const VERSION = "4b1832ffd3e3307762285c9d2cbd6143";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: TemplatedAssetCollectionRepresentation, existing: TemplatedAssetCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplatedAssetCollectionRepresentationNormalized;
8
+ export interface DynamicIngestParams {
9
+ templatedAssets: $64$luvio_engine_ResourceIngest;
10
+ }
11
+ export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: TemplatedAssetCollectionRepresentation, existing: TemplatedAssetCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => TemplatedAssetCollectionRepresentationNormalized;
12
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
13
+ export interface DynamicSelectParams {
14
+ templatedAssets?: $64$luvio_engine_LinkSelection;
15
+ }
16
+ export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: TemplatedAssetCollectionRepresentationNormalized, incoming: TemplatedAssetCollectionRepresentationNormalized): boolean;
18
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TemplatedAssetCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
21
+ /**
22
+ * Representation for Next Gen application templated assets.
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface TemplatedAssetCollectionRepresentationNormalized {
28
+ /** The collection of templated assets available. */
29
+ templatedAssets: Array<$64$luvio_engine_StoreLink>;
30
+ }
31
+ /**
32
+ * Representation for Next Gen application templated assets.
33
+ *
34
+ * Keys:
35
+ * (none)
36
+ */
37
+ export interface TemplatedAssetCollectionRepresentation {
38
+ templatedAssets: Array<TemplatedAssetRepresentation_TemplatedAssetRepresentation>;
39
+ }
@@ -0,0 +1,53 @@
1
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const TTL = 5000;
3
+ export declare const VERSION = "4e343e5af1f633a89fc929a65d39fd84";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
+ id: string;
8
+ }
9
+ export type TemplatedAssetRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialTemplatedAssetRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): TemplatedAssetRepresentationNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: TemplatedAssetRepresentation): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: TemplatedAssetRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: TemplatedAssetRepresentation, existing: TemplatedAssetRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplatedAssetRepresentationNormalized;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: TemplatedAssetRepresentationNormalized, incoming: TemplatedAssetRepresentationNormalized): boolean;
18
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TemplatedAssetRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ * A templated asset
22
+ *
23
+ * Keys:
24
+ * id (string): id
25
+ */
26
+ export interface TemplatedAssetRepresentationNormalized {
27
+ /** The asset type */
28
+ assetType: string;
29
+ /** The templated asset's body */
30
+ body: string | null;
31
+ /** The templated asset's file name */
32
+ fileName: string | null;
33
+ /** The templated asset's id */
34
+ id: string;
35
+ /** The id for the asset's template */
36
+ templateId: string;
37
+ /** The asset's name within the template' */
38
+ templatedAssetName: string;
39
+ }
40
+ /**
41
+ * A templated asset
42
+ *
43
+ * Keys:
44
+ * id (string): id
45
+ */
46
+ export interface TemplatedAssetRepresentation {
47
+ assetType: string;
48
+ body: string | null;
49
+ fileName: string | null;
50
+ id: string;
51
+ templateId: string;
52
+ templatedAssetName: string;
53
+ }
@@ -0,0 +1,37 @@
1
+ import { AppDetailsRepresentation as AppDetailsRepresentation_AppDetailsRepresentation } from './AppDetailsRepresentation';
2
+ import { NavigationPanelRepresentation as NavigationPanelRepresentation_NavigationPanelRepresentation } from './NavigationPanelRepresentation';
3
+ 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';
4
+ export declare const VERSION = "2dc4d441e48ded37e81aba3b52021311";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: UiLayoutDefinitionRepresentation, existing: UiLayoutDefinitionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UiLayoutDefinitionRepresentationNormalized;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: UiLayoutDefinitionRepresentationNormalized, incoming: UiLayoutDefinitionRepresentationNormalized): boolean;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UiLayoutDefinitionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * Representation for UI definition of Wave templates with layout support.
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface UiLayoutDefinitionRepresentationNormalized {
19
+ appDetails?: AppDetailsRepresentation_AppDetailsRepresentation;
20
+ /** The display messages for this template configuration. */
21
+ displayMessages: Array<unknown>;
22
+ navigationPanel?: NavigationPanelRepresentation_NavigationPanelRepresentation;
23
+ /** The page collection for this template configuration. */
24
+ pages: Array<unknown>;
25
+ }
26
+ /**
27
+ * Representation for UI definition of Wave templates with layout support.
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface UiLayoutDefinitionRepresentation {
33
+ appDetails?: AppDetailsRepresentation_AppDetailsRepresentation;
34
+ displayMessages: Array<unknown>;
35
+ navigationPanel?: NavigationPanelRepresentation_NavigationPanelRepresentation;
36
+ pages: Array<unknown>;
37
+ }
@@ -0,0 +1,34 @@
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 = "8747a45321deaf63f65cf74537b07eb6";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: UserRepresentation, existing: UserRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UserRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: UserRepresentationNormalized, incoming: UserRepresentationNormalized): 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: UserRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Information about a user.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface UserRepresentationNormalized {
17
+ /** The 18 character user ID. */
18
+ id: string;
19
+ /** The name of the user. */
20
+ name: string;
21
+ /** The Chatter profile photo of the user. */
22
+ profilePhotoUrl: string | null;
23
+ }
24
+ /**
25
+ * Information about a user.
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface UserRepresentation {
31
+ id: string;
32
+ name: string;
33
+ profilePhotoUrl: string | null;
34
+ }
@@ -0,0 +1,30 @@
1
+ import { ScheduledItemRepresentation as ScheduledItemRepresentation_ScheduledItemRepresentation } from './ScheduledItemRepresentation';
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 = "46260a34f0b2c2d7adc7f8c150a8d8fb";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: WeeklyScheduledItemRepresentation, existing: WeeklyScheduledItemRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): WeeklyScheduledItemRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: WeeklyScheduledItemRepresentationNormalized, incoming: WeeklyScheduledItemRepresentationNormalized): 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: WeeklyScheduledItemRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Representation for a daily scheduled item.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface WeeklyScheduledItemRepresentationNormalized extends ScheduledItemRepresentation_ScheduledItemRepresentation {
18
+ /** Collection of days of week for schedule. */
19
+ daysOfWeek: Array<string>;
20
+ }
21
+ /**
22
+ * Representation for a daily scheduled item.
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface WeeklyScheduledItemRepresentation extends ScheduledItemRepresentation_ScheduledItemRepresentation {
28
+ daysOfWeek: Array<string>;
29
+ frequency: 'Weekly';
30
+ }
@@ -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 {};
@@ -0,0 +1,7 @@
1
+ import type { Luvio, Snapshot, StoreLookup } from '@luvio/engine';
2
+ import type { GetTemplateConfig } from '../../../generated/adapters/getTemplate';
3
+ import type { TemplateRepresentation } from '../../../generated/types/TemplateRepresentation';
4
+ export declare function buildCachedSnapshotCachePolicy(context: {
5
+ luvio: Luvio;
6
+ config: GetTemplateConfig;
7
+ }, storeLookup: StoreLookup<TemplateRepresentation>): Snapshot<TemplateRepresentation>;
@@ -0,0 +1,4 @@
1
+ import type { Luvio, ErrorResponse } from '@luvio/engine';
2
+ import type { GetTemplateConfig } from '../../../generated/adapters/getTemplate';
3
+ import type { ResourceRequestConfig } from '../../../generated/resources/getAppFrameworkTemplatesByTemplateIdOrApiName';
4
+ export declare function onFetchResponseError(luvio: Luvio, config: GetTemplateConfig, resourceParams: ResourceRequestConfig, response: ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
@@ -0,0 +1,5 @@
1
+ import type { Luvio, FetchResponse } from '@luvio/engine';
2
+ import type { GetTemplateConfig } from '../../../generated/adapters/getTemplate';
3
+ import type { ResourceRequestConfig } from '../../../generated/resources/getAppFrameworkTemplatesByTemplateIdOrApiName';
4
+ import type { TemplateRepresentation } from '../../../generated/types/TemplateRepresentation';
5
+ export declare function onFetchResponseSuccess(luvio: Luvio, config: GetTemplateConfig, resourceParams: ResourceRequestConfig, response: FetchResponse<TemplateRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<TemplateRepresentation, {}> | import("@luvio/engine").StaleSnapshot<TemplateRepresentation, {}> | import("@luvio/engine").PendingSnapshot<TemplateRepresentation, any>>;
@@ -0,0 +1,7 @@
1
+ export declare class NameToIdCache {
2
+ private cache;
3
+ get(name: string): string | undefined;
4
+ set(name: string, id: string): void;
5
+ remove(nameOrId: string): void;
6
+ clear(): void;
7
+ }
@@ -0,0 +1,6 @@
1
+ import { NameToIdCache } from './nameToIdCache';
2
+ export declare const templateNameToIdCache: NameToIdCache;
3
+ export declare function templateApiName({ name, namespace }: {
4
+ name: string;
5
+ namespace?: string | null;
6
+ }): string;
package/package.json ADDED
@@ -0,0 +1,76 @@
1
+ {
2
+ "name": "@salesforce/lds-adapters-analytics-app-framework",
3
+ "version": "0.1.0-dev1",
4
+ "description": "APIs for the app-framework",
5
+ "license": "SEE LICENSE IN LICENSE.txt",
6
+ "main": "dist/es/es2018/analytics-app-framework.js",
7
+ "module": "dist/es/es2018/analytics-app-framework.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/analytics-app-framework.js",
18
+ "require": "./dist/es/es2018/analytics-app-framework.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": "analyticsAppFrameworkApi"
29
+ },
30
+ "contributors": [
31
+ "gregorysmith@salesforce.com"
32
+ ],
33
+ "scripts": {
34
+ "build": "yarn build:services",
35
+ "build:raml": "luvio generate src/raml/luvio.raml src/generated -p './scripts/lds-analytics-app-framework-plugin.js'",
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-analytics-app-framework",
39
+ "release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-analytics-app-framework",
40
+ "test:unit": "jest"
41
+ },
42
+ "dependencies": {
43
+ "@salesforce/lds-bindings": "^0.1.0-dev1"
44
+ },
45
+ "devDependencies": {
46
+ "@salesforce/lds-compiler-plugins": "^0.1.0-dev1"
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
+ "inputs": [
61
+ {
62
+ "externalDependencies": [
63
+ "@luvio/compiler",
64
+ "@luvio/cli"
65
+ ]
66
+ },
67
+ "{projectRoot}/**/*.raml",
68
+ "{projectRoot}/scripts/**"
69
+ ]
70
+ }
71
+ }
72
+ },
73
+ "volta": {
74
+ "extends": "../../package.json"
75
+ }
76
+ }
@@ -0,0 +1 @@
1
+ export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';