@salesforce/lds-adapters-service-knowledgesummary 1.366.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-knowledgesummary.js +497 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getKnowledgeSummary.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectSelfServiceKnowledgeSummaryByRecordId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/KSGetDataOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/KSGetDataResponseDataOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/KSGetDataResponseErrorOutputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/SSKnowledgeErrorDetailsOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +576 -0
- package/src/raml/api.raml +88 -0
- package/src/raml/luvio.raml +27 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { KSGetDataOutputRepresentation as types_KSGetDataOutputRepresentation_KSGetDataOutputRepresentation } from '../types/KSGetDataOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
recordId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_KSGetDataOutputRepresentation_KSGetDataOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_KSGetDataOutputRepresentation_KSGetDataOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_KSGetDataOutputRepresentation_KSGetDataOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_KSGetDataOutputRepresentation_KSGetDataOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_KSGetDataOutputRepresentation_KSGetDataOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_KSGetDataOutputRepresentation_KSGetDataOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_KSGetDataOutputRepresentation_KSGetDataOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
16
|
+
export declare function createResourceRequestFromRepresentation(representation: types_KSGetDataOutputRepresentation_KSGetDataOutputRepresentation): $64$luvio_engine_ResourceRequest;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { KSGetDataResponseDataOutputRepresentation as KSGetDataResponseDataOutputRepresentation_KSGetDataResponseDataOutputRepresentation } from './KSGetDataResponseDataOutputRepresentation';
|
|
2
|
+
import { KSGetDataResponseErrorOutputRepresentation as KSGetDataResponseErrorOutputRepresentation_KSGetDataResponseErrorOutputRepresentation } from './KSGetDataResponseErrorOutputRepresentation';
|
|
3
|
+
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';
|
|
4
|
+
export declare const TTL = 300;
|
|
5
|
+
export declare const VERSION = "85837dbdb6482172ae8f1424d946d292";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
9
|
+
id: string;
|
|
10
|
+
}
|
|
11
|
+
export type KSGetDataOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export type PartialKSGetDataOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): KSGetDataOutputRepresentationNormalizedKeyMetadata;
|
|
15
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: KSGetDataOutputRepresentation): string;
|
|
16
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: KSGetDataOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
17
|
+
export declare function normalize(input: KSGetDataOutputRepresentation, existing: KSGetDataOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): KSGetDataOutputRepresentationNormalized;
|
|
18
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
19
|
+
export declare function equals(existing: KSGetDataOutputRepresentationNormalized, incoming: KSGetDataOutputRepresentationNormalized): boolean;
|
|
20
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
21
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: KSGetDataOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
22
|
+
/**
|
|
23
|
+
* Knowledge Summary Connect API GET Endpoint Output Representation
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* id (string): data.recordId
|
|
27
|
+
*/
|
|
28
|
+
export interface KSGetDataOutputRepresentationNormalized {
|
|
29
|
+
data: KSGetDataResponseDataOutputRepresentation_KSGetDataResponseDataOutputRepresentation;
|
|
30
|
+
error: KSGetDataResponseErrorOutputRepresentation_KSGetDataResponseErrorOutputRepresentation;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Knowledge Summary Connect API GET Endpoint Output Representation
|
|
34
|
+
*
|
|
35
|
+
* Keys:
|
|
36
|
+
* id (string): data.recordId
|
|
37
|
+
*/
|
|
38
|
+
export interface KSGetDataOutputRepresentation {
|
|
39
|
+
data: KSGetDataResponseDataOutputRepresentation_KSGetDataResponseDataOutputRepresentation;
|
|
40
|
+
error: KSGetDataResponseErrorOutputRepresentation_KSGetDataResponseErrorOutputRepresentation;
|
|
41
|
+
}
|
package/dist/es/es2018/types/src/generated/types/KSGetDataResponseDataOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
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 TTL = 300;
|
|
3
|
+
export declare const VERSION = "1dc3e82fcc3e40bd27e938f77ca5e7c5";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: KSGetDataResponseDataOutputRepresentation, existing: KSGetDataResponseDataOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): KSGetDataResponseDataOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: KSGetDataResponseDataOutputRepresentationNormalized, incoming: KSGetDataResponseDataOutputRepresentationNormalized): 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: KSGetDataResponseDataOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Knowledge Summary Connect API GET Endpoint Data Output Representation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface KSGetDataResponseDataOutputRepresentationNormalized {
|
|
18
|
+
/** Describes whether the summary generated by AI */
|
|
19
|
+
isAiGenSummary: boolean;
|
|
20
|
+
/** Record ID of the object */
|
|
21
|
+
recordId: string;
|
|
22
|
+
/** Summary of the article */
|
|
23
|
+
summary: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Knowledge Summary Connect API GET Endpoint Data Output Representation
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface KSGetDataResponseDataOutputRepresentation {
|
|
32
|
+
isAiGenSummary: boolean;
|
|
33
|
+
recordId: string;
|
|
34
|
+
summary: string;
|
|
35
|
+
}
|
package/dist/es/es2018/types/src/generated/types/KSGetDataResponseErrorOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SSKnowledgeErrorDetailsOutputRepresentation as SSKnowledgeErrorDetailsOutputRepresentation_SSKnowledgeErrorDetailsOutputRepresentation } from './SSKnowledgeErrorDetailsOutputRepresentation';
|
|
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 TTL = 300;
|
|
4
|
+
export declare const VERSION = "d16b4de04de2390988e29e5269b43f9b";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: KSGetDataResponseErrorOutputRepresentation, existing: KSGetDataResponseErrorOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): KSGetDataResponseErrorOutputRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: KSGetDataResponseErrorOutputRepresentationNormalized, incoming: KSGetDataResponseErrorOutputRepresentationNormalized): 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: KSGetDataResponseErrorOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Knowledge Summary Connect API GET Endpoint Error Output Representation
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface KSGetDataResponseErrorOutputRepresentationNormalized {
|
|
19
|
+
/** List containing any error details encountered during the connect request */
|
|
20
|
+
errors: Array<SSKnowledgeErrorDetailsOutputRepresentation_SSKnowledgeErrorDetailsOutputRepresentation>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Knowledge Summary Connect API GET Endpoint Error Output Representation
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface KSGetDataResponseErrorOutputRepresentation {
|
|
29
|
+
errors: Array<SSKnowledgeErrorDetailsOutputRepresentation_SSKnowledgeErrorDetailsOutputRepresentation>;
|
|
30
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SSKnowledgeErrorDetailsOutputRepresentation.d.ts
ADDED
|
@@ -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 TTL = 300;
|
|
3
|
+
export declare const VERSION = "b8f6393045dfea29d40a3bf281367dc1";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SSKnowledgeErrorDetailsOutputRepresentation, existing: SSKnowledgeErrorDetailsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SSKnowledgeErrorDetailsOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: SSKnowledgeErrorDetailsOutputRepresentationNormalized, incoming: SSKnowledgeErrorDetailsOutputRepresentationNormalized): 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: SSKnowledgeErrorDetailsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Error Message Representation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SSKnowledgeErrorDetailsOutputRepresentationNormalized {
|
|
18
|
+
/** Get Error Code */
|
|
19
|
+
code: number;
|
|
20
|
+
/** Get Error Message */
|
|
21
|
+
message: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Error Message Representation
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface SSKnowledgeErrorDetailsOutputRepresentation {
|
|
30
|
+
code: number;
|
|
31
|
+
message: string;
|
|
32
|
+
}
|
|
@@ -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-service-knowledgesummary",
|
|
3
|
+
"version": "1.366.0",
|
|
4
|
+
"description": "Gives summary for an article",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
|
+
"main": "dist/es/es2018/service-knowledgesummary.js",
|
|
7
|
+
"module": "dist/es/es2018/service-knowledgesummary.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-knowledgesummary.js",
|
|
18
|
+
"require": "./dist/es/es2018/service-knowledgesummary.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": "serviceKnowledgesummaryApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"bharika@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-service-knowledgesummary",
|
|
39
|
+
"release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-service-knowledgesummary",
|
|
40
|
+
"test:unit": "jest"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@salesforce/lds-bindings": "^1.366.0"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.366.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
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|