@salesforce/lds-adapters-analytics-app-framework 1.303.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 (51) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/analytics-app-framework.js +2886 -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 +23 -0
  5. package/dist/es/es2018/types/src/generated/adapters/deleteApp.d.ts +14 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getApp.d.ts +28 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getAppAssets.d.ts +30 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getApps.d.ts +27 -0
  9. package/dist/es/es2018/types/src/generated/adapters/getTemplate.d.ts +28 -0
  10. package/dist/es/es2018/types/src/generated/adapters/getTemplateConfig.d.ts +28 -0
  11. package/dist/es/es2018/types/src/generated/adapters/getTemplates.d.ts +26 -0
  12. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +8 -0
  13. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +19 -0
  14. package/dist/es/es2018/types/src/generated/resources/deleteAppFrameworkAppsByAppIdOrApiName.d.ts +12 -0
  15. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkApps.d.ts +15 -0
  16. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsAssetsByAppIdOrApiName.d.ts +20 -0
  17. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsByAppIdOrApiName.d.ts +16 -0
  18. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplates.d.ts +12 -0
  19. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplatesByTemplateIdOrApiName.d.ts +16 -0
  20. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplatesConfigurationByTemplateIdOrApiName.d.ts +16 -0
  21. package/dist/es/es2018/types/src/generated/resources/postAppFrameworkApps.d.ts +20 -0
  22. package/dist/es/es2018/types/src/generated/types/AppCollectionRepresentation.d.ts +39 -0
  23. package/dist/es/es2018/types/src/generated/types/AppInputRepresentation.d.ts +50 -0
  24. package/dist/es/es2018/types/src/generated/types/AppRepresentation.d.ts +87 -0
  25. package/dist/es/es2018/types/src/generated/types/AppResultRepresentation.d.ts +58 -0
  26. package/dist/es/es2018/types/src/generated/types/AppScheduleRepresentation.d.ts +35 -0
  27. package/dist/es/es2018/types/src/generated/types/AssetCollectionRepresentation.d.ts +51 -0
  28. package/dist/es/es2018/types/src/generated/types/AssetRepresentation.d.ts +53 -0
  29. package/dist/es/es2018/types/src/generated/types/ChainDefinitionInputRepresentation.d.ts +34 -0
  30. package/dist/es/es2018/types/src/generated/types/DailyScheduledItemRepresentation.d.ts +26 -0
  31. package/dist/es/es2018/types/src/generated/types/HourlyScheduledItemRepresentation.d.ts +33 -0
  32. package/dist/es/es2018/types/src/generated/types/NamespacedReferenceInputRepresentation.d.ts +31 -0
  33. package/dist/es/es2018/types/src/generated/types/ReleaseInfoInputRepresentation.d.ts +31 -0
  34. package/dist/es/es2018/types/src/generated/types/RuleInfoInputRepresentation.d.ts +31 -0
  35. package/dist/es/es2018/types/src/generated/types/ScheduledItemRepresentation.d.ts +41 -0
  36. package/dist/es/es2018/types/src/generated/types/ScheduledTimeRepresentation.d.ts +34 -0
  37. package/dist/es/es2018/types/src/generated/types/ScheduledTimezoneRepresentation.d.ts +34 -0
  38. package/dist/es/es2018/types/src/generated/types/TemplateCollectionRepresentation.d.ts +39 -0
  39. package/dist/es/es2018/types/src/generated/types/TemplateConfigurationRepresentation.d.ts +41 -0
  40. package/dist/es/es2018/types/src/generated/types/TemplateIconsInputRepresentation.d.ts +36 -0
  41. package/dist/es/es2018/types/src/generated/types/TemplateInputRepresentation.d.ts +71 -0
  42. package/dist/es/es2018/types/src/generated/types/TemplatePreviewInputRepresentation.d.ts +37 -0
  43. package/dist/es/es2018/types/src/generated/types/TemplateRepresentation.d.ts +56 -0
  44. package/dist/es/es2018/types/src/generated/types/UserRepresentation.d.ts +34 -0
  45. package/dist/es/es2018/types/src/generated/types/WeeklyScheduledItemRepresentation.d.ts +30 -0
  46. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  47. package/package.json +66 -0
  48. package/sfdc/index.d.ts +1 -0
  49. package/sfdc/index.js +3150 -0
  50. package/src/raml/api.raml +601 -0
  51. package/src/raml/luvio.raml +80 -0
