@tinacms/cli 1.3.2 → 1.4.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/bin/tinacms +3 -1
- package/dist/cmds/forestry-migrate/util/index.d.ts +14 -14
- package/dist/cmds/init/index.d.ts +4 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2229 -2070
- package/dist/logger/index.d.ts +16 -3
- package/dist/logger/is-unicode-supported.d.ts +1 -0
- package/dist/next/codegen/codegen/index.d.ts +5 -0
- package/dist/{codegen → next/codegen/codegen}/plugin.d.ts +2 -2
- package/dist/{codegen → next/codegen/codegen}/sdkPlugin/index.d.ts +1 -1
- package/dist/next/codegen/index.d.ts +30 -0
- package/dist/{cmds/audit → next/commands/audit-command}/audit.d.ts +7 -5
- package/dist/next/commands/audit-command/index.d.ts +12 -0
- package/dist/next/commands/build-command/index.d.ts +23 -0
- package/dist/next/commands/build-command/server.d.ts +3 -0
- package/dist/next/commands/build-command/tailwind.d.ts +2 -0
- package/dist/next/commands/build-command/waitForDB.d.ts +7 -0
- package/dist/next/commands/codemod-command/index.d.ts +9 -0
- package/dist/next/commands/codemod-command/server/index.d.ts +2 -0
- package/dist/next/commands/dev-command/html.d.ts +1 -0
- package/dist/next/commands/dev-command/index.d.ts +21 -0
- package/dist/next/commands/dev-command/server/index.d.ts +3 -0
- package/dist/next/commands/dev-command/server/media.d.ts +45 -0
- package/dist/next/commands/dev-command/tailwind.d.ts +2 -0
- package/dist/next/commands/init-command/index.d.ts +9 -0
- package/dist/next/config-manager.d.ts +54 -0
- package/dist/next/database.d.ts +4 -0
- package/dist/next/vite/index.d.ts +12 -0
- package/dist/next/vite/tailwind.d.ts +2 -0
- package/dist/utils/sleep.d.ts +4 -0
- package/dist/utils/start-subprocess.d.ts +5 -0
- package/package.json +17 -6
- package/dist/buildTina/attachDatabase.d.ts +0 -8
- package/dist/buildTina/attachPath.d.ts +0 -5
- package/dist/buildTina/git.d.ts +0 -13
- package/dist/buildTina/index.d.ts +0 -71
- package/dist/cmds/audit/index.d.ts +0 -5
- package/dist/cmds/baseCmds.d.ts +0 -11
- package/dist/cmds/compile/defaultSchema.d.ts +0 -4
- package/dist/cmds/compile/index.d.ts +0 -24
- package/dist/cmds/query-gen/genTypes.d.ts +0 -16
- package/dist/cmds/query-gen/index.d.ts +0 -4
- package/dist/cmds/start-server/errors/index.d.ts +0 -10
- package/dist/cmds/start-server/index.d.ts +0 -27
- package/dist/cmds/start-server/lock.d.ts +0 -9
- package/dist/cmds/start-server/server.d.ts +0 -5
- package/dist/cmds/startSubprocess/index.d.ts +0 -8
- package/dist/cmds/statusChecks/checkClientInformation.d.ts +0 -32
- package/dist/cmds/statusChecks/waitForIndexing.d.ts +0 -11
- package/dist/codegen/index.d.ts +0 -8
- package/dist/command.d.ts +0 -19
- package/dist/middleware.d.ts +0 -4
- /package/dist/{codegen → next/codegen/codegen}/sdkPlugin/config.d.ts +0 -0
- /package/dist/{codegen → next/codegen/codegen}/sdkPlugin/visitor.d.ts +0 -0
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import type { Bridge } from '@tinacms/datalayer';
|
|
5
|
-
import type { Database } from '@tinacms/graphql';
|
|
6
|
-
import { ConfigBuilder } from '../../buildTina';
|
|
7
|
-
import type { Schema } from '@tinacms/schema-tools';
|
|
8
|
-
interface Options {
|
|
9
|
-
port?: number;
|
|
10
|
-
command?: string;
|
|
11
|
-
watchFolders?: string[];
|
|
12
|
-
noWatch?: boolean;
|
|
13
|
-
noSDK: boolean;
|
|
14
|
-
noTelemetry: boolean;
|
|
15
|
-
verbose?: boolean;
|
|
16
|
-
dev?: boolean;
|
|
17
|
-
local: boolean;
|
|
18
|
-
}
|
|
19
|
-
export declare function startServer(ctx: {
|
|
20
|
-
builder: ConfigBuilder;
|
|
21
|
-
rootPath: string;
|
|
22
|
-
database: Database;
|
|
23
|
-
bridge: Bridge;
|
|
24
|
-
usingTs: boolean;
|
|
25
|
-
schema?: Schema;
|
|
26
|
-
}, next: any, { port, noWatch, noSDK, noTelemetry, watchFolders, verbose, dev, }: Options): Promise<void>;
|
|
27
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { Bridge } from '@tinacms/datalayer';
|
|
2
|
-
import type { Database } from '@tinacms/graphql';
|
|
3
|
-
import type { Schema } from '@tinacms/schema-tools';
|
|
4
|
-
import { ConfigBuilder } from '../../buildTina';
|
|
5
|
-
export declare const checkClientInfo: (ctx: {
|
|
6
|
-
builder: ConfigBuilder;
|
|
7
|
-
rootPath: string;
|
|
8
|
-
database: Database;
|
|
9
|
-
bridge: Bridge;
|
|
10
|
-
usingTs: boolean;
|
|
11
|
-
schema?: Schema;
|
|
12
|
-
apiUrl: string;
|
|
13
|
-
isSelfHostedDatabase: boolean;
|
|
14
|
-
}, next: any, _options: {
|
|
15
|
-
verbose?: boolean;
|
|
16
|
-
}) => Promise<any>;
|
|
17
|
-
export declare const fetchRemoteGraphqlSchema: ({ url, token, }: {
|
|
18
|
-
url: string;
|
|
19
|
-
token?: string;
|
|
20
|
-
}) => Promise<any>;
|
|
21
|
-
export declare const checkGraphqlSchema: (ctx: {
|
|
22
|
-
builder: ConfigBuilder;
|
|
23
|
-
rootPath: string;
|
|
24
|
-
database: Database;
|
|
25
|
-
bridge: Bridge;
|
|
26
|
-
usingTs: boolean;
|
|
27
|
-
schema?: Schema;
|
|
28
|
-
apiUrl: string;
|
|
29
|
-
isSelfHostedDatabase: boolean;
|
|
30
|
-
}, next: any, _options: {
|
|
31
|
-
verbose?: boolean;
|
|
32
|
-
}) => Promise<void>;
|
package/dist/codegen/index.d.ts
DELETED
package/dist/command.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
export interface Command {
|
|
5
|
-
resource?: string;
|
|
6
|
-
command: string;
|
|
7
|
-
alias?: string;
|
|
8
|
-
description: string;
|
|
9
|
-
action: (...args: any[]) => void;
|
|
10
|
-
examples?: string;
|
|
11
|
-
subCommands?: Command[];
|
|
12
|
-
options?: Option[];
|
|
13
|
-
}
|
|
14
|
-
interface Option {
|
|
15
|
-
name: string;
|
|
16
|
-
description: string;
|
|
17
|
-
defaultValue?: any;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
package/dist/middleware.d.ts
DELETED
|
File without changes
|
|
File without changes
|