@or-sdk/idw 1.4.0-beta.1592.0 → 1.4.0-beta.1594.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/dist/cjs/types/flow.js +3 -0
- package/dist/cjs/types/flow.js.map +1 -0
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/esm/types/flow.js +2 -0
- package/dist/esm/types/flow.js.map +1 -0
- package/dist/esm/types/index.js +1 -0
- package/dist/esm/types/index.js.map +1 -1
- package/dist/types/types/common.d.ts +1 -1
- package/dist/types/types/common.d.ts.map +1 -1
- package/dist/types/types/flow.d.ts +17 -0
- package/dist/types/types/flow.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/skill.d.ts +5 -0
- package/dist/types/types/skill.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/types/common.ts +1 -1
- package/src/types/flow.ts +17 -0
- package/src/types/index.ts +1 -0
- package/src/types/skill.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow.js","sourceRoot":"","sources":["../../../src/types/flow.ts"],"names":[],"mappings":""}
|
package/dist/cjs/types/index.js
CHANGED
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./skill"), exports);
|
|
18
18
|
__exportStar(require("./config"), exports);
|
|
19
19
|
__exportStar(require("./common"), exports);
|
|
20
|
+
__exportStar(require("./flow"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,2CAAyB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,2CAAyB;AACzB,yCAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow.js","sourceRoot":"","sources":["../../../src/types/flow.ts"],"names":[],"mappings":""}
|
package/dist/esm/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
|
|
@@ -6,7 +6,7 @@ export interface TotalStepsCounter {
|
|
|
6
6
|
totalSteps: number;
|
|
7
7
|
}
|
|
8
8
|
export type EntityWithStatistic<T extends object> = {
|
|
9
|
-
[key in keyof T]: T[key]
|
|
9
|
+
[key in keyof T]: T[key];
|
|
10
10
|
} & ActiveFlowTotalCounter & TotalStepsCounter;
|
|
11
11
|
export interface SimpleNode {
|
|
12
12
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/types/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,MAAM,WAAW,sBAAsB;IACrC,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,MAAM,IAC9C;KAAG,GAAG,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/types/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,MAAM,WAAW,sBAAsB;IACrC,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,MAAM,IAC9C;KAAG,GAAG,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC;CAAE,GAC1B,sBAAsB,GACtB,iBAAiB,CAAC;AAEtB,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,oBAAY,MAAM;IAChB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAGD,oBAAY,YAAY;IACtB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,SAAS,cAAc;CACxB;AAED,MAAM,WAAW,OAAO,CAAC,CAAC;IACxB,KAAK,QAAQ,EAAE,SAAS,GAAG,CAAC,CAAC;CAC9B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface Flow {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: number;
|
|
4
|
+
createdBy: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
groupId: string;
|
|
7
|
+
isActive: boolean;
|
|
8
|
+
name: string;
|
|
9
|
+
updatedAt: number;
|
|
10
|
+
updatedBy: string;
|
|
11
|
+
activatedAt?: number;
|
|
12
|
+
steps: number;
|
|
13
|
+
}
|
|
14
|
+
export interface FlowWithRelationshipStatus extends Flow {
|
|
15
|
+
isRelationshipActive: boolean;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=flow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow.d.ts","sourceRoot":"","sources":["../../../src/types/flow.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,0BAA2B,SAAQ,IAAI;IACtD,oBAAoB,EAAE,OAAO,CAAC;CAC/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EntityWithStatistic, SimpleNode } from './common';
|
|
2
|
+
import { FlowWithRelationshipStatus } from './flow';
|
|
2
3
|
export type ListSkills = EntityWithStatistic<{
|
|
3
4
|
skills: {
|
|
4
5
|
stepCount: number;
|
|
@@ -8,4 +9,8 @@ export type ListSkills = EntityWithStatistic<{
|
|
|
8
9
|
export type SkillCreate = Pick<SimpleNode, 'id' | 'name'>;
|
|
9
10
|
export type SkillUpdate = Partial<SkillCreate>;
|
|
10
11
|
export type Skill = Omit<SimpleNode, 'description' | 'icon'>;
|
|
12
|
+
export type SkillWithFlow = {
|
|
13
|
+
skill: Skill;
|
|
14
|
+
flows: FlowWithRelationshipStatus[];
|
|
15
|
+
};
|
|
11
16
|
//# sourceMappingURL=skill.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.d.ts","sourceRoot":"","sources":["../../../src/types/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"skill.d.ts","sourceRoot":"","sources":["../../../src/types/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,QAAQ,CAAC;AAEpD,MAAM,MAAM,UAAU,GAAG,mBAAmB,CAAC;IAAC,MAAM,EAAE;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,KAAK,CAAC;KAAC,EAAE,CAAC;CAAC,CAAC,CAAC;AAC9F,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,GAAG,MAAM,CAAC,CAAC;AAC1D,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;AAC/C,MAAM,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,EAAE,aAAa,GAAG,MAAM,CAAC,CAAC;AAC7D,MAAM,MAAM,aAAa,GAAG;IAAC,KAAK,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,0BAA0B,EAAE,CAAC;CAAC,CAAC"}
|
package/package.json
CHANGED
package/src/types/common.ts
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface Flow {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: number;
|
|
4
|
+
createdBy: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
groupId: string;
|
|
7
|
+
isActive: boolean;
|
|
8
|
+
name: string;
|
|
9
|
+
updatedAt: number;
|
|
10
|
+
updatedBy: string;
|
|
11
|
+
activatedAt?: number;
|
|
12
|
+
steps: number;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface FlowWithRelationshipStatus extends Flow {
|
|
16
|
+
isRelationshipActive: boolean;
|
|
17
|
+
}
|
package/src/types/index.ts
CHANGED
package/src/types/skill.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EntityWithStatistic, SimpleNode } from './common';
|
|
2
|
+
import { FlowWithRelationshipStatus } from './flow';
|
|
2
3
|
|
|
3
4
|
export type ListSkills = EntityWithStatistic<{skills: {stepCount: number; skill: Skill;}[];}>;
|
|
4
5
|
export type SkillCreate = Pick<SimpleNode, 'id' | 'name'>;
|
|
5
6
|
export type SkillUpdate = Partial<SkillCreate>;
|
|
6
7
|
export type Skill = Omit<SimpleNode, 'description' | 'icon'>;
|
|
8
|
+
export type SkillWithFlow = {skill: Skill; flows: FlowWithRelationshipStatus[];};
|