@tailor-platform/sdk 0.11.0 → 0.11.2

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,11 +1,11 @@
1
1
  /// <reference path="./plugin-generated.d.ts" />
2
2
 
3
- import * as zod0 from "zod";
3
+ import * as zod34 from "zod";
4
4
  import { z } from "zod";
5
5
  import { StandardSchemaV1 } from "@standard-schema/spec";
6
6
  import * as type_fest0 from "type-fest";
7
7
  import { IsAny, NonEmptyObject } from "type-fest";
8
- import * as zod_v4_core0 from "zod/v4/core";
8
+ import * as zod_v4_core50 from "zod/v4/core";
9
9
 
10
10
  //#region src/configure/types/helpers.d.ts
11
11
  type Prettify<T> = { [K in keyof T as string extends K ? never : K]: T[K] } & {};
@@ -1303,12 +1303,12 @@ declare function defineGenerators(...configs: GeneratorConfig[]): (["@tailor-pla
1303
1303
  }] | {
1304
1304
  id: string;
1305
1305
  description: string;
1306
- processType: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut>;
1307
- processResolver: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut>;
1308
- processExecutor: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut>;
1309
- aggregate: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod0.ZodAny>;
1310
- processTailorDBNamespace?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
1311
- processResolverNamespace?: zod_v4_core0.$InferInnerFunctionType<zod_v4_core0.$ZodFunctionArgs, zod_v4_core0.$ZodFunctionOut> | undefined;
1306
+ processType: zod_v4_core50.$InferInnerFunctionType<zod_v4_core50.$ZodFunctionArgs, zod_v4_core50.$ZodFunctionOut>;
1307
+ processResolver: zod_v4_core50.$InferInnerFunctionType<zod_v4_core50.$ZodFunctionArgs, zod_v4_core50.$ZodFunctionOut>;
1308
+ processExecutor: zod_v4_core50.$InferInnerFunctionType<zod_v4_core50.$ZodFunctionArgs, zod_v4_core50.$ZodFunctionOut>;
1309
+ aggregate: zod_v4_core50.$InferInnerFunctionType<zod_v4_core50.$ZodFunctionArgs, zod34.ZodAny>;
1310
+ processTailorDBNamespace?: zod_v4_core50.$InferInnerFunctionType<zod_v4_core50.$ZodFunctionArgs, zod_v4_core50.$ZodFunctionOut> | undefined;
1311
+ processResolverNamespace?: zod_v4_core50.$InferInnerFunctionType<zod_v4_core50.$ZodFunctionArgs, zod_v4_core50.$ZodFunctionOut> | undefined;
1312
1312
  })[];
1313
1313
  //#endregion
1314
1314
  //#region src/parser/service/executor/schema.d.ts
@@ -1429,4 +1429,4 @@ type Executor = z.infer<typeof ExecutorSchema>;
1429
1429
  type ExecutorInput = z.input<typeof ExecutorSchema>;
1430
1430
  //#endregion
1431
1431
  export { AllowedValues, AllowedValuesOutput, AppConfig, ArrayFieldOutput, AuthConfig, AuthExternalConfig, AuthOwnConfig, type AuthServiceInput, type BuiltinIdP, CodeGeneratorBase, Executor, ExecutorInput, ExecutorServiceConfig, ExecutorServiceInput, FieldMetadata, FieldOptions, FieldOutput, FunctionOperation, Generator, GqlOperation, type IDToken, IdPConfig, IdPExternalConfig, type IdProviderConfig, IncomingWebhookTrigger, InferFieldsOutput, type OAuth2Client, type OAuth2ClientGrantType, type OIDC, PermissionCondition, QueryType, RecordTrigger, Resolver, ResolverExecutedTrigger, ResolverExternalConfig, ResolverInput, ResolverServiceConfig, ResolverServiceInput, type SAML, type SCIMAttribute, type SCIMAttributeMapping, type SCIMAttributeType, type SCIMAuthorization, type SCIMConfig, type SCIMResource, ScheduleTriggerInput, StaticWebsiteConfig, TailorDBField, TailorDBInstance, TailorDBType, TailorDBTypeConfig, TailorField, TailorTypeGqlPermission, TailorTypePermission, TailorUser, type TenantProviderConfig, type UserAttributeKey, type UserAttributeListKey, type UserAttributeMap, type UsernameFieldKey, type ValueOperand, WebhookOperation, WorkflowServiceConfig, WorkflowServiceInput, db, defineAuth, defineConfig, defineGenerators, defineIdp, defineStaticWebSite, output, unauthenticatedTailorUser };