@@ -0,0 +1,41 @@
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 = "e6fefdec79109bdf21676f6faa21f07d";
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 TemplateConfigurationRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialTemplateConfigurationRepresentationNormalizedKeyMetadata = 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): TemplateConfigurationRepresentationNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: TemplateConfigurationRepresentation): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: TemplateConfigurationRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: TemplateConfigurationRepresentation, existing: TemplateConfigurationRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateConfigurationRepresentationNormalized;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: TemplateConfigurationRepresentationNormalized, incoming: TemplateConfigurationRepresentationNormalized): 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: TemplateConfigurationRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ * Representation for app template configuration.
22
+ *
23
+ * Keys:
24
+ * id (string): id
25
+ */
26
+ export interface TemplateConfigurationRepresentationNormalized {
27
+ /** The ID or fully qualified API name of this template. */
28
+ id: string;
29
+ /** The local API name of the template. */
30
+ name: string;
31
+ }
32
+ /**
33
+ * Representation for app template configuration.
34
+ *
35
+ * Keys:
36
+ * id (string): id
37
+ */
38
+ export interface TemplateConfigurationRepresentation {
39
+ id: string;
40
+ name: string;
41
+ }
@@ -0,0 +1,36 @@
1
+ import { NamespacedReferenceInputRepresentation as NamespacedReferenceInputRepresentation_NamespacedReferenceInputRepresentation } from './NamespacedReferenceInputRepresentation';
2
+ import { TemplatePreviewInputRepresentation as TemplatePreviewInputRepresentation_TemplatePreviewInputRepresentation } from './TemplatePreviewInputRepresentation';
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 = "da0d52370d475399566b73e800138aff";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: TemplateIconsInputRepresentation, existing: TemplateIconsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateIconsInputRepresentationNormalized;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: TemplateIconsInputRepresentationNormalized, incoming: TemplateIconsInputRepresentationNormalized): 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: TemplateIconsInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * Input representation template Icons.
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface TemplateIconsInputRepresentationNormalized {
19
+ /** Icon for the app. */
20
+ appBadge?: NamespacedReferenceInputRepresentation_NamespacedReferenceInputRepresentation;
21
+ /** Icon for the template */
22
+ templateBadge?: NamespacedReferenceInputRepresentation_NamespacedReferenceInputRepresentation;
23
+ /** Previews images an description of template */
24
+ templatePreviews?: Array<TemplatePreviewInputRepresentation_TemplatePreviewInputRepresentation>;
25
+ }
26
+ /**
27
+ * Input representation template Icons.
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface TemplateIconsInputRepresentation {
33
+ appBadge?: NamespacedReferenceInputRepresentation_NamespacedReferenceInputRepresentation;
34
+ templateBadge?: NamespacedReferenceInputRepresentation_NamespacedReferenceInputRepresentation;
35
+ templatePreviews?: Array<TemplatePreviewInputRepresentation_TemplatePreviewInputRepresentation>;
36
+ }
@@ -0,0 +1,71 @@
1
+ import { ChainDefinitionInputRepresentation as ChainDefinitionInputRepresentation_ChainDefinitionInputRepresentation } from './ChainDefinitionInputRepresentation';
2
+ import { TemplateIconsInputRepresentation as TemplateIconsInputRepresentation_TemplateIconsInputRepresentation } from './TemplateIconsInputRepresentation';
3
+ import { ReleaseInfoInputRepresentation as ReleaseInfoInputRepresentation_ReleaseInfoInputRepresentation } from './ReleaseInfoInputRepresentation';
4
+ import { RuleInfoInputRepresentation as RuleInfoInputRepresentation_RuleInfoInputRepresentation } from './RuleInfoInputRepresentation';
5
+ 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';
6
+ export declare const VERSION = "c38ff7e7ddb3df5dc491f8669ea14b86";
7
+ export declare function validate(obj: any, path?: string): TypeError | null;
8
+ export declare const RepresentationType: string;
9
+ export declare function normalize(input: TemplateInputRepresentation, existing: TemplateInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateInputRepresentationNormalized;
10
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
11
+ export declare function equals(existing: TemplateInputRepresentationNormalized, incoming: TemplateInputRepresentationNormalized): boolean;
12
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
13
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TemplateInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
14
+ /**
15
+ * Input representation for Template Info.
16
+ *
17
+ * Keys:
18
+ * (none)
19
+ */
20
+ export interface TemplateInputRepresentationNormalized {
21
+ /** The version of the Template assets. */
22
+ assetVersion: number;
23
+ /** The Template chain definitions */
24
+ chainDefinitions: Array<ChainDefinitionInputRepresentation_ChainDefinitionInputRepresentation>;
25
+ /** The Template description. */
26
+ description?: string;
27
+ /** The Template icons. */
28
+ icons?: TemplateIconsInputRepresentation_TemplateIconsInputRepresentation;
29
+ /** The Template Id. */
30
+ id: string;
31
+ /** The Template label. */
32
+ label: string;
33
+ /** The Template layout definition file. */
34
+ layoutDefinition?: string;
35
+ /** The Template name. */
36
+ name: string;
37
+ /** The Template developer namespace. */
38
+ namespace?: string;
39
+ /** The Template release notes */
40
+ releaseInfo: ReleaseInfoInputRepresentation_ReleaseInfoInputRepresentation;
41
+ /** The Template rules file */
42
+ rules?: Array<RuleInfoInputRepresentation_RuleInfoInputRepresentation>;
43
+ /** The Template Tags. */
44
+ tags?: Array<string>;
45
+ /** The Template Type. */
46
+ templateType: string;
47
+ /** The Template variables file */
48
+ variableDefinition?: string;
49
+ }
50
+ /**
51
+ * Input representation for Template Info.
52
+ *
53
+ * Keys:
54
+ * (none)
55
+ */
56
+ export interface TemplateInputRepresentation {
57
+ assetVersion: number;
58
+ chainDefinitions: Array<ChainDefinitionInputRepresentation_ChainDefinitionInputRepresentation>;
59
+ description?: string;
60
+ icons?: TemplateIconsInputRepresentation_TemplateIconsInputRepresentation;
61
+ id: string;
62
+ label: string;
63
+ layoutDefinition?: string;
64
+ name: string;
65
+ namespace?: string;
66
+ releaseInfo: ReleaseInfoInputRepresentation_ReleaseInfoInputRepresentation;
67
+ rules?: Array<RuleInfoInputRepresentation_RuleInfoInputRepresentation>;
68
+ tags?: Array<string>;
69
+ templateType: string;
70
+ variableDefinition?: string;
71
+ }
@@ -0,0 +1,37 @@
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 = "c3ff3552db73f94ed39b480f6e74c2ce";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: TemplatePreviewInputRepresentation, existing: TemplatePreviewInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplatePreviewInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: TemplatePreviewInputRepresentationNormalized, incoming: TemplatePreviewInputRepresentationNormalized): 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: TemplatePreviewInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Input representation for Template Previews.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface TemplatePreviewInputRepresentationNormalized {
17
+ /** Preview description */
18
+ description?: string;
19
+ /** Preview title */
20
+ label: string;
21
+ /** Developer Name. */
22
+ name: string;
23
+ /** Developer Namespace */
24
+ namespace?: string;
25
+ }
26
+ /**
27
+ * Input representation for Template Previews.
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface TemplatePreviewInputRepresentation {
33
+ description?: string;
34
+ label: string;
35
+ name: string;
36
+ namespace?: string;
37
+ }
@@ -0,0 +1,56 @@
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 = "85c6e0101e9036689e3419fa8307a5c4";
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 TemplateRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialTemplateRepresentationNormalizedKeyMetadata = 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): TemplateRepresentationNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: TemplateRepresentation): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: TemplateRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
15
+ 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;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: TemplateRepresentationNormalized, incoming: TemplateRepresentationNormalized): 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: TemplateRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ * Representation for a single template.
22
+ *
23
+ * Keys:
24
+ * id (string): id
25
+ */
26
+ export interface TemplateRepresentationNormalized {
27
+ /** Url for configuration information */
28
+ configurationUrl: string;
29
+ /** The description of the application template. */
30
+ description: string | null;
31
+ /** The ID or fully qualified API name of this template. */
32
+ id: string;
33
+ /** The localized name of the application template. */
34
+ label: string;
35
+ /** The local API name of the application template. */
36
+ name: string;
37
+ /** The template type. */
38
+ type: string;
39
+ /** The this url. */
40
+ url: string;
41
+ }
42
+ /**
43
+ * Representation for a single template.
44
+ *
45
+ * Keys:
46
+ * id (string): id
47
+ */
48
+ export interface TemplateRepresentation {
49
+ configurationUrl: string;
50
+ description: string | null;
51
+ id: string;
52
+ label: string;
53
+ name: string;
54
+ type: string;
55
+ url: string;
56
+ }
@@ -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 {};
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@salesforce/lds-adapters-analytics-app-framework",
3
+ "version": "1.303.0",
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 '../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-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": "^1.303.0"
44
+ },
45
+ "devDependencies": {
46
+ "@salesforce/lds-compiler-plugins": "^1.303.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';