@or-sdk/idw 4.2.0-beta.1784.0 → 4.2.0-beta.1791.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.1.2](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/idw@4.1.1...@or-sdk/idw@4.1.2) (2023-09-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **idw:** made flow description an optional input parameter ([52ce2e5](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/52ce2e51d297146af7cee69d4637bc31f300bff7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [4.1.1](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/idw@4.1.0...@or-sdk/idw@4.1.1) (2023-08-31)
|
|
7
16
|
|
|
8
17
|
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
import { Channel, Memory, Skill } from '.';
|
|
1
2
|
import { EntityWithStatistic, SimpleNode } from './common';
|
|
2
3
|
import { Flow } from './flow';
|
|
4
|
+
export type DomainData = {
|
|
5
|
+
domain: Domain;
|
|
6
|
+
channels: Channel[];
|
|
7
|
+
skills: Skill[];
|
|
8
|
+
memories: Memory[];
|
|
9
|
+
flows: Flow[];
|
|
10
|
+
stepCount: number;
|
|
11
|
+
};
|
|
3
12
|
export type ListDomains = EntityWithStatistic<{
|
|
4
|
-
domains:
|
|
5
|
-
stepCount: number;
|
|
6
|
-
})[];
|
|
13
|
+
domains: DomainData[];
|
|
7
14
|
}>;
|
|
8
15
|
export type DomainCreateData = Pick<SimpleNode, 'id' | 'name'>;
|
|
9
16
|
export type DomainUpdateData = Partial<DomainCreateData>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain.d.ts","sourceRoot":"","sources":["../../../src/types/domain.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"domain.d.ts","sourceRoot":"","sources":["../../../src/types/domain.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AACF,MAAM,MAAM,WAAW,GAAG,mBAAmB,CAAC;IAAE,OAAO,EAAE,UAAU,EAAE,CAAC;CAAC,CAAC,CAAC;AACzE,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,GAAG,MAAM,CAAC,CAAC;AAC/D,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AACzD,MAAM,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,EAAE,aAAa,GAAG,aAAa,GAAG,MAAM,CAAC,CAAC;AAC9E,MAAM,MAAM,eAAe,GAAG;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,IAAI,EAAE,CAAC;CAAC,CAAC;AAC/D,MAAM,MAAM,kBAAkB,CAAC,MAAM,IAAI;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;CAAE,CAAC;AAC9E,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAAI;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,CAAC,EAAE,CAAC;CAAE,CAAC;AAC5E,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,CAAC,EAAE,CAAC;CAAE,CAAC"}
|
|
@@ -15,8 +15,9 @@ export interface Flow {
|
|
|
15
15
|
export interface FlowWithRelationshipStatus extends Flow {
|
|
16
16
|
isRelationshipActive: boolean;
|
|
17
17
|
}
|
|
18
|
-
export type FlowUpsertData = ReturnType<typeof flowUpsertDataDto> & {
|
|
18
|
+
export type FlowUpsertData = Omit<ReturnType<typeof flowUpsertDataDto>, 'description'> & {
|
|
19
19
|
id: string;
|
|
20
|
+
description?: string;
|
|
20
21
|
};
|
|
21
22
|
export type FlowActivateData = ReturnType<typeof flowActivateDataDto>;
|
|
22
23
|
//# sourceMappingURL=flow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow.d.ts","sourceRoot":"","sources":["../../../src/types/flow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAEhE,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;AAED,MAAM,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"flow.d.ts","sourceRoot":"","sources":["../../../src/types/flow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAEhE,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;AAED,MAAM,MAAM,cAAc,GACxB,IAAI,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,EAAE,aAAa,CAAC,GAAG;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAAC,CAAC;AAClG,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
package/package.json
CHANGED
package/src/types/domain.ts
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
|
+
import { Channel, Memory, Skill } from '.';
|
|
1
2
|
import { EntityWithStatistic, SimpleNode } from './common';
|
|
2
3
|
import { Flow } from './flow';
|
|
3
4
|
|
|
4
|
-
export type
|
|
5
|
+
export type DomainData = {
|
|
6
|
+
domain: Domain;
|
|
7
|
+
channels: Channel[];
|
|
8
|
+
skills: Skill[];
|
|
9
|
+
memories: Memory[];
|
|
10
|
+
flows: Flow[];
|
|
11
|
+
stepCount: number;
|
|
12
|
+
};
|
|
13
|
+
export type ListDomains = EntityWithStatistic<{ domains: DomainData[];}>;
|
|
5
14
|
export type DomainCreateData = Pick<SimpleNode, 'id' | 'name'>;
|
|
6
15
|
export type DomainUpdateData = Partial<DomainCreateData>;
|
|
7
16
|
export type Domain = Omit<SimpleNode, 'description' | '__createdAt' | 'icon'>;
|
|
8
17
|
export type DomainWithFlows = {domain: Domain; flows: Flow[];};
|
|
9
18
|
export type DomainWithEntities<Entity> = {domain: Domain; entities: Entity; };
|
|
10
19
|
export type DomainAndDetachedObjects<T> = { domain: Domain; objects: T[]; };
|
|
11
|
-
|
|
12
|
-
export type DomainWithObjects<T> = {
|
|
13
|
-
domain: Domain;
|
|
14
|
-
objects: T[];
|
|
15
|
-
};
|
|
20
|
+
export type DomainWithObjects<T> = { domain: Domain; objects: T[]; };
|
package/src/types/flow.ts
CHANGED
|
@@ -18,5 +18,6 @@ export interface FlowWithRelationshipStatus extends Flow {
|
|
|
18
18
|
isRelationshipActive: boolean;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
export type FlowUpsertData =
|
|
21
|
+
export type FlowUpsertData =
|
|
22
|
+
Omit<ReturnType<typeof flowUpsertDataDto>, 'description'> & {id: string; description?: string;};
|
|
22
23
|
export type FlowActivateData = ReturnType<typeof flowActivateDataDto>;
|