@activepieces/shared 0.11.1 → 0.11.3
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/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Static } from '@sinclair/typebox';
|
|
2
2
|
import { Cursor } from '../../common/seek-page';
|
|
3
|
+
import { FolderId } from './folder';
|
|
3
4
|
export declare const CreateFolderRequest: import("@sinclair/typebox").TObject<{
|
|
4
5
|
displayName: import("@sinclair/typebox").TString;
|
|
5
6
|
projectId: import("@sinclair/typebox").TString;
|
|
@@ -21,3 +22,10 @@ export declare const ListFolderRequest: import("@sinclair/typebox").TObject<{
|
|
|
21
22
|
export type ListFolderRequest = Omit<Static<typeof ListFolderRequest>, 'cursor'> & {
|
|
22
23
|
cursor: Cursor | undefined;
|
|
23
24
|
};
|
|
25
|
+
export type FolderOrderItem = {
|
|
26
|
+
folderId: FolderId;
|
|
27
|
+
order: number;
|
|
28
|
+
};
|
|
29
|
+
export type UpdateFoldersOrderRequest = {
|
|
30
|
+
folderOrders: FolderOrderItem[];
|
|
31
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"folder-requests.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flows/folders/folder-requests.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;
|
|
1
|
+
{"version":3,"file":"folder-requests.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flows/folders/folder-requests.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAInC,QAAA,mBAAmB,GAAG,cAAI,CAAC,MAAM,CAAC;IAC3C,WAAW,EAAE,cAAI,CAAC,MAAM,EAAE;IAC1B,SAAS,EAAE,cAAI,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAA;AAIW,QAAA,mBAAmB,GAAG,cAAI,CAAC,MAAM,CAAC;IAC3C,WAAW,EAAE,cAAI,CAAC,MAAM,EAAE;CAC7B,CAAC,CAAA;AAKW,QAAA,mBAAmB,GAAG,cAAI,CAAC,MAAM,CAAC;IAC3C,EAAE,EAAE,cAAI,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAIW,QAAA,iBAAiB,GAAG,cAAI,CAAC,MAAM,CAAC;IACzC,KAAK,EAAE,cAAI,CAAC,QAAQ,CAAC,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACrC,MAAM,EAAE,cAAI,CAAC,QAAQ,CAAC,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACtC,SAAS,EAAE,cAAI,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAA"}
|
|
@@ -4,6 +4,7 @@ export declare const Folder: import("@sinclair/typebox").TObject<{
|
|
|
4
4
|
id: import("@sinclair/typebox").TString;
|
|
5
5
|
projectId: import("@sinclair/typebox").TString;
|
|
6
6
|
displayName: import("@sinclair/typebox").TString;
|
|
7
|
+
displayOrder: import("@sinclair/typebox").TNumber;
|
|
7
8
|
created: import("@sinclair/typebox").TString;
|
|
8
9
|
updated: import("@sinclair/typebox").TString;
|
|
9
10
|
}>;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UncategorizedFolderId = exports.Folder = void 0;
|
|
4
4
|
const typebox_1 = require("@sinclair/typebox");
|
|
5
5
|
const common_1 = require("../../common");
|
|
6
|
-
exports.Folder = typebox_1.Type.Object(Object.assign(Object.assign({}, common_1.BaseModelSchema), { id: typebox_1.Type.String(), projectId: typebox_1.Type.String(), displayName: typebox_1.Type.String() }));
|
|
6
|
+
exports.Folder = typebox_1.Type.Object(Object.assign(Object.assign({}, common_1.BaseModelSchema), { id: typebox_1.Type.String(), projectId: typebox_1.Type.String(), displayName: typebox_1.Type.String(), displayOrder: typebox_1.Type.Number() }));
|
|
7
7
|
exports.UncategorizedFolderId = 'UNCATEGORIZED';
|
|
8
8
|
//# sourceMappingURL=folder.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"folder.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flows/folders/folder.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAChD,yCAA8C;AAIjC,QAAA,MAAM,GAAG,cAAI,CAAC,MAAM,iCAC1B,wBAAe,KAClB,EAAE,EAAE,cAAI,CAAC,MAAM,EAAE,EACjB,SAAS,EAAE,cAAI,CAAC,MAAM,EAAE,EACxB,WAAW,EAAE,cAAI,CAAC,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"folder.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flows/folders/folder.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAChD,yCAA8C;AAIjC,QAAA,MAAM,GAAG,cAAI,CAAC,MAAM,iCAC1B,wBAAe,KAClB,EAAE,EAAE,cAAI,CAAC,MAAM,EAAE,EACjB,SAAS,EAAE,cAAI,CAAC,MAAM,EAAE,EACxB,WAAW,EAAE,cAAI,CAAC,MAAM,EAAE,EAC1B,YAAY,EAAE,cAAI,CAAC,MAAM,EAAE,IAC7B,CAAA;AAEW,QAAA,qBAAqB,GAAG,eAAe,CAAA"}
|