@n8n/api-types 0.19.0 → 0.21.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.
@@ -1,12 +1,12 @@
1
1
  import { z } from 'zod';
2
- export declare const SOURCE_CONTROL_FILE_TYPE: z.Values<["credential", "workflow", "tags", "variables", "file"]>;
2
+ export declare const SOURCE_CONTROL_FILE_TYPE: z.Values<["credential", "workflow", "tags", "variables", "file", "folders"]>;
3
3
  export declare const SOURCE_CONTROL_FILE_STATUS: z.Values<["new", "modified", "deleted", "created", "renamed", "conflicted", "ignored", "staged", "unknown"]>;
4
4
  export declare const SOURCE_CONTROL_FILE_LOCATION: z.Values<["local", "remote"]>;
5
5
  export declare const SourceControlledFileSchema: z.ZodObject<{
6
6
  file: z.ZodString;
7
7
  id: z.ZodString;
8
8
  name: z.ZodString;
9
- type: z.ZodEnum<["credential", "workflow", "tags", "variables", "file"]>;
9
+ type: z.ZodEnum<["credential", "workflow", "tags", "variables", "file", "folders"]>;
10
10
  status: z.ZodEnum<["new", "modified", "deleted", "created", "renamed", "conflicted", "ignored", "staged", "unknown"]>;
11
11
  location: z.ZodEnum<["local", "remote"]>;
12
12
  conflict: z.ZodBoolean;
@@ -14,7 +14,7 @@ export declare const SourceControlledFileSchema: z.ZodObject<{
14
14
  pushed: z.ZodOptional<z.ZodBoolean>;
15
15
  }, "strip", z.ZodTypeAny, {
16
16
  status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
17
- type: "credential" | "workflow" | "tags" | "variables" | "file";
17
+ type: "credential" | "workflow" | "tags" | "variables" | "file" | "folders";
18
18
  name: string;
19
19
  location: "local" | "remote";
20
20
  file: string;
@@ -24,7 +24,7 @@ export declare const SourceControlledFileSchema: z.ZodObject<{
24
24
  pushed?: boolean | undefined;
25
25
  }, {
26
26
  status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
27
- type: "credential" | "workflow" | "tags" | "variables" | "file";
27
+ type: "credential" | "workflow" | "tags" | "variables" | "file" | "folders";
28
28
  name: string;
29
29
  location: "local" | "remote";
30
30
  file: string;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SourceControlledFileSchema = exports.SOURCE_CONTROL_FILE_LOCATION = exports.SOURCE_CONTROL_FILE_STATUS = exports.SOURCE_CONTROL_FILE_TYPE = void 0;
4
4
  const zod_1 = require("zod");
5
- const FileTypeSchema = zod_1.z.enum(['credential', 'workflow', 'tags', 'variables', 'file']);
5
+ const FileTypeSchema = zod_1.z.enum(['credential', 'workflow', 'tags', 'variables', 'file', 'folders']);
6
6
  exports.SOURCE_CONTROL_FILE_TYPE = FileTypeSchema.Values;
7
7
  const FileStatusSchema = zod_1.z.enum([
8
8
  'new',
@@ -1 +1 @@
1
- {"version":3,"file":"source-controlled-file.schema.js","sourceRoot":"","sources":["../../src/schemas/source-controlled-file.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,cAAc,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC;AAC1E,QAAA,wBAAwB,GAAG,cAAc,CAAC,MAAM,CAAC;AAE9D,MAAM,gBAAgB,GAAG,OAAC,CAAC,IAAI,CAAC;IAC/B,KAAK;IACL,UAAU;IACV,SAAS;IACT,SAAS;IACT,SAAS;IACT,YAAY;IACZ,SAAS;IACT,QAAQ;IACR,SAAS;CACT,CAAC,CAAC;AACU,QAAA,0BAA0B,GAAG,gBAAgB,CAAC,MAAM,CAAC;AAElE,MAAM,kBAAkB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC;AAC1C,QAAA,4BAA4B,GAAG,kBAAkB,CAAC,MAAM,CAAC;AAEzD,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,cAAc;IACpB,MAAM,EAAE,gBAAgB;IACxB,QAAQ,EAAE,kBAAkB;IAC5B,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE;IACrB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC"}
1
+ {"version":3,"file":"source-controlled-file.schema.js","sourceRoot":"","sources":["../../src/schemas/source-controlled-file.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,cAAc,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;AACrF,QAAA,wBAAwB,GAAG,cAAc,CAAC,MAAM,CAAC;AAE9D,MAAM,gBAAgB,GAAG,OAAC,CAAC,IAAI,CAAC;IAC/B,KAAK;IACL,UAAU;IACV,SAAS;IACT,SAAS;IACT,SAAS;IACT,YAAY;IACZ,SAAS;IACT,QAAQ;IACR,SAAS;CACT,CAAC,CAAC;AACU,QAAA,0BAA0B,GAAG,gBAAgB,CAAC,MAAM,CAAC;AAElE,MAAM,kBAAkB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC;AAC1C,QAAA,4BAA4B,GAAG,kBAAkB,CAAC,MAAM,CAAC;AAEzD,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,cAAc;IACpB,MAAM,EAAE,gBAAgB;IACxB,QAAQ,EAAE,kBAAkB;IAC5B,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE;IACrB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@n8n/api-types",
3
- "version": "0.19.0",
3
+ "version": "0.21.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "src/index.ts",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [
8
8
  "dist/**/*",
9
- "LICENSE_EE.md",
10
- "LICENSE.md"
9
+ "LICENSE.md",
10
+ "LICENSE_EE.md"
11
11
  ],
12
12
  "devDependencies": {
13
13
  "@n8n/typescript-config": "1.2.0",
14
- "@n8n/config": "1.32.0"
14
+ "@n8n/config": "1.33.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "xss": "1.0.15",
18
18
  "zod": "3.24.1",
19
19
  "zod-class": "0.0.16",
20
- "n8n-workflow": "1.82.0"
20
+ "n8n-workflow": "1.84.0"
21
21
  },
22
22
  "license": "SEE LICENSE IN LICENSE.md",
23
23
  "homepage": "https://n8n.io",