@activepieces/shared 0.10.2 → 0.10.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@activepieces/shared",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "type": "commonjs",
5
5
  "dependencies": {
6
6
  "@sinclair/typebox": "0.26.8",
@@ -1,5 +1,4 @@
1
1
  /// <reference types="node" />
2
- import { Static } from "@sinclair/typebox";
3
2
  import { BaseModel } from "../common/base-model";
4
3
  import { ApId } from "../common/id-generator";
5
4
  import { ProjectId } from "../project/project";
@@ -12,9 +11,3 @@ export interface File extends BaseModel<FileId> {
12
11
  type: FileType;
13
12
  compression: FileCompression;
14
13
  }
15
- export declare const FileData: import("@sinclair/typebox").TObject<{
16
- data: import("@sinclair/typebox").TAny;
17
- mimetype: import("@sinclair/typebox").TString<string>;
18
- filename: import("@sinclair/typebox").TString<string>;
19
- }>;
20
- export type FileData = Static<typeof FileData>;
@@ -1,10 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FileData = void 0;
4
- const typebox_1 = require("@sinclair/typebox");
5
- exports.FileData = typebox_1.Type.Object({
6
- data: typebox_1.Type.Any(),
7
- mimetype: typebox_1.Type.String(),
8
- filename: typebox_1.Type.String(),
9
- });
10
3
  //# sourceMappingURL=file.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"file.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/file/file.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AAiBpC,QAAA,QAAQ,GAAG,cAAI,CAAC,MAAM,CAAC;IAChC,IAAI,EAAE,cAAI,CAAC,GAAG,EAAE;IAChB,QAAQ,EAAE,cAAI,CAAC,MAAM,EAAE;IACvB,QAAQ,EAAE,cAAI,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAA"}
1
+ {"version":3,"file":"file.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/file/file.ts"],"names":[],"mappings":""}
@@ -15,11 +15,7 @@ export declare const StepFileUpsert: import("@sinclair/typebox").TObject<{
15
15
  name: import("@sinclair/typebox").TString<string>;
16
16
  flowId: import("@sinclair/typebox").TString<string>;
17
17
  stepName: import("@sinclair/typebox").TString<string>;
18
- file: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
19
- data: import("@sinclair/typebox").TAny;
20
- mimetype: import("@sinclair/typebox").TString<string>;
21
- filename: import("@sinclair/typebox").TString<string>;
22
- }>>;
18
+ file: import("@sinclair/typebox").TUnknown;
23
19
  }>;
24
20
  export type StepFileUpsert = Static<typeof StepFileUpsert>;
25
21
  export declare const StepFileGet: import("@sinclair/typebox").TObject<{
@@ -3,13 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StepFileGet = exports.StepFileUpsert = exports.StepFile = void 0;
4
4
  const typebox_1 = require("@sinclair/typebox");
5
5
  const common_1 = require("../../common");
6
- const file_1 = require("../../file/file");
7
6
  exports.StepFile = typebox_1.Type.Object(Object.assign(Object.assign({}, common_1.BaseModelSchema), { name: typebox_1.Type.String(), flowId: typebox_1.Type.String(), projectId: typebox_1.Type.String(), stepName: typebox_1.Type.String(), size: typebox_1.Type.Number(), data: typebox_1.Type.Unknown() }));
8
7
  exports.StepFileUpsert = typebox_1.Type.Object({
9
8
  name: typebox_1.Type.String(),
10
9
  flowId: typebox_1.Type.String(),
11
10
  stepName: typebox_1.Type.String(),
12
- file: typebox_1.Type.Array(file_1.FileData),
11
+ file: typebox_1.Type.Unknown(),
13
12
  });
14
13
  exports.StepFileGet = typebox_1.Type.Object({
15
14
  id: typebox_1.Type.String(),
@@ -1 +1 @@
1
- {"version":3,"file":"step-file.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flows/step-file/step-file.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AACjD,yCAA+C;AAC/C,0CAA2C;AAE9B,QAAA,QAAQ,GAAG,cAAI,CAAC,MAAM,iCAC5B,wBAAe,KAClB,IAAI,EAAE,cAAI,CAAC,MAAM,EAAE,EACnB,MAAM,EAAE,cAAI,CAAC,MAAM,EAAE,EACrB,SAAS,EAAE,cAAI,CAAC,MAAM,EAAE,EACxB,QAAQ,EAAE,cAAI,CAAC,MAAM,EAAE,EACvB,IAAI,EAAE,cAAI,CAAC,MAAM,EAAE,EACnB,IAAI,EAAE,cAAI,CAAC,OAAO,EAAE,IACtB,CAAA;AAIW,QAAA,cAAc,GAAG,cAAI,CAAC,MAAM,CAAC;IACtC,IAAI,EAAE,cAAI,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,cAAI,CAAC,MAAM,EAAE;IACrB,QAAQ,EAAE,cAAI,CAAC,MAAM,EAAE;IACvB,IAAI,EAAE,cAAI,CAAC,KAAK,CAAC,eAAQ,CAAC;CAC7B,CAAC,CAAA;AAIW,QAAA,WAAW,GAAG,cAAI,CAAC,MAAM,CAAC;IACnC,EAAE,EAAE,cAAI,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,cAAI,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAA"}
1
+ {"version":3,"file":"step-file.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flows/step-file/step-file.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AACjD,yCAA+C;AAElC,QAAA,QAAQ,GAAG,cAAI,CAAC,MAAM,iCAC5B,wBAAe,KAClB,IAAI,EAAE,cAAI,CAAC,MAAM,EAAE,EACnB,MAAM,EAAE,cAAI,CAAC,MAAM,EAAE,EACrB,SAAS,EAAE,cAAI,CAAC,MAAM,EAAE,EACxB,QAAQ,EAAE,cAAI,CAAC,MAAM,EAAE,EACvB,IAAI,EAAE,cAAI,CAAC,MAAM,EAAE,EACnB,IAAI,EAAE,cAAI,CAAC,OAAO,EAAE,IACtB,CAAA;AAIW,QAAA,cAAc,GAAG,cAAI,CAAC,MAAM,CAAC;IACtC,IAAI,EAAE,cAAI,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,cAAI,CAAC,MAAM,EAAE;IACrB,QAAQ,EAAE,cAAI,CAAC,MAAM,EAAE;IACvB,IAAI,EAAE,cAAI,CAAC,OAAO,EAAE;CACvB,CAAC,CAAA;AAIW,QAAA,WAAW,GAAG,cAAI,CAAC,MAAM,CAAC;IACnC,EAAE,EAAE,cAAI,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,cAAI,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAA"}