twenty-sdk 2.10.1 → 2.12.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,4 +1,4 @@
1
- import { C as c, A as t } from "./login-oauth-wSHikxei.mjs";
1
+ import { C as c, A as t } from "./login-oauth-C0VXFL7H.mjs";
2
2
  import r from "chalk";
3
3
  class m {
4
4
  async execute(o) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./login-oauth-CU95X9A-.js"),l=require("chalk"),n=e=>e&&e.__esModule?e:{default:e},a=n(l);class s{async execute(c){c.remote&&o.ConfigService.setActiveRemote(c.remote);const r=o.ConfigService.getActiveRemote();console.log(a.default.blue(`Syncing marketplace catalog on ${r}...`));const t=await new o.ApiService().syncMarketplaceCatalog();t.success||(console.error(a.default.red(`Catalog sync failed: ${t.error instanceof Error?t.error.message:String(t.error)}`)),process.exit(1)),console.log(a.default.green("✓ Marketplace catalog synced successfully"))}}exports.CatalogSyncCommand=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./login-oauth-DzHcV9F2.js"),l=require("chalk"),n=e=>e&&e.__esModule?e:{default:e},a=n(l);class s{async execute(c){c.remote&&o.ConfigService.setActiveRemote(c.remote);const r=o.ConfigService.getActiveRemote();console.log(a.default.blue(`Syncing marketplace catalog on ${r}...`));const t=await new o.ApiService().syncMarketplaceCatalog();t.success||(console.error(a.default.red(`Catalog sync failed: ${t.error instanceof Error?t.error.message:String(t.error)}`)),process.exit(1)),console.log(a.default.green("✓ Marketplace catalog synced successfully"))}}exports.CatalogSyncCommand=s;
@@ -0,0 +1,6 @@
1
+ export type AppGenerateClientCommandOptions = {
2
+ appPath?: string;
3
+ };
4
+ export declare class AppGenerateClientCommand {
5
+ execute(options: AppGenerateClientCommandOptions): Promise<void>;
6
+ }
@@ -10,6 +10,7 @@ import { type FileFolder } from 'twenty-shared/types';
10
10
  export type OrchestratorStateStepEvent = {
11
11
  message: string;
12
12
  status: 'info' | 'success' | 'error' | 'warning';
13
+ spacingBefore?: boolean;
13
14
  };
14
15
  export type OrchestratorStateEvent = OrchestratorStateStepEvent & {
15
16
  id: number;
@@ -1,4 +1,4 @@
1
- import { type FieldMetadataType } from 'twenty-shared/types';
1
+ import { FieldMetadataType, type RelationOnDeleteAction, type RelationType } from 'twenty-shared/types';
2
2
  export declare const getFieldBaseFile: ({ data, }: {
3
3
  data: {
4
4
  name: string;
@@ -6,6 +6,10 @@ export declare const getFieldBaseFile: ({ data, }: {
6
6
  type: FieldMetadataType;
7
7
  objectUniversalIdentifier: string;
8
8
  description?: string | undefined;
9
+ relationTargetObjectMetadataUniversalIdentifier?: string | undefined;
10
+ relationTargetFieldMetadataUniversalIdentifier?: string | undefined;
11
+ relationType?: RelationType | undefined;
12
+ onDelete?: "None" | RelationOnDeleteAction | undefined;
9
13
  };
10
14
  name: string;
11
15
  }) => string;