@salesforce/lds-adapters-platform-appexchange 1.312.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.
@@ -0,0 +1,35 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, 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 TTL = 1000;
3
+ export declare const VERSION = "10de01efdeabbe2f2446485b4b1f8103";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: AppExchangeListingLogoRepresentation, existing: AppExchangeListingLogoRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppExchangeListingLogoRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_BaseFragment;
8
+ export declare function equals(existing: AppExchangeListingLogoRepresentationNormalized, incoming: AppExchangeListingLogoRepresentationNormalized): 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: AppExchangeListingLogoRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Represents an AppExchange listing logo
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface AppExchangeListingLogoRepresentationNormalized {
18
+ /** ExternalId of AppExchange listing logo */
19
+ externalId: string;
20
+ /** LogoType of AppExchange listing logo */
21
+ logoType: string;
22
+ /** MediaId of AppExchange listing logo */
23
+ mediaId: string;
24
+ }
25
+ /**
26
+ * Represents an AppExchange listing logo
27
+ *
28
+ * Keys:
29
+ * (none)
30
+ */
31
+ export interface AppExchangeListingLogoRepresentation {
32
+ externalId: string;
33
+ logoType: string;
34
+ mediaId: string;
35
+ }
@@ -0,0 +1,33 @@
1
+ import { AppExchangeSearchListingRepresentation as AppExchangeSearchListingRepresentation_AppExchangeSearchListingRepresentation } from './AppExchangeSearchListingRepresentation';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
+ export declare const TTL = 1000;
4
+ export declare const VERSION = "a8547fef5ab9dc70a1e6077ff392fa82";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: AppExchangeSearchListingCollectionRepresentation, existing: AppExchangeSearchListingCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppExchangeSearchListingCollectionRepresentationNormalized;
8
+ export declare const select: () => $64$luvio_engine_BaseFragment;
9
+ export declare function equals(existing: AppExchangeSearchListingCollectionRepresentationNormalized, incoming: AppExchangeSearchListingCollectionRepresentationNormalized): 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: AppExchangeSearchListingCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * Represents an AppExchange search listing collection
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface AppExchangeSearchListingCollectionRepresentationNormalized {
19
+ /** The list of the AppExchange listings */
20
+ listings: Array<$64$luvio_engine_StoreLink>;
21
+ /** The total count of the AppExchange listings */
22
+ totalCount: number;
23
+ }
24
+ /**
25
+ * Represents an AppExchange search listing collection
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface AppExchangeSearchListingCollectionRepresentation {
31
+ listings: Array<AppExchangeSearchListingRepresentation_AppExchangeSearchListingRepresentation>;
32
+ totalCount: number;
33
+ }
@@ -0,0 +1,69 @@
1
+ import { AppExchangeListingLogoRepresentation as AppExchangeListingLogoRepresentation_AppExchangeListingLogoRepresentation } from './AppExchangeListingLogoRepresentation';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
+ export declare const TTL = 1000;
4
+ export declare const VERSION = "7133c3e7a399963886a047b04c70372a";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: AppExchangeSearchListingRepresentation, existing: AppExchangeSearchListingRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppExchangeSearchListingRepresentationNormalized;
8
+ export declare const select: () => $64$luvio_engine_BaseFragment;
9
+ export declare function equals(existing: AppExchangeSearchListingRepresentationNormalized, incoming: AppExchangeSearchListingRepresentationNormalized): 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: AppExchangeSearchListingRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * Represents an AppExchange search listing
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface AppExchangeSearchListingRepresentationNormalized {
19
+ /** Average Rating of AppExchange listing */
20
+ averageRating: number;
21
+ /** Collection Name of AppExchange listing */
22
+ collectionName: string;
23
+ /** Description of AppExchange listing */
24
+ description: string;
25
+ /** Document Position of AppExchange listing */
26
+ documentPosition: number;
27
+ /** Document title of AppExchange listing */
28
+ documentTitle: string;
29
+ /** Listing Categories of AppExchange listing */
30
+ listingCategories: Array<string>;
31
+ /** Logos of AppExchange listing */
32
+ logos: Array<$64$luvio_engine_StoreLink>;
33
+ /** OneAppExchange Framework Id - primary identifier of AppExchange Listing */
34
+ oafId: string;
35
+ /** Pricing of AppExchange listing */
36
+ pricing: string;
37
+ /** Publisher of AppExchange listing */
38
+ publisher: string;
39
+ /** Reviews Amount of AppExchange listing */
40
+ reviewsAmount: number;
41
+ /** Source Name of AppExchange listing */
42
+ sourceName: string;
43
+ /** Title of AppExchange listing */
44
+ title: string;
45
+ /** Type of AppExchange listing */
46
+ type: string;
47
+ }
48
+ /**
49
+ * Represents an AppExchange search listing
50
+ *
51
+ * Keys:
52
+ * (none)
53
+ */
54
+ export interface AppExchangeSearchListingRepresentation {
55
+ averageRating: number;
56
+ collectionName: string;
57
+ description: string;
58
+ documentPosition: number;
59
+ documentTitle: string;
60
+ listingCategories: Array<string>;
61
+ logos: Array<AppExchangeListingLogoRepresentation_AppExchangeListingLogoRepresentation>;
62
+ oafId: string;
63
+ pricing: string;
64
+ publisher: string;
65
+ reviewsAmount: number;
66
+ sourceName: string;
67
+ title: string;
68
+ type: string;
69
+ }
@@ -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,72 @@
1
+ {
2
+ "name": "@salesforce/lds-adapters-platform-appexchange",
3
+ "version": "1.312.0",
4
+ "description": "This API Family is owned by AppExchange Everywhere team, aimed at integrating AppExchange with Core.",
5
+ "license": "SEE LICENSE IN LICENSE.txt",
6
+ "main": "dist/es/es2018/platform-appexchange.js",
7
+ "module": "dist/es/es2018/platform-appexchange.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/platform-appexchange.js",
18
+ "require": "./dist/es/es2018/platform-appexchange.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": "platformAppexchangeApi"
29
+ },
30
+ "contributors": [
31
+ "aparna.singh@salesforce.com",
32
+ "anuraj.rajendran@salesforce.com",
33
+ "cweikel@salesforce.com",
34
+ "mpuppala@salesforce.com",
35
+ "nkumars@salesforce.com",
36
+ "arpan.bag@salesforce.com",
37
+ "helasappa@salesforce.com"
38
+ ],
39
+ "scripts": {
40
+ "build": "yarn build:services",
41
+ "build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
42
+ "build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
43
+ "clean": "rm -rf dist sfdc src/generated",
44
+ "release:core": "../../scripts/release/core.js --adapter=lds-adapters-platform-appexchange",
45
+ "release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-platform-appexchange",
46
+ "test:unit": "jest"
47
+ },
48
+ "dependencies": {
49
+ "@salesforce/lds-bindings": "^1.312.0"
50
+ },
51
+ "devDependencies": {
52
+ "@salesforce/lds-compiler-plugins": "^1.312.0"
53
+ },
54
+ "nx": {
55
+ "targets": {
56
+ "build": {
57
+ "outputs": [
58
+ "{projectRoot}/dist",
59
+ "{projectRoot}/sfdc"
60
+ ]
61
+ },
62
+ "build:raml": {
63
+ "outputs": [
64
+ "{projectRoot}/src/generated"
65
+ ]
66
+ }
67
+ }
68
+ },
69
+ "volta": {
70
+ "extends": "../../package.json"
71
+ }
72
+ }
@@ -0,0 +1 @@
1
+ export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';