1432
- //# sourceMappingURL=types-U0wDhMcX.d.mts.map
1432
+ //# sourceMappingURL=types-C5oBGPO0.d.mts.map
@@ -1,7 +1,7 @@
1
1
  /// <reference path="./../../plugin-generated.d.ts" />
2
2
 
3
- import { TailorDBType, TailorField, TailorUser } from "../../types-U0wDhMcX.mjs";
4
- import { output } from "../../index-BTj95IAw.mjs";
3
+ import { TailorDBType, TailorField, TailorUser } from "../../types-C5oBGPO0.mjs";
4
+ import { output } from "../../index-Bx9tHHe8.mjs";
5
5
  import { StandardSchemaV1 } from "@standard-schema/spec";
6
6
 
7
7
  //#region src/utils/test/index.d.ts
@@ -71,6 +71,21 @@ tailor-sdk apply [options]
71
71
  - `-d, --dryRun` - Run the command without making any changes
72
72
  - `-y, --yes` - Skip confirmation prompt
73
73
 
74
+ ### remove
75
+
76
+ Remove all resources managed by the application from the workspace.
77
+
78
+ ```bash
79
+ tailor-sdk remove [options]
80
+ ```
81
+
82
+ **Options:**
83
+
84
+ - `-w, --workspace-id` - ID of the workspace to remove resources from
85
+ - `-p, --profile` - Workspace profile to use
86
+ - `-c, --config` - Path to the SDK config file (default: `tailor.config.ts`)
87
+ - `-y, --yes` - Skip confirmation prompt
88
+
74
89
  ### show
75
90
 
76
91
  Show information about the deployed application.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailor-platform/sdk",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "description": "Tailor Platform SDK - The SDK to work with Tailor Platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/configure/index.mjs",
@@ -40,7 +40,7 @@
40
40
  "types": "./dist/configure/index.d.mts",
41
41
  "dependencies": {
42
42
  "@badgateway/oauth2-client": "3.3.1",
43
- "@bufbuild/protobuf": "2.10.0",
43
+ "@bufbuild/protobuf": "2.10.1",
44
44
  "@connectrpc/connect": "2.1.0",
45
45
  "@connectrpc/connect-node": "2.1.0",
46
46
  "@standard-schema/spec": "1.0.0",
@@ -55,7 +55,7 @@
55
55
  "madge": "8.0.0",
56
56
  "multiline-ts": "4.0.1",
57
57
  "open": "10.2.0",
58
- "oxc-parser": "^0.98.0",
58
+ "oxc-parser": "0.98.0",
59
59
  "pkg-types": "2.3.0",
60
60
  "rolldown": "1.0.0-beta.41",
61
61
  "smol-toml": "1.4.2",
@@ -71,14 +71,14 @@
71
71
  "@eslint/js": "9.39.1",
72
72
  "@tailor-platform/function-types": "0.7.2",
73
73
  "@types/madge": "5.0.3",
74
- "@types/node": "22.19.0",
74
+ "@types/node": "22.19.1",
75
75
  "eslint": "9.39.1",
76
76
  "globals": "16.5.0",
77
- "sonda": "^0.10.0",
77
+ "sonda": "0.10.0",
78
78
  "tsdown": "0.15.6",
79
79
  "typescript": "5.9.3",
80
80
  "typescript-eslint": "8.47.0",
81
- "vitest": "4.0.8"
81
+ "vitest": "4.0.13"
82
82
  },
83
83
  "scripts": {
84
84
  "test": "vitest",