@salesforce/lds-adapters-industries-stagemanagement 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/industries-stagemanagement.js +446 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getStageDetails.d.ts +27 -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 +3 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectStageManagementKanbanViewByRecordId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/types/FulfillmentStepInfo.d.ts +57 -0
- package/dist/es/es2018/types/src/generated/types/StageMgmtKanbanVisualization.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/StageTransitionEntryInfo.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/StageValueInfo.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +63 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +481 -0
- package/src/raml/api.raml +127 -0
- package/src/raml/luvio.raml +17 -0
|
@@ -0,0 +1,57 @@
|
|
|
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 = "2a618263c516c5022e6b405fe0b463d8";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: FulfillmentStepInfo, existing: FulfillmentStepInfoNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FulfillmentStepInfoNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: FulfillmentStepInfoNormalized, incoming: FulfillmentStepInfoNormalized): 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: FulfillmentStepInfo, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Output representation of Fulfillment Step Info Object
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface FulfillmentStepInfoNormalized {
|
|
17
|
+
/** Details of actions being performed for a fulfillment step based on step type. */
|
|
18
|
+
actions: {
|
|
19
|
+
[key: string]: unknown;
|
|
20
|
+
};
|
|
21
|
+
/** Details of any other field that may be present for step. */
|
|
22
|
+
details: {
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
};
|
|
25
|
+
/** Display number for ordering fulfillment steps. */
|
|
26
|
+
displayNumber: number;
|
|
27
|
+
/** Id of fulfillment step. */
|
|
28
|
+
id: string;
|
|
29
|
+
/** Name of fulfillment step. */
|
|
30
|
+
name: string;
|
|
31
|
+
/** Status of current fulfillment step. */
|
|
32
|
+
status: string;
|
|
33
|
+
/** Reason for current status of current fulfillment step. */
|
|
34
|
+
statusReason: string;
|
|
35
|
+
/** Step type of current fulfillment step. */
|
|
36
|
+
stepType: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Output representation of Fulfillment Step Info Object
|
|
40
|
+
*
|
|
41
|
+
* Keys:
|
|
42
|
+
* (none)
|
|
43
|
+
*/
|
|
44
|
+
export interface FulfillmentStepInfo {
|
|
45
|
+
actions: {
|
|
46
|
+
[key: string]: unknown;
|
|
47
|
+
};
|
|
48
|
+
details: {
|
|
49
|
+
[key: string]: unknown;
|
|
50
|
+
};
|
|
51
|
+
displayNumber: number;
|
|
52
|
+
id: string;
|
|
53
|
+
name: string;
|
|
54
|
+
status: string;
|
|
55
|
+
statusReason: string;
|
|
56
|
+
stepType: string;
|
|
57
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { StageValueInfo as StageValueInfo_StageValueInfo } from './StageValueInfo';
|
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 10000;
|
|
4
|
+
export declare const VERSION = "80703a0eccf6c5549ed2d91cd6b613c4";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: StageMgmtKanbanVisualization, existing: StageMgmtKanbanVisualizationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): StageMgmtKanbanVisualizationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
9
|
+
export declare function equals(existing: StageMgmtKanbanVisualizationNormalized, incoming: StageMgmtKanbanVisualizationNormalized): 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: StageMgmtKanbanVisualization, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Output representation of Stage Management Kanban View
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface StageMgmtKanbanVisualizationNormalized {
|
|
19
|
+
/** List of information about stage value. */
|
|
20
|
+
stages: Array<StageValueInfo_StageValueInfo>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Output representation of Stage Management Kanban View
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface StageMgmtKanbanVisualization {
|
|
29
|
+
stages: Array<StageValueInfo_StageValueInfo>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { FulfillmentStepInfo as FulfillmentStepInfo_FulfillmentStepInfo } from './FulfillmentStepInfo';
|
|
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 = "0a7b488e112697daaa32f612eb3430ca";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: StageTransitionEntryInfo, existing: StageTransitionEntryInfoNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): StageTransitionEntryInfoNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: StageTransitionEntryInfoNormalized, incoming: StageTransitionEntryInfoNormalized): 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: StageTransitionEntryInfo, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Output representation of Stage Transition Entry
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface StageTransitionEntryInfoNormalized {
|
|
18
|
+
/** Created Date for this transition entry. */
|
|
19
|
+
createdDate: string;
|
|
20
|
+
/** List of fulfillment steps associated with this stage transition. */
|
|
21
|
+
fulfillmentSteps: Array<FulfillmentStepInfo_FulfillmentStepInfo>;
|
|
22
|
+
/** Name of the stage transition. */
|
|
23
|
+
name: string;
|
|
24
|
+
/** Target stage for this transition. */
|
|
25
|
+
toStage: string;
|
|
26
|
+
/** Id of the stage transition. */
|
|
27
|
+
transitionId: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Output representation of Stage Transition Entry
|
|
31
|
+
*
|
|
32
|
+
* Keys:
|
|
33
|
+
* (none)
|
|
34
|
+
*/
|
|
35
|
+
export interface StageTransitionEntryInfo {
|
|
36
|
+
createdDate: string;
|
|
37
|
+
fulfillmentSteps: Array<FulfillmentStepInfo_FulfillmentStepInfo>;
|
|
38
|
+
name: string;
|
|
39
|
+
toStage: string;
|
|
40
|
+
transitionId: string;
|
|
41
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { FulfillmentStepInfo as FulfillmentStepInfo_FulfillmentStepInfo } from './FulfillmentStepInfo';
|
|
2
|
+
import { StageTransitionEntryInfo as StageTransitionEntryInfo_StageTransitionEntryInfo } from './StageTransitionEntryInfo';
|
|
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 = "cfd3d6c76fc0469a731a0008a461d74d";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: StageValueInfo, existing: StageValueInfoNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): StageValueInfoNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: StageValueInfoNormalized, incoming: StageValueInfoNormalized): 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: StageValueInfo, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Output representation of Stage Value Info Object
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface StageValueInfoNormalized {
|
|
19
|
+
/** List of information about fulfillment steps. */
|
|
20
|
+
fulfillmentSteps: Array<FulfillmentStepInfo_FulfillmentStepInfo>;
|
|
21
|
+
/** Is Current State. */
|
|
22
|
+
isActive: boolean;
|
|
23
|
+
/** Name of stage. */
|
|
24
|
+
stageName: string;
|
|
25
|
+
/** List of stage transitions associated with this stage. */
|
|
26
|
+
stageTransitions: Array<StageTransitionEntryInfo_StageTransitionEntryInfo>;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Output representation of Stage Value Info Object
|
|
30
|
+
*
|
|
31
|
+
* Keys:
|
|
32
|
+
* (none)
|
|
33
|
+
*/
|
|
34
|
+
export interface StageValueInfo {
|
|
35
|
+
fulfillmentSteps: Array<FulfillmentStepInfo_FulfillmentStepInfo>;
|
|
36
|
+
isActive: boolean;
|
|
37
|
+
stageName: string;
|
|
38
|
+
stageTransitions: Array<StageTransitionEntryInfo_StageTransitionEntryInfo>;
|
|
39
|
+
}
|
|
@@ -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,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-industries-stagemanagement",
|
|
3
|
+
"version": "0.1.0-dev1",
|
|
4
|
+
"description": "Get Kanban View for Stage Management",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
|
+
"main": "dist/es/es2018/industries-stagemanagement.js",
|
|
7
|
+
"module": "dist/es/es2018/industries-stagemanagement.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/industries-stagemanagement.js",
|
|
18
|
+
"require": "./dist/es/es2018/industries-stagemanagement.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": "industriesStagemanagementApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"gkandpal@salesforce.com"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "yarn build:raml && 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-industries-stagemanagement",
|
|
39
|
+
"release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-industries-stagemanagement",
|
|
40
|
+
"test:unit": "jest"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@salesforce/lds-bindings": "^0.1.0-dev1"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^0.1.0-dev1",
|
|
47
|
+
"@salesforce/lds-karma": "^0.1.0-dev1"
|
|
48
|
+
},
|
|
49
|
+
"nx": {
|
|
50
|
+
"targets": {
|
|
51
|
+
"build": {
|
|
52
|
+
"outputs": [
|
|
53
|
+
"packages/lds-adapters-industries-stagemanagement/dist",
|
|
54
|
+
"packages/lds-adapters-industries-stagemanagement/sfdc",
|
|
55
|
+
"packages/lds-adapters-industries-stagemanagement/src/generated"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"volta": {
|
|
61
|
+
"extends": "../../package.json"
|
|
62
|
+
}
|
|
63
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|