@salesforce/lds-adapters-commerce-search 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.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/commerce-search.js +1922 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createSearchBoostBuryRule.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteSearchBoostBuryRule.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/getSearchBoostBuryRule.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getSearchBoostBuryRules.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getSuggestions.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/productSearch.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/adapters/updateSearchBoostBuryRule.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +7 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/deleteCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/deleteCommerceManagementWebstoresSearchIndexesByIndexIdAndWebstoreId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchAttributeSettingsFacetableFieldsByWebstoreId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchAttributeSettingsSearchableFieldsByWebstoreId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchBoostBuryRulesByWebstoreId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchIndexesByIndexIdAndWebstoreId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchIndexesByWebstoreId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchProductSettingsByWebstoreId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceWebstoresSearchSuggestionsByWebstoreId.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/patchCommerceManagementWebstoresSearchAttributeSettingsSearchableFieldsByWebstoreId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/patchCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/patchCommerceManagementWebstoresSearchProductSettingsByWebstoreId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/postCommerceManagementWebstoresSearchBoostBuryRulesByWebstoreId.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/postCommerceWebstoresSearchProductSearchByWebstoreId.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/resources/putCommerceManagementWebstoresSearchAttributeSettingsFacetableFieldsByWebstoreId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryConditionInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryConditionOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryQueryContextConditionInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryQueryContextConditionOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryQueryContextInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryQueryContextOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryTargetExpressionInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryTargetExpressionOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CommerceSearchIndexCollectionOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CommerceSearchIndexOutputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/DistinctFacetValueRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/DistinctValueSearchFacetRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FacetValueRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/FacetableAttributeInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/FacetableAttributeOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/FacetableAttributesCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/FacetableAttributesCollectionOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ProductSearchInputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/ProductSearchResultsRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/ProductSearchSuggestionsResultsRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ProductSummaryCollectionRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ProductSummaryRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/RefinementInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SearchBoostBuryRuleInputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/SearchBoostBuryRuleOutputRepresentation.d.ts +71 -0
- package/dist/es/es2018/types/src/generated/types/SearchBoostBuryRulesCollectionOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SearchCategoryRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SearchFacetRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/SearchProductSettingCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SearchProductSettingCollectionOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SearchProductSettingInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SearchProductSettingOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SearchableAttributeInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SearchableAttributeOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SearchableAttributesCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SearchableAttributesCollectionOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SuggestedCompletionRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/dist/es/es2018/types/src/main.d.ts +6 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/SearchBoostBuryRulesCollectionOutputRepresentation/notifyUpdateAvailableFactory.d.ts +2 -0
- package/dist/es/es2018/types/src/sfdc.d.ts +7 -0
- package/package.json +61 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +2049 -0
- package/src/raml/api.raml +870 -0
- package/src/raml/luvio.raml +122 -0
|
@@ -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 = "6eed72e792a1f0416e48d7341fc54b88";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SearchableAttributeOutputRepresentation, existing: SearchableAttributeOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchableAttributeOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SearchableAttributeOutputRepresentationNormalized, incoming: SearchableAttributeOutputRepresentationNormalized): 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: SearchableAttributeOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Searchable attribute in a webstore
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SearchableAttributeOutputRepresentationNormalized {
|
|
17
|
+
/** Localized label of the attribute */
|
|
18
|
+
label: string;
|
|
19
|
+
/** Name or id of the attribute */
|
|
20
|
+
nameOrId: string;
|
|
21
|
+
/** Type of the attribute */
|
|
22
|
+
type: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Searchable attribute in a webstore
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface SearchableAttributeOutputRepresentation {
|
|
31
|
+
label: string;
|
|
32
|
+
nameOrId: string;
|
|
33
|
+
type: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 = "a2c29d493e676edaa3b0e2ffc884a26a";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SearchableAttributesCollectionInputRepresentation, existing: SearchableAttributesCollectionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchableAttributesCollectionInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SearchableAttributesCollectionInputRepresentationNormalized, incoming: SearchableAttributesCollectionInputRepresentationNormalized): 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: SearchableAttributesCollectionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Representation of searchability settings for search attributes
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SearchableAttributesCollectionInputRepresentationNormalized {
|
|
17
|
+
/** Searchability settings for attributes */
|
|
18
|
+
searchableAttributeSettings: Array<{}>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Representation of searchability settings for search attributes
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SearchableAttributesCollectionInputRepresentation {
|
|
27
|
+
searchableAttributeSettings: Array<{}>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SearchableAttributeOutputRepresentation as SearchableAttributeOutputRepresentation_SearchableAttributeOutputRepresentation } from './SearchableAttributeOutputRepresentation';
|
|
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 = "180d92ea7f5d551142b68ec4e8abbfa8";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SearchableAttributesCollectionOutputRepresentation, existing: SearchableAttributesCollectionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchableAttributesCollectionOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: SearchableAttributesCollectionOutputRepresentationNormalized, incoming: SearchableAttributesCollectionOutputRepresentationNormalized): 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: SearchableAttributesCollectionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Searchable attributes in a webstore
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SearchableAttributesCollectionOutputRepresentationNormalized {
|
|
18
|
+
/** Get list of searchable attributes in a webstore */
|
|
19
|
+
searchableAttributeSettings: Array<SearchableAttributeOutputRepresentation_SearchableAttributeOutputRepresentation>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Searchable attributes in a webstore
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface SearchableAttributesCollectionOutputRepresentation {
|
|
28
|
+
searchableAttributeSettings: Array<SearchableAttributeOutputRepresentation_SearchableAttributeOutputRepresentation>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 = "920dfd3b5f0ada7411ece8d56e597a8d";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SuggestedCompletionRepresentation, existing: SuggestedCompletionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SuggestedCompletionRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SuggestedCompletionRepresentationNormalized, incoming: SuggestedCompletionRepresentationNormalized): 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: SuggestedCompletionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Representation for Product Search suggestions endpoint's Completion Proposals.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SuggestedCompletionRepresentationNormalized {
|
|
17
|
+
/** Term completion proposal. */
|
|
18
|
+
simpleString: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Representation for Product Search suggestions endpoint's Completion Proposals.
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SuggestedCompletionRepresentation {
|
|
27
|
+
simpleString: string;
|
|
28
|
+
}
|
|
@@ -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,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Original file is in 'packages/lds-adapters-commerce-search/src/generated/artifacts/main.ts'
|
|
3
|
+
* Overriding this file to manually inject custom notifyUpdateAvailableFactory implementation.
|
|
4
|
+
*/
|
|
5
|
+
export * from './generated/artifacts/main';
|
|
6
|
+
export { notifyUpdateAvailableFactory as notifySearchBoostBuryRulesCollectionOutputRepresentationUpdateAvailableFactory } from './raml-artifacts/types/SearchBoostBuryRulesCollectionOutputRepresentation/notifyUpdateAvailableFactory';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Original file is in 'packages/lds-adapters-commerce-search/src/generated/artifacts/sfdc.ts'
|
|
3
|
+
* Overriding this file to manually inject custom notifyUpdateAvailableFactory implementation.
|
|
4
|
+
*/
|
|
5
|
+
export * from './generated/artifacts/sfdc';
|
|
6
|
+
declare let notifySearchBoostBuryRulesCollectionOutputRepresentationUpdateAvailable: any;
|
|
7
|
+
export { notifySearchBoostBuryRulesCollectionOutputRepresentationUpdateAvailable };
|
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-commerce-search",
|
|
3
|
+
"version": "0.1.0-dev1",
|
|
4
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
+
"description": "Wire adapters Community Navigation Menu",
|
|
6
|
+
"main": "dist/es/es2018/commerce-search.js",
|
|
7
|
+
"module": "dist/es/es2018/commerce-search.js",
|
|
8
|
+
"types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"sfdc",
|
|
12
|
+
"src/raml/*"
|
|
13
|
+
],
|
|
14
|
+
"sfdc": {
|
|
15
|
+
"path": "forcelds/ldsAdaptersCommerceSearch/",
|
|
16
|
+
"namespace": "lightning",
|
|
17
|
+
"module": "commerceApi"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"clean": "rm -rf dist sfdc src/generated karma/dist",
|
|
21
|
+
"build": "yarn build:services",
|
|
22
|
+
"build:karma": "rollup --bundleConfigAsCjs --config rollup.config.karma.js",
|
|
23
|
+
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
|
|
24
|
+
"build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
|
|
25
|
+
"start": "nx build:karma && karma start",
|
|
26
|
+
"test": "nx build:karma && karma start --single-run",
|
|
27
|
+
"test:unit": "jest",
|
|
28
|
+
"release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-commerce-search",
|
|
29
|
+
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-commerce-search"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@salesforce/lds-bindings": "^0.1.0-dev1"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@salesforce/lds-compiler-plugins": "^0.1.0-dev1",
|
|
36
|
+
"@salesforce/lds-karma": "^0.1.0-dev1"
|
|
37
|
+
},
|
|
38
|
+
"nx": {
|
|
39
|
+
"targets": {
|
|
40
|
+
"build": {
|
|
41
|
+
"outputs": [
|
|
42
|
+
"{projectRoot}/dist",
|
|
43
|
+
"{projectRoot}/sfdc"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"build:raml": {
|
|
47
|
+
"outputs": [
|
|
48
|
+
"{projectRoot}/src/generated"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"build:karma": {
|
|
52
|
+
"outputs": [
|
|
53
|
+
"{projectRoot}/karma/dist"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"volta": {
|
|
59
|
+
"extends": "../../package.json"
|
|
60
|
+
}
|
|
61
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/sfdc';
|