@salesforce/lds-adapters-service-network-data-category 1.224.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.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/service-network-data-category.js +1474 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getArticlesForCategory.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/adapters/getNetworkDataCategories.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getServiceCatalogItems.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/adapters/getServiceCatalogItemsForCommunity.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/adapters/updateNetworkDataCategories.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +11 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectCommunitiesDataCategoryNetworkDataCategoryByCommunityId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectCommunitiesNetworkDataCategoryCatalogItemByNetworkDataCategoryIdAndCommunityId.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectCommunitiesNetworkDataCategoryKnowledgeArticleByNetworkDataCategoryIdAndCommunityId.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectNetworkDataCategoryCatalogItemByNetworkDataCategoryId.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/resources/putConnectCommunitiesDataCategoryNetworkDataCategoryByCommunityId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/DataCategoryGroupCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataCategoryGroupCollectionInputWrapperRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/EmptyRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/LightningKnowledgeArticleVersionCollectionRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/LightningKnowledgeArticleVersionRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/NetworkDataCategoryGroupRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/NetworkDataCategoryRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/NetworkDataCategoryTreeRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ServiceCatalogItemCollectionRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ServiceCatalogItemRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/updateNetworkDataCategories/buildNetworkSnapshot.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/resources/putConnectCommunitiesDataCategoryNetworkDataCategoryByCommunityId/ingestSuccess.d.ts +4 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/EmptyRepresentation/select.d.ts +2 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/EmptyRepresentation/validate.d.ts +1 -0
- package/package.json +68 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +1576 -0
- package/src/raml/api.raml +272 -0
- package/src/raml/luvio.raml +45 -0
|
@@ -0,0 +1,43 @@
|
|
|
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 = "521a1b755b3490ccc211d6fa08f467db";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: NetworkDataCategoryRepresentation, existing: NetworkDataCategoryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NetworkDataCategoryRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: NetworkDataCategoryRepresentationNormalized, incoming: NetworkDataCategoryRepresentationNormalized): 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: NetworkDataCategoryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Describes a network data category
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface NetworkDataCategoryRepresentationNormalized {
|
|
17
|
+
/** Network Data Category Name */
|
|
18
|
+
categoryName: string;
|
|
19
|
+
/** Children of Network Data Category */
|
|
20
|
+
childCategories: Array<unknown>;
|
|
21
|
+
/** Network Data Category Description */
|
|
22
|
+
description: string;
|
|
23
|
+
/** Network Data Category id */
|
|
24
|
+
id: string;
|
|
25
|
+
/** Image Url of Network Data Category */
|
|
26
|
+
imageUrl: string;
|
|
27
|
+
/** Network Data Category Label */
|
|
28
|
+
label: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Describes a network data category
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* (none)
|
|
35
|
+
*/
|
|
36
|
+
export interface NetworkDataCategoryRepresentation {
|
|
37
|
+
categoryName: string;
|
|
38
|
+
childCategories: Array<unknown>;
|
|
39
|
+
description: string;
|
|
40
|
+
id: string;
|
|
41
|
+
imageUrl: string;
|
|
42
|
+
label: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { NetworkDataCategoryGroupRepresentation as NetworkDataCategoryGroupRepresentation_NetworkDataCategoryGroupRepresentation } from './NetworkDataCategoryGroupRepresentation';
|
|
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "a2fdf8c376e7e94e893748e2f40b2aac";
|
|
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
|
+
communityId: string;
|
|
8
|
+
}
|
|
9
|
+
export type NetworkDataCategoryTreeRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialNetworkDataCategoryTreeRepresentationNormalizedKeyMetadata = 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): NetworkDataCategoryTreeRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: NetworkDataCategoryTreeRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: NetworkDataCategoryTreeRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: NetworkDataCategoryTreeRepresentation, existing: NetworkDataCategoryTreeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NetworkDataCategoryTreeRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: NetworkDataCategoryTreeRepresentationNormalized, incoming: NetworkDataCategoryTreeRepresentationNormalized): 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: NetworkDataCategoryTreeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* Represents a network data category tree
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* communityId (string): communityId
|
|
25
|
+
*/
|
|
26
|
+
export interface NetworkDataCategoryTreeRepresentationNormalized {
|
|
27
|
+
communityId: string;
|
|
28
|
+
/** List of category groups */
|
|
29
|
+
dataCategoryGroups: Array<NetworkDataCategoryGroupRepresentation_NetworkDataCategoryGroupRepresentation>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Represents a network data category tree
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* communityId (string): communityId
|
|
36
|
+
*/
|
|
37
|
+
export interface NetworkDataCategoryTreeRepresentation {
|
|
38
|
+
communityId: string;
|
|
39
|
+
dataCategoryGroups: Array<NetworkDataCategoryGroupRepresentation_NetworkDataCategoryGroupRepresentation>;
|
|
40
|
+
}
|
|
41
|
+
export declare const notifyUpdateAvailableFactory: (luvio: $64$luvio_engine_Luvio) => (configs: Partial<KeyParams>[]) => Promise<void>;
|
package/dist/es/es2018/types/src/generated/types/ServiceCatalogItemCollectionRepresentation.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ServiceCatalogItemRepresentation as ServiceCatalogItemRepresentation_ServiceCatalogItemRepresentation } from './ServiceCatalogItemRepresentation';
|
|
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 = "b91519c31db3334a2902f3847c66f5df";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ServiceCatalogItemCollectionRepresentation, existing: ServiceCatalogItemCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServiceCatalogItemCollectionRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ServiceCatalogItemCollectionRepresentationNormalized, incoming: ServiceCatalogItemCollectionRepresentationNormalized): 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: ServiceCatalogItemCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Represents a list of ServiceCatalogItemRepresentations
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ServiceCatalogItemCollectionRepresentationNormalized {
|
|
18
|
+
/** A collection of service catalog items. */
|
|
19
|
+
items: Array<ServiceCatalogItemRepresentation_ServiceCatalogItemRepresentation>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Represents a list of ServiceCatalogItemRepresentations
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface ServiceCatalogItemCollectionRepresentation {
|
|
28
|
+
items: Array<ServiceCatalogItemRepresentation_ServiceCatalogItemRepresentation>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 = "b291e2065704f3a4b4af70eb48fc8131";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ServiceCatalogItemRepresentation, existing: ServiceCatalogItemRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServiceCatalogItemRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ServiceCatalogItemRepresentationNormalized, incoming: ServiceCatalogItemRepresentationNormalized): 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: ServiceCatalogItemRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Describes a service catalog item
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ServiceCatalogItemRepresentationNormalized {
|
|
17
|
+
/** Short Description of Service Catalog Item */
|
|
18
|
+
description: string;
|
|
19
|
+
/** Dev name of Service Catalog Item */
|
|
20
|
+
developerName: string;
|
|
21
|
+
/** Service Catalog Item Id */
|
|
22
|
+
id: string;
|
|
23
|
+
/** Image url of Service Catalog Item */
|
|
24
|
+
imageUrl: string;
|
|
25
|
+
/** Label of Service Catalog Item */
|
|
26
|
+
label: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Describes a service catalog item
|
|
30
|
+
*
|
|
31
|
+
* Keys:
|
|
32
|
+
* (none)
|
|
33
|
+
*/
|
|
34
|
+
export interface ServiceCatalogItemRepresentation {
|
|
35
|
+
description: string;
|
|
36
|
+
developerName: string;
|
|
37
|
+
id: string;
|
|
38
|
+
imageUrl: string;
|
|
39
|
+
label: string;
|
|
40
|
+
}
|
|
@@ -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,3 @@
|
|
|
1
|
+
import type { Luvio } from '@luvio/engine';
|
|
2
|
+
import type { UpdateNetworkDataCategoriesConfig } from '../../../generated/adapters/updateNetworkDataCategories';
|
|
3
|
+
export declare function buildNetworkSnapshot(luvio: Luvio, config: UpdateNetworkDataCategoriesConfig): Promise<import("@luvio/engine").FulfilledSnapshot<import("../../../generated/types/EmptyRepresentation").EmptyRepresentation, {}> | import("@luvio/engine").StaleSnapshot<import("../../../generated/types/EmptyRepresentation").EmptyRepresentation, {}> | import("@luvio/engine").PendingSnapshot<import("../../../generated/types/EmptyRepresentation").EmptyRepresentation, any>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Luvio, FetchResponse, FulfilledSnapshot, StaleSnapshot, PendingSnapshot } from '@luvio/engine';
|
|
2
|
+
import type { ResourceRequestConfig } from '../../../generated/resources/putConnectCommunitiesDataCategoryNetworkDataCategoryByCommunityId';
|
|
3
|
+
import type { EmptyRepresentation } from '../../../generated/types/EmptyRepresentation';
|
|
4
|
+
export declare function ingestSuccess(luvio: Luvio, resourceParams: ResourceRequestConfig, _response: FetchResponse<EmptyRepresentation>): FulfilledSnapshot<EmptyRepresentation, {}> | StaleSnapshot<EmptyRepresentation, {}> | PendingSnapshot<EmptyRepresentation, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
package/package.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-service-network-data-category",
|
|
3
|
+
"version": "1.224.0",
|
|
4
|
+
"description": "Family that contains APIs pertaining to the NetworkDataCategory object",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
|
+
"main": "dist/es/es2018/service-network-data-category.js",
|
|
7
|
+
"module": "dist/es/es2018/service-network-data-category.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/service-network-data-category.js",
|
|
18
|
+
"require": "./dist/es/es2018/service-network-data-category.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": "serviceNetworkDataCategoryApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"self-service-soup@salesforce.com"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "yarn build:raml && yarn build:services && yarn build:karma",
|
|
35
|
+
"build:karma": "rollup --config rollup.config.karma.js",
|
|
36
|
+
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p './scripts/lds-service-network-data-category-plugin.js'",
|
|
37
|
+
"build:services": "rollup --config rollup.config.js",
|
|
38
|
+
"clean": "rm -rf dist sfdc src/generated karma/dist",
|
|
39
|
+
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-service-network-data-category",
|
|
40
|
+
"release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-service-network-data-category",
|
|
41
|
+
"start": "karma start",
|
|
42
|
+
"test": "karma start --single-run",
|
|
43
|
+
"test:compat": "karma start --single-run --compat",
|
|
44
|
+
"test:unit": "jest"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@salesforce/lds-bindings": "*"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "*",
|
|
51
|
+
"@salesforce/lds-karma": "*"
|
|
52
|
+
},
|
|
53
|
+
"nx": {
|
|
54
|
+
"targets": {
|
|
55
|
+
"build": {
|
|
56
|
+
"outputs": [
|
|
57
|
+
"packages/lds-adapters-service-network-data-category/dist",
|
|
58
|
+
"packages/lds-adapters-service-network-data-category/karma/dist",
|
|
59
|
+
"packages/lds-adapters-service-network-data-category/sfdc",
|
|
60
|
+
"packages/lds-adapters-service-network-data-category/src/generated"
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"volta": {
|
|
66
|
+
"extends": "../../package.json"
|
|
67
|
+
}
|
|
68
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|