builder.io 1.12.2 → 1.12.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/cli/index.cjs +261 -261
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +131 -131
- package/server/index.mjs +127 -127
- package/types/cli/repo-indexing/repo-indexing-utils.d.ts +12 -3
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -18,7 +18,7 @@ export declare const runCodeGen: (sys: DevToolsSys, credentials: Credentials, se
|
|
|
18
18
|
tags?: object;
|
|
19
19
|
maxTokens?: number;
|
|
20
20
|
}, metadata?: any) => Promise<string>;
|
|
21
|
-
|
|
21
|
+
interface GetAllDesignSystemsOpts {
|
|
22
22
|
/**
|
|
23
23
|
* If true, only design systems that the user has permission to edit will be
|
|
24
24
|
* returned. If false, all design systems that the user has permission to edit
|
|
@@ -31,8 +31,16 @@ export declare const getAllDesignSystems: (credentials: Credentials, opts?: {
|
|
|
31
31
|
* Defaults to false.
|
|
32
32
|
*/
|
|
33
33
|
includeGlobalScopeDesignSystems?: boolean;
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
/**
|
|
35
|
+
* If true, the # of component docs in each design system will also be returned.
|
|
36
|
+
* Defaults to false.
|
|
37
|
+
*/
|
|
38
|
+
includeDocumentCount?: boolean;
|
|
39
|
+
}
|
|
40
|
+
export declare function getAllDesignSystems(credentials: Credentials, opts: {
|
|
41
|
+
includeDocumentCount: true;
|
|
42
|
+
} & Omit<GetAllDesignSystemsOpts, "includeDocumentCount">): Promise<DisplayDesignSystem[]>;
|
|
43
|
+
export declare function getAllDesignSystems(credentials: Credentials, opts?: GetAllDesignSystemsOpts): Promise<DesignSystem[]>;
|
|
36
44
|
export declare const getDesignSystemsByScope: (scope: DesignSystemScope, designSystems: DesignSystem[]) => DesignSystem[];
|
|
37
45
|
export declare const getDesignSystemByName: (designSystemName: string, designSystems: DesignSystem[]) => DesignSystem | null;
|
|
38
46
|
export declare const getDesignSystemByNameAndScope: (credentials: Credentials, designSystemName: string, scope: DesignSystemScope, designSystems: DesignSystem[]) => DesignSystem | null;
|
|
@@ -45,3 +53,4 @@ export declare const addDesignSystem: (credentials: Credentials, body: {
|
|
|
45
53
|
}) => Promise<any>;
|
|
46
54
|
export declare const updateDesignSystem: (credentials: Credentials, body: UpdateDesignSystemInput) => Promise<any>;
|
|
47
55
|
export declare const checkRepoIndexingFolder: (sys: DevToolsSys) => Promise<boolean>;
|
|
56
|
+
export {};
|