twenty-sdk 2.6.0 → 2.7.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.
- package/README.md +2 -2
- package/dist/catalog-sync-5PU93p3u.mjs +16 -0
- package/dist/catalog-sync-B7123fv7.js +1 -0
- package/dist/cli/commands/{deploy.d.ts → app/deploy.d.ts} +4 -0
- package/dist/cli/commands/app/index.d.ts +2 -0
- package/dist/cli/commands/{uninstall.d.ts → app/uninstall.d.ts} +1 -1
- package/dist/cli/commands/deprecated.d.ts +2 -0
- package/dist/cli/commands/{dev.d.ts → dev/dev.d.ts} +1 -1
- package/dist/cli/commands/dev/function/index.d.ts +2 -0
- package/dist/cli/commands/dev/index.d.ts +2 -0
- package/dist/cli.cjs +110 -110
- package/dist/cli.mjs +2952 -2842
- package/dist/define/index.d.ts +2 -7
- package/dist/get-function-input-schema-BZ7_XyUh-BprcNdqJ.js +1 -0
- package/dist/{get-function-input-schema-BZ7_XyUh-dQlwid60.mjs → get-function-input-schema-BZ7_XyUh-CSpgPUBa.mjs} +1 -1
- package/dist/logic-function/index.d.ts +2 -7
- package/dist/{uninstall-BwJTMGOV.js → login-oauth-CLUI-EwN.js} +46 -46
- package/dist/{uninstall-D3ZmcXyd.mjs → login-oauth-OKavkVCc.mjs} +1644 -1636
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +8 -8
- package/package.json +2 -2
- package/dist/get-function-input-schema-BZ7_XyUh-DmvaQHSU.js +0 -1
- /package/dist/cli/commands/{install.d.ts → app/install.d.ts} +0 -0
- /package/dist/cli/commands/{publish.d.ts → app/publish.d.ts} +0 -0
- /package/dist/cli/commands/{add.d.ts → dev/add.d.ts} +0 -0
- /package/dist/cli/commands/{build.d.ts → dev/build.d.ts} +0 -0
- /package/dist/cli/commands/{catalog-sync.d.ts → dev/catalog-sync.d.ts} +0 -0
- /package/dist/cli/commands/{dev-once.d.ts → dev/dev-once.d.ts} +0 -0
- /package/dist/cli/commands/{exec.d.ts → dev/exec.d.ts} +0 -0
- /package/dist/cli/commands/{logs.d.ts → dev/logs.d.ts} +0 -0
- /package/dist/cli/commands/{typecheck.d.ts → dev/typecheck.d.ts} +0 -0
- /package/dist/cli/commands/{server.d.ts → docker/index.d.ts} +0 -0
- /package/dist/cli/commands/{app-command.d.ts → index.d.ts} +0 -0
- /package/dist/cli/commands/{remote.d.ts → remote/index.d.ts} +0 -0
package/dist/operations.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./login-oauth-CLUI-EwN.js"),i=async t=>(t?.remote&&e.ConfigService.setActiveRemote(t.remote),await new e.ConfigService().clearConfig(),{success:!0,data:void 0}),n=t=>e.runSafe(()=>i(t),e.AUTH_ERROR_CODES.AUTH_FAILED),o="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIyMDIwMjAyMC0xYzI1LTRkMDItYmYyNS02YWVjY2Y3ZWE0MTkiLCJ0eXBlIjoiQVBJX0tFWSIsIndvcmtzcGFjZUlkIjoiMjAyMDIwMjAtMWMyNS00ZDAyLWJmMjUtNmFlY2NmN2VhNDE5IiwiaWF0IjoxNzM1Njg5NjAwLCJleHAiOjQ4OTE0NDk2MDAsImp0aSI6IjIwMjAyMDIwLWY0MDEtNGQ4YS1hNzMxLTY0ZDAwN2MyN2JhZCJ9.bfQjfyN0NEtTCLE_xPyNcwonDzlSXFoP8kdCQTdnuDc",a="http://localhost:2020";exports.APP_ERROR_CODES=e.APP_ERROR_CODES;exports.AUTH_ERROR_CODES=e.AUTH_ERROR_CODES;exports.ConfigService=e.ConfigService;exports.FUNCTION_ERROR_CODES=e.FUNCTION_ERROR_CODES;exports.SERVER_ERROR_CODES=e.SERVER_ERROR_CODES;exports.appBuild=e.appBuild;exports.appDeploy=e.appDeploy;exports.appDevOnce=e.appDevOnce;exports.appInstall=e.appInstall;exports.appPublish=e.appPublish;exports.appUninstall=e.appUninstall;exports.authLogin=e.authLogin;exports.authLoginOAuth=e.authLoginOAuth;exports.checkDockerRunning=e.checkDockerRunning;exports.containerExists=e.containerExists;exports.detectLocalServer=e.detectLocalServer;exports.functionExecute=e.functionExecute;exports.getContainerDigest=e.getContainerDigest;exports.getImageDigest=e.getImageDigest;exports.getImageForVersion=e.getImageForVersion;exports.serverStart=e.serverStart;exports.serverUpgrade=e.serverUpgrade;exports.DEV_API_KEY=o;exports.DEV_API_URL=a;exports.authLogout=n;
|
package/dist/operations.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as t,
|
|
2
|
-
import {
|
|
1
|
+
import { r as t, a as s, C as a } from "./login-oauth-OKavkVCc.mjs";
|
|
2
|
+
import { b as p, F as N, S as g, c as R, d as u, e as A, f as M, g as S, h as l, i as C, j, k as m, l as O, m as h, n as y, p as L, q as _, s as f, t as Y, u as d } from "./login-oauth-OKavkVCc.mjs";
|
|
3
3
|
const i = async (e) => (e?.remote && a.setActiveRemote(e.remote), await new a().clearConfig(), { success: !0, data: void 0 }), c = (e) => t(() => i(e), s.AUTH_FAILED), r = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIyMDIwMjAyMC0xYzI1LTRkMDItYmYyNS02YWVjY2Y3ZWE0MTkiLCJ0eXBlIjoiQVBJX0tFWSIsIndvcmtzcGFjZUlkIjoiMjAyMDIwMjAtMWMyNS00ZDAyLWJmMjUtNmFlY2NmN2VhNDE5IiwiaWF0IjoxNzM1Njg5NjAwLCJleHAiOjQ4OTE0NDk2MDAsImp0aSI6IjIwMjAyMDIwLWY0MDEtNGQ4YS1hNzMxLTY0ZDAwN2MyN2JhZCJ9.bfQjfyN0NEtTCLE_xPyNcwonDzlSXFoP8kdCQTdnuDc", I = "http://localhost:2020";
|
|
4
4
|
export {
|
|
5
5
|
p as APP_ERROR_CODES,
|
|
@@ -9,12 +9,12 @@ export {
|
|
|
9
9
|
I as DEV_API_URL,
|
|
10
10
|
N as FUNCTION_ERROR_CODES,
|
|
11
11
|
g as SERVER_ERROR_CODES,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
R as appBuild,
|
|
13
|
+
u as appDeploy,
|
|
14
|
+
A as appDevOnce,
|
|
15
|
+
M as appInstall,
|
|
16
|
+
S as appPublish,
|
|
17
|
+
l as appUninstall,
|
|
18
18
|
C as authLogin,
|
|
19
19
|
j as authLoginOAuth,
|
|
20
20
|
c as authLogout,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "twenty-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"bin": {
|
|
6
6
|
"twenty": "dist/cli.cjs"
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"react": "^19.0.0",
|
|
89
89
|
"react-dom": "^19.0.0",
|
|
90
90
|
"tinyglobby": "^0.2.15",
|
|
91
|
-
"twenty-client-sdk": "2.
|
|
91
|
+
"twenty-client-sdk": "2.7.0",
|
|
92
92
|
"typescript": "^5.9.2",
|
|
93
93
|
"uuid": "^13.0.0",
|
|
94
94
|
"vite": "^7.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("typescript"),o=require("./uninstall-BwJTMGOV.js"),c=n=>{switch(n.kind){case e.SyntaxKind.NumberKeyword:return{type:"number"};case e.SyntaxKind.StringKeyword:return{type:"string"};case e.SyntaxKind.BooleanKeyword:return{type:"boolean"};case e.SyntaxKind.ArrayType:return{type:"array",items:c(n.elementType)};case e.SyntaxKind.ObjectKeyword:return{type:"object"};case e.SyntaxKind.TypeLiteral:{const i={};return n.members.forEach(t=>{if(o.o(t.name)&&o.o(t.type)){const r=t.name.text;i[r]=c(t.type)}}),{type:"object",properties:i}}case e.SyntaxKind.UnionType:{const i=n,t=[];let r=!0;return i.types.forEach(a=>{if(a.kind===e.SyntaxKind.LiteralType){const y=a.literal;y.kind===e.SyntaxKind.StringLiteral?t.push(y.text):r=!1}else r=!1}),r?{type:"string",enum:t}:{}}default:return{}}},s=(n,i)=>n.parameters.reduce((t,r)=>{const a=r.type;return o.o(a)?[...t,c(a)]:[...t,{}]},i),d=n=>n.kind===e.SyntaxKind.FunctionDeclaration?[n]:n.kind===e.SyntaxKind.VariableStatement?n.declarationList.declarations.filter(i=>o.o(i.initializer)&&i.initializer.kind===e.SyntaxKind.ArrowFunction).map(i=>i.initializer):[],l=n=>{const i=e.createSourceFile("temp.ts",n,e.ScriptTarget.ESNext,!0);let t=[];return i.forEachChild(r=>{(r.kind===e.SyntaxKind.FunctionDeclaration||r.kind===e.SyntaxKind.VariableStatement)&&d(r).forEach(a=>{t=s(a,t)})}),t};exports.getFunctionInputSchema=l;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|