@builder.io/dev-tools 1.6.16-dev.202503262323.e84a63fa → 1.6.17
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/angular/index.cjs +1 -46
- package/angular/index.mjs +1 -21
- package/cli/index.cjs +1750 -95978
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +853 -13391
- package/core/index.mjs +854 -13382
- package/figma/index.cjs +1 -39
- package/figma/index.mjs +1 -19
- package/node/index.cjs +105 -25273
- package/node/index.mjs +105 -25277
- package/package.json +1 -1
- package/remix/build.cjs +1 -132
- package/remix/index.mjs +1 -113
- package/server/index.cjs +1370 -14780
- package/server/index.mjs +1370 -14773
- package/types/_tests_/code.e2e.d.ts +1 -0
- package/types/_tests_/create-builder.e2e.d.ts +1 -0
- package/types/_tests_/dev-tools.e2e.d.ts +1 -0
- package/types/_tests_/figma-generate.e2e.d.ts +1 -0
- package/types/_tests_/figma-publish.e2e.d.ts +1 -0
- package/types/_tests_/help.e2e.d.ts +1 -0
- package/types/_tests_/launch.e2e.d.ts +1 -0
- package/types/_tests_/utils.d.ts +43 -0
- package/types/_tests_/vitest.config.d.ts +2 -0
- package/types/angular/index.d.ts +1 -0
- package/types/cli/builder-add/interface.d.ts +5 -0
- package/types/cli/builder-add/options.d.ts +2 -0
- package/types/cli/code-file-utils.d.ts +44 -0
- package/types/cli/code-file-utils.unit.d.ts +1 -0
- package/types/cli/code.d.ts +49 -0
- package/types/cli/constants.d.ts +1 -0
- package/types/cli/credentials.d.ts +49 -0
- package/types/cli/download.d.ts +10 -0
- package/types/cli/exit.d.ts +1 -0
- package/types/cli/fetch.d.ts +1 -0
- package/types/cli/figma-publish.d.ts +18 -0
- package/types/cli/figma-publish.spec.d.ts +1 -0
- package/types/cli/figma-utils.d.ts +24 -0
- package/types/cli/figma.d.ts +3 -0
- package/types/cli/generate.d.ts +16 -0
- package/types/cli/help.d.ts +1 -0
- package/types/cli/incremental-tsc.d.ts +30 -0
- package/types/cli/index.d.ts +52 -0
- package/types/cli/indexing.d.ts +13 -0
- package/types/cli/launch.d.ts +5 -0
- package/types/cli/prettier.d.ts +1 -0
- package/types/cli/spinner.d.ts +16 -0
- package/types/cli/sync-utils.d.ts +12 -0
- package/types/cli/track.d.ts +4 -0
- package/types/cli/version.d.ts +1 -0
- package/types/client/client-api.d.ts +12 -0
- package/types/client/edit-button/document-listeners.d.ts +2 -0
- package/types/client/edit-button/index.d.ts +8 -0
- package/types/client/index.d.ts +1 -0
- package/types/client/menu/index.d.ts +5 -0
- package/types/client/menu/pages/component-detail.d.ts +4 -0
- package/types/client/menu/pages/component-input.d.ts +3 -0
- package/types/client/menu/pages/component-list.d.ts +4 -0
- package/types/client/menu/pages/home.d.ts +1 -0
- package/types/client/menu/pages/settings.d.ts +1 -0
- package/types/client/menu/toggle/menu-toggle.d.ts +2 -0
- package/types/client/setup-ui/connected.d.ts +1 -0
- package/types/client/setup-ui/index.d.ts +1 -0
- package/types/client/setup-ui/overview.d.ts +4 -0
- package/types/client/tracking.d.ts +22 -0
- package/types/client/utils.d.ts +14 -0
- package/types/common/ast/app-dependencies.d.ts +4 -0
- package/types/common/ast/component-info.d.ts +9 -0
- package/types/common/ast/component-input-types.d.ts +24 -0
- package/types/common/ast/component-registry.d.ts +9 -0
- package/types/common/ast/convert-values.d.ts +11 -0
- package/types/common/ast/convert-values.unit.d.ts +1 -0
- package/types/common/ast/ensure-array-statement.d.ts +7 -0
- package/types/common/ast/ensure-array-statement.unit.d.ts +1 -0
- package/types/common/ast/ensure-comments.d.ts +1 -0
- package/types/common/ast/ensure-imports.d.ts +9 -0
- package/types/common/ast/ensure-imports.unit.d.ts +1 -0
- package/types/common/ast/exported-statements.d.ts +8 -0
- package/types/common/ast/exported-statements.unit.d.ts +1 -0
- package/types/common/ast/imported-statements.d.ts +4 -0
- package/types/common/ast/imported-statements.unit.d.ts +1 -0
- package/types/common/ast/normalize-statements.d.ts +7 -0
- package/types/common/ast/normalize-statements.unit.d.ts +1 -0
- package/types/common/ast/remove-unused-imports.d.ts +3 -0
- package/types/common/ast/remove-unused-imports.unit.d.ts +1 -0
- package/types/common/ast/transform.d.ts +5 -0
- package/types/common/ast/utils.d.ts +26 -0
- package/types/common/ast/utils.unit.d.ts +1 -0
- package/types/common/builder/builder-api.d.ts +27 -0
- package/types/common/builder/builder-sdks.d.ts +9 -0
- package/types/common/builder/content-generation.d.ts +8 -0
- package/types/common/builder/content-ids.d.ts +3 -0
- package/types/common/cache.d.ts +3 -0
- package/types/common/constants.d.ts +16 -0
- package/types/common/dotenv.d.ts +6 -0
- package/types/common/estimate-code-tokens.d.ts +8 -0
- package/types/common/fs.d.ts +6 -0
- package/types/common/interactive-select-files.d.ts +3 -0
- package/types/common/mem-sys.d.ts +8 -0
- package/types/common/node-request.d.ts +7 -0
- package/types/common/path.d.ts +4 -0
- package/types/common/test-utils.d.ts +7 -0
- package/types/common/typescript.d.ts +9 -0
- package/types/common/utils.d.ts +22 -0
- package/types/common/utils.unit.d.ts +1 -0
- package/types/core/adapters/angular/angular-api-key.d.ts +10 -0
- package/types/core/adapters/angular/angular-api-key.unit.d.ts +1 -0
- package/types/core/adapters/angular/angular-app-module-imports.d.ts +3 -0
- package/types/core/adapters/angular/angular-app-module-imports.unit.d.ts +1 -0
- package/types/core/adapters/angular/angular-app-routes-update.d.ts +2 -0
- package/types/core/adapters/angular/angular-app-routes-update.unit.d.ts +1 -0
- package/types/core/adapters/angular/angular-components.d.ts +18 -0
- package/types/core/adapters/angular/angular-components.unit.d.ts +1 -0
- package/types/core/adapters/angular/angular-ensure-builder-setup.d.ts +5 -0
- package/types/core/adapters/angular/angular-ensure-config-plugin.d.ts +9 -0
- package/types/core/adapters/angular/angular-ensure-config-plugin.unit.d.ts +1 -0
- package/types/core/adapters/angular/angular-fix-tsconfig.d.ts +2 -0
- package/types/core/adapters/angular/angular-registry-parse.d.ts +16 -0
- package/types/core/adapters/angular/angular-registry-parse.unit.d.ts +1 -0
- package/types/core/adapters/angular/angular-registry.d.ts +3 -0
- package/types/core/adapters/angular/angular-registry.unit.d.ts +1 -0
- package/types/core/adapters/angular/angular-test-utils.d.ts +6 -0
- package/types/core/adapters/angular/index.d.ts +13 -0
- package/types/core/adapters/angular/types.d.ts +11 -0
- package/types/core/adapters/next/index.d.ts +28 -0
- package/types/core/adapters/next/next-api-key.d.ts +4 -0
- package/types/core/adapters/next/next-component-info.d.ts +5 -0
- package/types/core/adapters/next/next-component-info.unit.d.ts +1 -0
- package/types/core/adapters/next/next-component-inputs.unit.d.ts +1 -0
- package/types/core/adapters/next/next-component-source-inputs.unit.d.ts +1 -0
- package/types/core/adapters/next/next-components.d.ts +4 -0
- package/types/core/adapters/next/next-ensure-builder-setup.d.ts +4 -0
- package/types/core/adapters/next/next-ensure-config-plugin.d.ts +3 -0
- package/types/core/adapters/next/next-ensure-config-plugin.unit.d.ts +1 -0
- package/types/core/adapters/next/next-registry-parse.d.ts +13 -0
- package/types/core/adapters/next/next-registry-parse.unit.d.ts +1 -0
- package/types/core/adapters/next/next-registry.d.ts +3 -0
- package/types/core/adapters/next/next-registry.unit.d.ts +1 -0
- package/types/core/adapters/next/next-test-utils.d.ts +16 -0
- package/types/core/adapters/qwik-city/index.d.ts +8 -0
- package/types/core/adapters/qwik-city/qwik-api-key.d.ts +4 -0
- package/types/core/adapters/qwik-city/qwik-component-source-inputs.d.ts +3 -0
- package/types/core/adapters/qwik-city/qwik-components.d.ts +15 -0
- package/types/core/adapters/qwik-city/qwik-components.unit.d.ts +1 -0
- package/types/core/adapters/qwik-city/qwik-ensure-builder-setup.d.ts +4 -0
- package/types/core/adapters/qwik-city/qwik-ensure-config-plugin.d.ts +2 -0
- package/types/core/adapters/qwik-city/qwik-registry-parse.d.ts +16 -0
- package/types/core/adapters/qwik-city/qwik-registry-parse.unit.d.ts +1 -0
- package/types/core/adapters/qwik-city/qwik-registry.d.ts +3 -0
- package/types/core/adapters/qwik-city/qwik-registry.unit.d.ts +1 -0
- package/types/core/adapters/qwik-city/qwik-test-utils.d.ts +6 -0
- package/types/core/adapters/qwik-city/qwik-ts-program.d.ts +2 -0
- package/types/core/adapters/react/index.d.ts +13 -0
- package/types/core/adapters/react/react-api-key.d.ts +6 -0
- package/types/core/adapters/react/react-builder-sdk-setup.d.ts +2 -0
- package/types/core/adapters/react/react-component-info.d.ts +5 -0
- package/types/core/adapters/react/react-components.d.ts +18 -0
- package/types/core/adapters/react/react-components.unit.d.ts +1 -0
- package/types/core/adapters/react/react-ensure-builder-setup.d.ts +4 -0
- package/types/core/adapters/react/react-registry-parse.d.ts +13 -0
- package/types/core/adapters/react/react-registry-parse.unit.d.ts +1 -0
- package/types/core/adapters/react/react-registry.d.ts +3 -0
- package/types/core/adapters/react/react-registry.unit.d.ts +1 -0
- package/types/core/adapters/react/react-test-utils.d.ts +7 -0
- package/types/core/adapters/react/react-ts-program.d.ts +2 -0
- package/types/core/adapters/remix/index.d.ts +13 -0
- package/types/core/adapters/remix/remix-api-key.d.ts +4 -0
- package/types/core/adapters/remix/remix-components.d.ts +4 -0
- package/types/core/adapters/remix/remix-ensure-builder-setup.d.ts +5 -0
- package/types/core/adapters/remix/remix-ensure-config-plugin.d.ts +3 -0
- package/types/core/adapters/remix/remix-ensure-config-plugin.unit.d.ts +1 -0
- package/types/core/adapters/remix/remix-registry-parse.d.ts +16 -0
- package/types/core/adapters/remix/remix-registry.d.ts +3 -0
- package/types/core/adapters/remix/remix-registry.unit.d.ts +1 -0
- package/types/core/adapters/remix/remix-test-utils.d.ts +7 -0
- package/types/core/adapters/vite/vite-ensure-config-plugin.d.ts +3 -0
- package/types/core/adapters/vite/vite-ensure-config-plugin.unit.d.ts +1 -0
- package/types/core/adapters/webpack/webpack-ensure-config-plugin.d.ts +3 -0
- package/types/core/client-script.d.ts +1 -0
- package/types/core/create-dev-tools.d.ts +2 -0
- package/types/core/detect-frameworks.d.ts +4 -0
- package/types/core/ensure-config-plugin.d.ts +3 -0
- package/types/core/find-dependencies.d.ts +7 -0
- package/types/core/import-export-registry.d.ts +3 -0
- package/types/core/index.d.ts +8 -0
- package/types/figma/index.d.ts +77 -0
- package/types/node/index.d.ts +2 -0
- package/types/node/node-sys.d.ts +14 -0
- package/types/remix/index.d.ts +6 -0
- package/types/server/auth.d.ts +2 -0
- package/types/server/builder-connect.d.ts +3 -0
- package/types/server/client-script.d.ts +3 -0
- package/types/server/create-dev-tools-server.d.ts +2 -0
- package/types/server/dev-tools-api.d.ts +2 -0
- package/types/server/dev-tools-http-server.d.ts +2 -0
- package/types/server/index.d.ts +3 -0
- package/types/server/request-handler.d.ts +3 -0
- package/types/tsconfig.tsbuildinfo +1 -0
- package/types/types.d.ts +511 -0
- package/types/vite/main.d.ts +7 -0
- package/types/vitest.config.d.ts +2 -0
- package/types/webpack/main.d.ts +9 -0
- package/vite/index.cjs +3 -153
- package/vite/index.mjs +3 -119
- package/webpack/index.cjs +27 -2883
- package/webpack/index.mjs +27 -2871
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type ExpectStatic } from "vitest";
|
|
2
|
+
interface CLI {
|
|
3
|
+
output(): string;
|
|
4
|
+
consumeOutput(): string;
|
|
5
|
+
inputText(text: string): Promise<void>;
|
|
6
|
+
inputEnter(text?: string): Promise<void>;
|
|
7
|
+
inputArrowUp(): Promise<void>;
|
|
8
|
+
inputArrowDown(): Promise<void>;
|
|
9
|
+
inputArrowRight(): Promise<void>;
|
|
10
|
+
inputArrowLeft(): Promise<void>;
|
|
11
|
+
inputCtrlC(): Promise<void>;
|
|
12
|
+
inputSpace(): Promise<void>;
|
|
13
|
+
waitUntilText(text: string, timeout?: number): Promise<void>;
|
|
14
|
+
waitUntilExit(): Promise<number>;
|
|
15
|
+
wait(ms: number): Promise<void>;
|
|
16
|
+
writeFile(path: string, content: string): Promise<void>;
|
|
17
|
+
readFile(path: string): string;
|
|
18
|
+
exists(path: string): boolean;
|
|
19
|
+
readdir(path: string): string[];
|
|
20
|
+
fsSnapshot(path: string): Promise<Snapshot>;
|
|
21
|
+
fsDiff(oldSnap: Snapshot): Promise<{
|
|
22
|
+
added: string[];
|
|
23
|
+
removed: string[];
|
|
24
|
+
modified: string[];
|
|
25
|
+
}>;
|
|
26
|
+
npm(...args: string[]): Promise<number>;
|
|
27
|
+
spawn(command: string, args: string[]): Promise<number>;
|
|
28
|
+
}
|
|
29
|
+
export declare function testCLI(name: string, template: string | undefined, handler: (cli: Handler, expect: ExpectStatic) => Promise<void>, timeout?: number, skip?: boolean): void;
|
|
30
|
+
type Handler = (cmd: "builderio" | "create-builderio", args: string[], options?: {
|
|
31
|
+
debug?: boolean;
|
|
32
|
+
}) => CLI;
|
|
33
|
+
export declare function createCLI(template: string | undefined, handler: (cli: Handler) => Promise<void>): Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* A snapshot maps a file's relative path to its hash.
|
|
36
|
+
*/
|
|
37
|
+
type Snapshot = {
|
|
38
|
+
cwd: string;
|
|
39
|
+
hashes: {
|
|
40
|
+
[file: string]: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function builderDevTools(): Promise<void>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { AddCliOptions, FileNode, FolderNode, Snippet, SyncInfo } from "../../types";
|
|
2
|
+
export declare function addCommand(opts: AddCliOptions): Promise<SyncInfo | undefined>;
|
|
3
|
+
export declare function fetchSnippet(id: string): Promise<Snippet | null>;
|
|
4
|
+
export declare function writeFiles(appRootDir: string, snippet: Snippet, files: Array<FileNode | FolderNode>, rootPath: string, addSessionLink: boolean): Promise<FileNode[]>;
|
|
5
|
+
export declare function suggestRootPath(appRootDir: string, framework: string): string;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { DevToolsSys } from "../types";
|
|
2
|
+
export interface GitRankingParams {
|
|
3
|
+
sys: DevToolsSys;
|
|
4
|
+
appRootDir: string;
|
|
5
|
+
allFiles: string[];
|
|
6
|
+
files: string[];
|
|
7
|
+
hiddenFiles: string[];
|
|
8
|
+
selectedFilePaths: Map<string, number>;
|
|
9
|
+
promptRelevantFiles: string[];
|
|
10
|
+
}
|
|
11
|
+
export declare function processGitBasedRanking({ sys, appRootDir, allFiles, files, hiddenFiles, selectedFilePaths, promptRelevantFiles, }: GitRankingParams): Promise<void>;
|
|
12
|
+
export declare function shouldIncludeFile(inputFile: string, ctx: {
|
|
13
|
+
foundFiles: string[];
|
|
14
|
+
allFiles: string[];
|
|
15
|
+
selectedFilePaths: Map<string, number>;
|
|
16
|
+
cwd: string;
|
|
17
|
+
appRootDir: string;
|
|
18
|
+
fallbackImportance: number | 0;
|
|
19
|
+
}): number | 0;
|
|
20
|
+
export interface GitFileInfo {
|
|
21
|
+
filePath: string;
|
|
22
|
+
lastModified: Date;
|
|
23
|
+
frequency: number;
|
|
24
|
+
commitIds: string[];
|
|
25
|
+
relatedFiles: Set<string>;
|
|
26
|
+
}
|
|
27
|
+
export declare function getFileMetadata(sys: DevToolsSys, appRootDir: string, file: string): {
|
|
28
|
+
tokens: number;
|
|
29
|
+
content: string;
|
|
30
|
+
};
|
|
31
|
+
export declare function calculateMaxFileTokens(fileImportance: number, highImportanceCount: number): number;
|
|
32
|
+
/**
|
|
33
|
+
* Get recently modified files using git commands with commit relationship tracking
|
|
34
|
+
*/
|
|
35
|
+
export declare function getGitModifiedFiles(sys: DevToolsSys, appRootDir: string, commitCount?: number): Promise<Map<string, GitFileInfo>>;
|
|
36
|
+
/**
|
|
37
|
+
* Update file relationships based on files modified in the same commit
|
|
38
|
+
*/
|
|
39
|
+
export declare function updateFileRelationships(fileInfoMap: Map<string, GitFileInfo>, files: string[], commitId: string): void;
|
|
40
|
+
/**
|
|
41
|
+
* Calculate importance based on git history and relevant paths
|
|
42
|
+
*/
|
|
43
|
+
export declare function calculateGitImportance(file: string, gitFiles: Map<string, GitFileInfo>, baseImportance: number, relevantPaths: string[]): number;
|
|
44
|
+
export declare function shouldIncludeHiddenFile(sys: DevToolsSys, file: string): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { DevToolsSys } from "../types";
|
|
2
|
+
import type { CLIArgs } from "./index";
|
|
3
|
+
import { type Credentials } from "./credentials";
|
|
4
|
+
import { type Checkpoint } from "./incremental-tsc";
|
|
5
|
+
import type { UserContext } from "$/ai-utils";
|
|
6
|
+
interface UndoState {
|
|
7
|
+
files: {
|
|
8
|
+
path: string;
|
|
9
|
+
content: string | null;
|
|
10
|
+
}[];
|
|
11
|
+
isAgent: boolean;
|
|
12
|
+
url: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
interface SessionContext {
|
|
15
|
+
sessionId: string;
|
|
16
|
+
undoStates: UndoState[];
|
|
17
|
+
selectedFilePaths: Map<string, number>;
|
|
18
|
+
}
|
|
19
|
+
type CodegenUsage = {
|
|
20
|
+
total: number;
|
|
21
|
+
fast: number;
|
|
22
|
+
quality: number;
|
|
23
|
+
limits: {
|
|
24
|
+
aiGeneration: number;
|
|
25
|
+
aiGenerationContextWindow: number;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export interface ArtifactItem {
|
|
29
|
+
type: "file" | "text" | "delta" | "done" | "diff" | "request_file" | "thinking" | "user" | "continue";
|
|
30
|
+
id?: string;
|
|
31
|
+
content: string;
|
|
32
|
+
filePath?: string;
|
|
33
|
+
artifactTitle?: string;
|
|
34
|
+
actionTitle?: string;
|
|
35
|
+
synthetic?: boolean;
|
|
36
|
+
incomplete?: boolean;
|
|
37
|
+
nextUrl?: string;
|
|
38
|
+
actions?: ArtifactItem[];
|
|
39
|
+
stopReason?: "end" | "limit" | "error" | "max_tokens";
|
|
40
|
+
usage?: CodegenUsage;
|
|
41
|
+
}
|
|
42
|
+
export declare const runCodeCommand: (sys: DevToolsSys, subCommand: string, args: CLIArgs) => Promise<void>;
|
|
43
|
+
export declare const runCodeGen: (sys: DevToolsSys, args: CLIArgs) => Promise<undefined>;
|
|
44
|
+
export declare function agentCompletion(sys: DevToolsSys, credentials: Credentials, args: CLIArgs, userContext: UserContext, sessionContext: SessionContext, userPrompt: string, initialUrl: string | undefined, relevantFile: string | null | undefined, wasBad: boolean, baselineCheckpoint: Checkpoint): Promise<Checkpoint>;
|
|
45
|
+
export declare function createApp(userId: string, spaceId: string, privateKey: string, body: any): Promise<void>;
|
|
46
|
+
export declare function transformStream(body: ReadableStream<Uint8Array> | null): AsyncGenerator<string, void, unknown>;
|
|
47
|
+
export declare function checkProjectRoot(sys: DevToolsSys, interactive: boolean): Promise<undefined>;
|
|
48
|
+
export declare function getUserContext(sys: DevToolsSys): Promise<UserContext>;
|
|
49
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const apiAirV2Host: string;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { DevToolsSys } from "../types";
|
|
2
|
+
import type { CLIArgs } from "./index";
|
|
3
|
+
export interface CredentialsOptions {
|
|
4
|
+
forceSpaceId?: string;
|
|
5
|
+
builderPublicKey?: boolean;
|
|
6
|
+
builderPrivateKey?: boolean;
|
|
7
|
+
figmaAuth?: boolean;
|
|
8
|
+
force?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface FigmaAuth {
|
|
11
|
+
access_token: string;
|
|
12
|
+
oauth: boolean;
|
|
13
|
+
}
|
|
14
|
+
export type Feature = "component-mapping";
|
|
15
|
+
export interface BuilderCodegenUsage {
|
|
16
|
+
total: number | undefined;
|
|
17
|
+
fast: number | undefined;
|
|
18
|
+
quality: number | undefined;
|
|
19
|
+
features?: Feature[];
|
|
20
|
+
limits?: {
|
|
21
|
+
aiGeneration: number;
|
|
22
|
+
aiGenerationContextWindow: number;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export interface BuilderAuth {
|
|
26
|
+
privateKey: string;
|
|
27
|
+
spaceId: string;
|
|
28
|
+
spaceName: string;
|
|
29
|
+
userId: string;
|
|
30
|
+
}
|
|
31
|
+
export interface Credentials {
|
|
32
|
+
figmaAuth?: FigmaAuth;
|
|
33
|
+
builderPublicKey?: string;
|
|
34
|
+
builderPrivateKey?: string;
|
|
35
|
+
spaceName?: string;
|
|
36
|
+
userId?: string;
|
|
37
|
+
}
|
|
38
|
+
export declare const isCI: (args: CLIArgs) => boolean;
|
|
39
|
+
export interface Credentials {
|
|
40
|
+
figmaAuth?: FigmaAuth;
|
|
41
|
+
builderPublicKey?: string;
|
|
42
|
+
builderPrivateKey?: string;
|
|
43
|
+
spaceName?: string;
|
|
44
|
+
userId?: string;
|
|
45
|
+
}
|
|
46
|
+
export declare const getCredentials: (sys: DevToolsSys, args: CLIArgs, opts: CredentialsOptions) => Promise<Credentials>;
|
|
47
|
+
export declare function getFigmaAuth(sys: DevToolsSys): Promise<FigmaAuth>;
|
|
48
|
+
export declare function getBuilderCodegenUsage(builderPublicKey: string, builderPrivateKey: string): Promise<BuilderCodegenUsage>;
|
|
49
|
+
export declare function getBuilderAuth(sys: DevToolsSys, preferSpaceId?: string): Promise<BuilderAuth>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CLIArgs } from "./index";
|
|
2
|
+
import type { DevToolsSys } from "../types";
|
|
3
|
+
import type { FigmaBuilderLink } from "$/ai-utils";
|
|
4
|
+
interface KVGetRequest {
|
|
5
|
+
privateKey: string;
|
|
6
|
+
spaceId: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const runFigmaMigrate: (sys: DevToolsSys, args: CLIArgs) => Promise<undefined>;
|
|
9
|
+
export declare function getBuilderSpaceFigmaLinks(kvReq: KVGetRequest): Promise<FigmaBuilderLink[]>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function exit(code: number): Promise<never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const safeFetch: typeof globalThis.fetch;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import ts from "typescript";
|
|
2
|
+
import type { DevTools, DevToolsSys } from "../types";
|
|
3
|
+
import type { CLIArgs } from "./index";
|
|
4
|
+
import type { FigmaBuilderLink, FigmaMapperFile } from "$/ai-utils";
|
|
5
|
+
export declare const runFigmaPublish: (sys: DevToolsSys, args: CLIArgs) => Promise<undefined>;
|
|
6
|
+
export declare const FIGMA_CONNECT_CALL = "figmaMapping";
|
|
7
|
+
export declare function findAllMappingFiles(sys: DevToolsSys): Promise<string[]>;
|
|
8
|
+
export declare function setPublicKey(sys: DevToolsSys, publicKey: string, devTools: DevTools | undefined, ensureFigmaImportPage?: boolean): Promise<boolean>;
|
|
9
|
+
export declare function findMappingsFromFiles({ sys, mappingFiles, typeCheck, }: {
|
|
10
|
+
mappingFiles: string[];
|
|
11
|
+
sys: DevToolsSys;
|
|
12
|
+
typeCheck?: boolean;
|
|
13
|
+
}): Promise<{
|
|
14
|
+
mapperFiles: FigmaMapperFile[];
|
|
15
|
+
figmaBuilderLinks: FigmaBuilderLink[];
|
|
16
|
+
diagnostics: ts.Diagnostic[];
|
|
17
|
+
figmaLinksToResolve: string[];
|
|
18
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type Credentials, type FigmaAuth } from "./credentials";
|
|
2
|
+
import type { DevToolsSys } from "../types";
|
|
3
|
+
import type { CLIArgs } from "./index";
|
|
4
|
+
import type { FigmaBuilderLink, FigmaComponentInfo } from "$/ai-utils";
|
|
5
|
+
export declare const REMOVE_EMOJI: RegExp;
|
|
6
|
+
export declare const parseFigmaURL: (str: string) => {
|
|
7
|
+
fileID: string;
|
|
8
|
+
nodeId: string;
|
|
9
|
+
} | null;
|
|
10
|
+
export declare const getFigmaNodeData: (sys: DevToolsSys, args: CLIArgs, auth: {
|
|
11
|
+
access_token: string;
|
|
12
|
+
oauth: boolean;
|
|
13
|
+
}, fileId: string, nodeIds: string, depth?: number) => Promise<any>;
|
|
14
|
+
export declare function getFigmaComponentName(name: string): string;
|
|
15
|
+
export declare function getImportDataFromToken(credentials: Credentials, token: string, verbose: boolean): Promise<(readonly [string, FigmaComponentInfo])[]>;
|
|
16
|
+
export declare function needsFigmaAuth(urls: string[]): boolean;
|
|
17
|
+
export declare function getFigmaNodeDataFromURLs(sys: DevToolsSys, args: CLIArgs, figmaAuth: {
|
|
18
|
+
access_token: string;
|
|
19
|
+
oauth: boolean;
|
|
20
|
+
} | undefined, builderAuth: {
|
|
21
|
+
privateKey: string;
|
|
22
|
+
spaceId: string;
|
|
23
|
+
}, urls: string[]): Promise<(readonly [string, FigmaComponentInfo])[]>;
|
|
24
|
+
export declare function inPlaceResolveFigmaURLs(sys: DevToolsSys, args: CLIArgs, figmaAuth: FigmaAuth, figmaBuilderLinks: FigmaBuilderLink[], figmaLinksToResolve: string[]): Promise<void>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ComponentInfo, ComponentRegistry, DevToolsSys } from "../types";
|
|
2
|
+
import type { CLIArgs } from "./index";
|
|
3
|
+
import type { FigmaComponentInfo, UserContext } from "$/ai-utils";
|
|
4
|
+
export declare const runFigmaGenerate: (sys: DevToolsSys, args: CLIArgs) => Promise<undefined>;
|
|
5
|
+
export interface MappingCodeV3 {
|
|
6
|
+
figmaNode?: FigmaComponentInfo;
|
|
7
|
+
registry?: ComponentRegistry;
|
|
8
|
+
userContext?: UserContext;
|
|
9
|
+
figmaUrl?: string;
|
|
10
|
+
docsUrl?: string;
|
|
11
|
+
registeredCmp?: ComponentInfo;
|
|
12
|
+
previousCompletion?: string;
|
|
13
|
+
userPrompt?: string;
|
|
14
|
+
token?: string;
|
|
15
|
+
pragma?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function printHelp(subcommand?: string): void;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as ts from "typescript";
|
|
2
|
+
/**
|
|
3
|
+
* Performs an incremental type-check (no emit) for the given project directory.
|
|
4
|
+
* It reads tsconfig.json (just like the tsc CLI does) and enforces the `noEmit` flag.
|
|
5
|
+
*
|
|
6
|
+
* @param projectDir - The path to the project (where tsconfig.json is located).
|
|
7
|
+
* @param oldProgram - Optionally, the previous builder program for incremental builds.
|
|
8
|
+
* @returns An object containing the new builder program and collected diagnostics.
|
|
9
|
+
*/
|
|
10
|
+
export interface CheckpointData {
|
|
11
|
+
program: ts.EmitAndSemanticDiagnosticsBuilderProgram;
|
|
12
|
+
diagnostics: ts.Diagnostic[];
|
|
13
|
+
}
|
|
14
|
+
export type Checkpoint = CheckpointData | null;
|
|
15
|
+
export declare function runCheckpoint(projectDir: string, oldProgram?: ts.EmitAndSemanticDiagnosticsBuilderProgram): Checkpoint;
|
|
16
|
+
export declare function filterDiagnostic(c: ts.Diagnostic): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Given a new list of diagnostics and a baseline list, filter out diagnostics
|
|
19
|
+
* that were already present in the baseline.
|
|
20
|
+
*/
|
|
21
|
+
export declare function filterBaselineDiagnostics(baselineFingerprints: Set<string>, checkpoint: Checkpoint): ts.Diagnostic[];
|
|
22
|
+
export declare function createFingerprintSet(checkpoint: Checkpoint): Set<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Pretty prints diagnostics as a plain text string.
|
|
25
|
+
*
|
|
26
|
+
* @param diagnostics - An array of ts.Diagnostic objects.
|
|
27
|
+
* @returns A formatted string that describes the diagnostics.
|
|
28
|
+
*/
|
|
29
|
+
export declare function prettyPrintDiagnostics(diagnostics: ts.Diagnostic[]): string;
|
|
30
|
+
export declare function prettyPrintDiagnosticsWithContext(diagnostics: ts.Diagnostic[]): string;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export interface CLIArgs {
|
|
2
|
+
/** Figma access token */
|
|
3
|
+
figmaToken?: string;
|
|
4
|
+
/** Run in CI mode without interactive prompts */
|
|
5
|
+
ci?: boolean;
|
|
6
|
+
/** Show help text */
|
|
7
|
+
help?: boolean;
|
|
8
|
+
/** Force operation even if there are warnings */
|
|
9
|
+
force?: boolean;
|
|
10
|
+
/** Print output as JSON */
|
|
11
|
+
verbose?: boolean;
|
|
12
|
+
/** Run in dry-run mode without making changes */
|
|
13
|
+
dryrun?: boolean;
|
|
14
|
+
/** Auto-confirm all prompts */
|
|
15
|
+
yes?: boolean;
|
|
16
|
+
/** Builder.io space ID */
|
|
17
|
+
spaceId?: string;
|
|
18
|
+
/** Component name to use */
|
|
19
|
+
componentName?: string;
|
|
20
|
+
/** Mapping directory to use */
|
|
21
|
+
mappingOutput?: string;
|
|
22
|
+
/** Skip package installation step */
|
|
23
|
+
skipInstallation?: boolean;
|
|
24
|
+
/** Token to use for figma */
|
|
25
|
+
token?: string;
|
|
26
|
+
/** Url to start from */
|
|
27
|
+
url?: string;
|
|
28
|
+
/** Prompt text for non-interactive mode */
|
|
29
|
+
prompt?: string;
|
|
30
|
+
/** Generation mode - either 'exact' for precise matches or 'creative' for more flexibility */
|
|
31
|
+
mode?: "precise" | "creative";
|
|
32
|
+
/** Working directory to run commands from */
|
|
33
|
+
cwd?: string;
|
|
34
|
+
/** Debug mode */
|
|
35
|
+
debug?: boolean;
|
|
36
|
+
/** Port number for the dev server */
|
|
37
|
+
port?: number;
|
|
38
|
+
/** Port number for the dev server (shorthand) */
|
|
39
|
+
p?: number;
|
|
40
|
+
/** Command to execute */
|
|
41
|
+
command?: string;
|
|
42
|
+
/** Command to execute (shorthand) */
|
|
43
|
+
c?: string;
|
|
44
|
+
/** Skip authentication for testing purposes */
|
|
45
|
+
noAuth?: boolean;
|
|
46
|
+
/** Skip authentication for testing purposes (flag form) */
|
|
47
|
+
auth?: boolean;
|
|
48
|
+
/** Use development server instead of production for launch command */
|
|
49
|
+
dev?: boolean;
|
|
50
|
+
/** Raw command line arguments */
|
|
51
|
+
_: string[];
|
|
52
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { DevToolsSys } from "../types";
|
|
2
|
+
import type { CLIArgs } from "./index";
|
|
3
|
+
import { type Credentials } from "./credentials";
|
|
4
|
+
export interface ArtifactItem {
|
|
5
|
+
type: "shell" | "file" | "text" | "delta" | "done";
|
|
6
|
+
id?: string;
|
|
7
|
+
content: string;
|
|
8
|
+
filePath?: string;
|
|
9
|
+
artifactTitle?: string;
|
|
10
|
+
incomplete?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const runCodeIndexing: (_sys: DevToolsSys, _args: CLIArgs) => Promise<void>;
|
|
13
|
+
export declare const codeIndexing: (sys: DevToolsSys, credentials: Credentials) => Promise<void>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DevToolsSys } from "@builder.io/dev-tools/core";
|
|
2
|
+
import type { CLIArgs } from "./index";
|
|
3
|
+
export declare const API_PORT = 48753;
|
|
4
|
+
export declare const PROXY_PORT = 48752;
|
|
5
|
+
export declare function runLaunchCommand(sys: DevToolsSys, subCommand: string, args: CLIArgs): Promise<number>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function prettierFormat(code: string, parser?: string, filePath?: string): Promise<string>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const spinner: () => {
|
|
2
|
+
start: (msg?: string) => void;
|
|
3
|
+
stop: (msg?: string, code?: number) => void;
|
|
4
|
+
message: (msg?: string) => void;
|
|
5
|
+
extra: (msg?: string) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare function block({ input, output, overwrite, hideCursor, }?: {
|
|
8
|
+
input?: (NodeJS.ReadStream & {
|
|
9
|
+
fd: 0;
|
|
10
|
+
}) | undefined;
|
|
11
|
+
output?: (NodeJS.WriteStream & {
|
|
12
|
+
fd: 1;
|
|
13
|
+
}) | undefined;
|
|
14
|
+
overwrite?: boolean | undefined;
|
|
15
|
+
hideCursor?: boolean | undefined;
|
|
16
|
+
}): () => void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { AddCliOptions, DevToolsSys, FileNode, SyncInfo } from "../types";
|
|
2
|
+
export declare function extractSignatureInfo(content: string): {
|
|
3
|
+
contentId?: string;
|
|
4
|
+
sessionKey?: string;
|
|
5
|
+
snippetId?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function getAllProjectFiles(basePath: string): Promise<string[]>;
|
|
8
|
+
export declare function findBuilderFiles(basePath: string, targetContentId: string, targetSessionKey: string): Promise<FileNode[]>;
|
|
9
|
+
export declare function getIgnorePatterns(basePath: string): (path: string) => boolean;
|
|
10
|
+
export declare function watchDirectory(basePath: string, syncInfo: SyncInfo, onChange: (updatedSyncInfo: SyncInfo) => void): () => Promise<void>;
|
|
11
|
+
export declare function setupSyncServer(sys: DevToolsSys, initialSyncInfo?: SyncInfo): Promise<void>;
|
|
12
|
+
export declare function syncCommand(opts: AddCliOptions): Promise<SyncInfo | undefined>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as Amplitude from "@amplitude/analytics-node";
|
|
2
|
+
export declare function initTracking(verbose: boolean): Promise<void>;
|
|
3
|
+
export declare function track(eventName: string, options: Record<string, any>): Promise<Amplitude.Types.Result>;
|
|
4
|
+
export declare function setUserId(id: string): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const pkgVersion: string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ComponentRegistry, ConnectedBuilder, GetRegistryOptions, LaunchEditorFile, LoadComponentOptions, LocalConfig, RegisterComponentOptions, SetComponentInfoOptions, SetComponentInputOptions, UnregisterComponentOptions, ValidatedBuilder } from "../types";
|
|
2
|
+
export declare const apiConnectBuilder: (publicApiKey: string, privateAuthKey: string, kind: string | null) => Promise<ConnectedBuilder>;
|
|
3
|
+
export declare const apiValidateBuilder: () => Promise<ValidatedBuilder>;
|
|
4
|
+
export declare const apiLaunchEditor: (file: LaunchEditorFile) => Promise<unknown>;
|
|
5
|
+
export declare const apiRegistry: (opts?: GetRegistryOptions) => Promise<ComponentRegistry>;
|
|
6
|
+
export declare const apiLoadComponent: (opts: LoadComponentOptions) => Promise<ComponentRegistry>;
|
|
7
|
+
export declare const apiRegisterComponent: (opts: RegisterComponentOptions) => Promise<ComponentRegistry>;
|
|
8
|
+
export declare const apiSetComponentInfo: (opts: SetComponentInfoOptions) => Promise<ComponentRegistry>;
|
|
9
|
+
export declare const apiSetComponentInput: (opts: SetComponentInputOptions) => Promise<ComponentRegistry>;
|
|
10
|
+
export declare const apiUnregisterComponent: (opts: UnregisterComponentOptions) => Promise<ComponentRegistry>;
|
|
11
|
+
export declare const apiDevToolsEnabled: (enabled: boolean) => Promise<ComponentRegistry>;
|
|
12
|
+
export declare const apiLocalConfig: () => Promise<LocalConfig>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare class BuilderDevToolsEditButton extends HTMLElement {
|
|
2
|
+
openInBuilder: HTMLAnchorElement | null;
|
|
3
|
+
block: HTMLElement | null;
|
|
4
|
+
constructor();
|
|
5
|
+
connectedCallback(): void;
|
|
6
|
+
show(contentElm: HTMLElement, blockElm: HTMLElement): string | null;
|
|
7
|
+
hide(): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ComponentInfo } from "../../../types";
|
|
2
|
+
export declare function initComponentDetailSection(shadow: ShadowRoot): void;
|
|
3
|
+
export declare function loadComponentDetail(shadow: ShadowRoot, opt: "load" | "update"): Promise<void>;
|
|
4
|
+
export declare function renderComponentDetail(shadow: ShadowRoot, cmpId: string): ComponentInfo | null;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ComponentInfo } from "../../../types";
|
|
2
|
+
export declare function initComponentListSection(shadow: ShadowRoot): void;
|
|
3
|
+
export declare function loadComponentsSection(shadow: ShadowRoot): void;
|
|
4
|
+
export declare function renderComponentList(shadow: ShadowRoot, filteredComponents?: ComponentInfo[]): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function initHomeSection(shadow: ShadowRoot): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function initSettingsSection(shadow: ShadowRoot): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const checkBuilderIntegration: () => Promise<void>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const dispatch: (eventName: TriggerName) => void;
|
|
2
|
+
export declare const initTracking: () => Promise<void>;
|
|
3
|
+
export declare const getBuilderUserId: () => string;
|
|
4
|
+
export declare const setBuilderUserId: (builderUserId: string) => void;
|
|
5
|
+
export declare const getTracking: () => ClientTracking;
|
|
6
|
+
export declare const hasCTA: (ctaName: string) => boolean;
|
|
7
|
+
export declare const setCTA: (ctaName: string) => ClientTracking;
|
|
8
|
+
interface ClientTracking {
|
|
9
|
+
/**
|
|
10
|
+
* first time visit timestamp
|
|
11
|
+
*/
|
|
12
|
+
firstVisitTs: number;
|
|
13
|
+
/**
|
|
14
|
+
* Name of the call to actions and timestamps when they happened
|
|
15
|
+
*/
|
|
16
|
+
ctas: {
|
|
17
|
+
[ctaName: string]: number;
|
|
18
|
+
};
|
|
19
|
+
builderUserId: string;
|
|
20
|
+
}
|
|
21
|
+
export type TriggerName = "init" | "menuOpen" | "menuClose" | "registryUpdate";
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComponentRegistry } from "../types";
|
|
2
|
+
export declare const goToSection: (shadow: ShadowRoot, view: string) => void;
|
|
3
|
+
export declare const initBackButtons: (shadow: ShadowRoot) => void;
|
|
4
|
+
export declare const showToast: (shadow: ShadowRoot, html: string) => void;
|
|
5
|
+
export declare const closeToasts: (shadow: ShadowRoot) => void;
|
|
6
|
+
export declare const isEditEnabled: () => boolean;
|
|
7
|
+
export declare const enableEdit: (enable: boolean) => void;
|
|
8
|
+
export declare const getEditorUrl: () => string;
|
|
9
|
+
export declare const getBuilderContentUrl: (contentId?: string | null, blockId?: string | null) => string;
|
|
10
|
+
export declare const DEV_TOOLS_URL = "__DEV_TOOLS_URL__";
|
|
11
|
+
export declare const APP_STATE: AppState;
|
|
12
|
+
export declare const updateAppState: (registry: ComponentRegistry) => void;
|
|
13
|
+
export interface AppState extends ComponentRegistry {
|
|
14
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { AppDependency, ComponentInfo, DevToolsSys } from "../../types";
|
|
2
|
+
import type ts from "typescript";
|
|
3
|
+
export declare function getSourceDependencies(sys: DevToolsSys, typeChecker: ts.TypeChecker | null, fnNode: ts.Node): AppDependency[] | undefined;
|
|
4
|
+
export declare function getAppDependencies(cmps: ComponentInfo[]): AppDependency[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type ts from "typescript";
|
|
2
|
+
import type { ComponentInfo, ComponentInput, DevToolsSys } from "../../types";
|
|
3
|
+
export declare function parseRegisteredComponentInfo(sys: DevToolsSys, cmpInfo: ComponentInfo, cmpObjLit: ts.ObjectLiteralExpression): ComponentInfo;
|
|
4
|
+
export declare function updateComponentObjLiteralInfoProperties(sys: DevToolsSys, cmpObjExp: ts.ObjectLiteralExpression, cmpInfo: ComponentInfo): ts.ObjectLiteralExpression;
|
|
5
|
+
export declare function updateComponentInputsArrayLiteralExp(sys: DevToolsSys, arrExp: ts.ArrayLiteralExpression, inputs: ComponentInput[]): ts.ArrayLiteralExpression;
|
|
6
|
+
export declare function mergeComponentInputs(cmp: ComponentInfo, inputs: ComponentInput[]): void;
|
|
7
|
+
export declare function componentAcceptsChildren(cmp: ComponentInfo): boolean;
|
|
8
|
+
export declare function normalizeComponentInput(input: ComponentInput): ComponentInput;
|
|
9
|
+
export declare function componentHasAcceptChildrenProp(sys: DevToolsSys, cmpObjLit: ts.ObjectLiteralExpression): boolean;
|