twenty-sdk 0.6.2 → 0.6.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/dist/{AllIcons-CGPKtPQS-CBzLmrUd.mjs → AllIcons-CGPKtPQS-DJFNbeMc.mjs} +4316 -4344
- package/dist/{AllIcons-CGPKtPQS-CoHKEEHb.js → AllIcons-CGPKtPQS-Dd8IM9mm.js} +2549 -2569
- package/dist/{HtmlTagToRemoteComponent-D_EW5OLu.mjs → HtmlTagToRemoteComponent-CKDJQf1M.mjs} +3 -3
- package/dist/{HtmlTagToRemoteComponent-CgtwxDeH.js → HtmlTagToRemoteComponent-Ch6F8pMT.js} +1 -1
- package/dist/cli/commands/app/app-dev.d.ts +2 -0
- package/dist/cli/utilities/api/api-service.d.ts +22 -2
- package/dist/cli/utilities/config/config-service.d.ts +2 -0
- package/dist/cli/utilities/dev/orchestrator/dev-mode-orchestrator.d.ts +1 -0
- package/dist/cli/utilities/dev/orchestrator/steps/register-app-orchestrator-step.d.ts +23 -0
- package/dist/cli/utilities/dev/orchestrator/steps/resolve-application-orchestrator-step.d.ts +1 -0
- package/dist/cli.cjs +80 -60
- package/dist/cli.mjs +1394 -1243
- package/dist/front-component-renderer/index.cjs +1 -1
- package/dist/front-component-renderer/index.mjs +1 -1
- package/dist/{get-function-input-schema-BZ7_XyUh-DAPandzB.mjs → get-function-input-schema-BZ7_XyUh-BggxZXtl.mjs} +1 -1
- package/dist/{get-function-input-schema-BZ7_XyUh-CCSi0u_q.js → get-function-input-schema-BZ7_XyUh-dHQTco6b.js} +1 -1
- package/dist/index-CGU9V37s.js +2200 -0
- package/dist/{index-DeMzdViF.mjs → index-CaKvLIGl.mjs} +18027 -17832
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +2 -2
- package/dist/ui/index.cjs +1 -1
- package/dist/ui/index.mjs +624 -614
- package/package.json +4 -4
- package/dist/index-CicdakVv.js +0 -2430
- package/generated/core/index.ts +0 -406
- package/generated/core/runtime/batcher.ts +0 -265
- package/generated/core/runtime/createClient.ts +0 -68
- package/generated/core/runtime/error.ts +0 -29
- package/generated/core/runtime/fetcher.ts +0 -98
- package/generated/core/runtime/generateGraphqlOperation.ts +0 -225
- package/generated/core/runtime/index.ts +0 -13
- package/generated/core/runtime/linkTypeMap.ts +0 -139
- package/generated/core/runtime/typeSelection.ts +0 -98
- package/generated/core/runtime/types.ts +0 -69
- package/generated/core/schema.graphql +0 -36745
- package/generated/core/schema.ts +0 -39341
- package/generated/core/types.ts +0 -45860
- package/generated/index.ts +0 -2
- package/generated/metadata/index.ts +0 -469
- package/generated/metadata/runtime/batcher.ts +0 -265
- package/generated/metadata/runtime/createClient.ts +0 -68
- package/generated/metadata/runtime/error.ts +0 -29
- package/generated/metadata/runtime/fetcher.ts +0 -98
- package/generated/metadata/runtime/generateGraphqlOperation.ts +0 -225
- package/generated/metadata/runtime/index.ts +0 -13
- package/generated/metadata/runtime/linkTypeMap.ts +0 -139
- package/generated/metadata/runtime/typeSelection.ts +0 -98
- package/generated/metadata/runtime/types.ts +0 -69
- package/generated/metadata/schema.graphql +0 -3971
- package/generated/metadata/schema.ts +0 -8357
- package/generated/metadata/types.ts +0 -10044
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DevModeOrchestrator } from '../../../cli/utilities/dev/orchestrator/dev-mode-orchestrator';
|
|
1
2
|
export type AppDevOptions = {
|
|
2
3
|
appPath?: string;
|
|
3
4
|
};
|
|
@@ -5,6 +6,7 @@ export declare class AppDevCommand {
|
|
|
5
6
|
private orchestrator;
|
|
6
7
|
private unmountUI;
|
|
7
8
|
close(): Promise<void>;
|
|
9
|
+
getOrchestrator(): DevModeOrchestrator | null;
|
|
8
10
|
execute(options: AppDevOptions): Promise<void>;
|
|
9
11
|
private setupGracefulShutdown;
|
|
10
12
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { type ApiResponse } from '../../../cli/utilities/api/api-response-type';
|
|
1
2
|
import { type Manifest } from 'twenty-shared/application';
|
|
2
3
|
import { type FileFolder } from 'twenty-shared/types';
|
|
3
|
-
import { type ApiResponse } from '../../../cli/utilities/api/api-response-type';
|
|
4
4
|
export declare class ApiService {
|
|
5
5
|
private client;
|
|
6
6
|
private configService;
|
|
@@ -35,7 +35,27 @@ export declare class ApiService {
|
|
|
35
35
|
expiresAt: string;
|
|
36
36
|
};
|
|
37
37
|
}>>;
|
|
38
|
-
|
|
38
|
+
findApplicationRegistrationByUniversalIdentifier(universalIdentifier: string): Promise<ApiResponse<{
|
|
39
|
+
id: string;
|
|
40
|
+
universalIdentifier: string;
|
|
41
|
+
name: string;
|
|
42
|
+
oAuthClientId: string;
|
|
43
|
+
} | null>>;
|
|
44
|
+
createApplicationRegistration(input: {
|
|
45
|
+
name: string;
|
|
46
|
+
description?: string;
|
|
47
|
+
universalIdentifier: string;
|
|
48
|
+
}): Promise<ApiResponse<{
|
|
49
|
+
applicationRegistration: {
|
|
50
|
+
id: string;
|
|
51
|
+
universalIdentifier: string;
|
|
52
|
+
oAuthClientId: string;
|
|
53
|
+
};
|
|
54
|
+
clientSecret: string;
|
|
55
|
+
}>>;
|
|
56
|
+
createApplication(manifest: Manifest, options?: {
|
|
57
|
+
applicationRegistrationId?: string;
|
|
58
|
+
}): Promise<ApiResponse<{
|
|
39
59
|
id: string;
|
|
40
60
|
universalIdentifier: string;
|
|
41
61
|
}>>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type ApiService } from '../../../../../cli/utilities/api/api-service';
|
|
2
|
+
import { type ConfigService } from '../../../../../cli/utilities/config/config-service';
|
|
3
|
+
import { type OrchestratorState } from '../../../../../cli/utilities/dev/orchestrator/dev-mode-orchestrator-state';
|
|
4
|
+
import { type Manifest } from 'twenty-shared/application';
|
|
5
|
+
export type RegisterAppOrchestratorStepOutput = {
|
|
6
|
+
applicationRegistrationId: string | null;
|
|
7
|
+
clientId: string | null;
|
|
8
|
+
};
|
|
9
|
+
export declare class RegisterAppOrchestratorStep {
|
|
10
|
+
private apiService;
|
|
11
|
+
private configService;
|
|
12
|
+
private state;
|
|
13
|
+
private notify;
|
|
14
|
+
constructor({ apiService, configService, state, notify }: {
|
|
15
|
+
apiService: ApiService;
|
|
16
|
+
configService: ConfigService;
|
|
17
|
+
state: OrchestratorState;
|
|
18
|
+
notify: () => void;
|
|
19
|
+
});
|
|
20
|
+
execute(input: {
|
|
21
|
+
manifest: Manifest;
|
|
22
|
+
}): Promise<RegisterAppOrchestratorStepOutput>;
|
|
23
|
+
}
|