@supernova-studio/supernova-sdk-beta 0.7.18 → 0.7.19
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/build/sdk-typescript/src/core/areas/SDKAreaDesignSystems.d.ts +5 -1
- package/build/sdk-typescript/src/core/areas/SDKAreaDocumentation.d.ts +6 -0
- package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +5 -1
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +5 -1
- package/build/sdk-typescript/src/exports.d.ts +1 -0
- package/build/sdk-typescript/src/model/themes/SDKTokenTheme.d.ts +2 -2
- package/build/sdk-typescript/src/model/themes/SDKTokenThemeOverride.d.ts +2 -2
- package/build/supernova-sdk-typescript.js +1 -1
- package/build/supernova-sdk-typescript.js.map +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,11 @@ export declare class AreaDesignSystems {
|
|
|
15
15
|
* @param userId - User id to fetch from
|
|
16
16
|
* @returns All design systems in the specified version
|
|
17
17
|
*/
|
|
18
|
-
designSystemsByUserId(userId: string
|
|
18
|
+
designSystemsByUserId(userId: string, filter?: {
|
|
19
|
+
query?: string;
|
|
20
|
+
limit?: number;
|
|
21
|
+
offset?: number;
|
|
22
|
+
}): Promise<Array<DesignSystemWithWorkspaceShortModel>>;
|
|
19
23
|
/** Fetches a specific design system by its id
|
|
20
24
|
* @param designSystemId - Design system to fetch
|
|
21
25
|
* @returns Design system with the specified id
|
|
@@ -68,6 +68,12 @@ export declare class AreaDocumentation {
|
|
|
68
68
|
* @returns All documentation pages
|
|
69
69
|
*/
|
|
70
70
|
getDocumentationPages(from: RemoteWorkspaceVersionIdentifier): Promise<Array<DocumentationLegacyPage>>;
|
|
71
|
+
/** @deprecated Used in SDK clients */
|
|
72
|
+
/** Fetches all documentation groups
|
|
73
|
+
* @param from - Remote version to fetch from
|
|
74
|
+
* @returns All documentation groups
|
|
75
|
+
*/
|
|
76
|
+
getDocumentationGroups(from: RemoteWorkspaceVersionIdentifier): Promise<Array<DocumentationLegacyGroup>>;
|
|
71
77
|
/** Creates a documentation page within documentation group
|
|
72
78
|
* @param from - Remote version to fetch from
|
|
73
79
|
* @param payload - The update model
|
|
@@ -425,7 +425,11 @@ export declare class DataCore {
|
|
|
425
425
|
/** Download information about design systems that user has access to under a single workspace and retrieve it resolved */
|
|
426
426
|
designSystems(workspaceId: any): Promise<Array<DesignSystem>>;
|
|
427
427
|
/** Download information about all design systems that user has access to under */
|
|
428
|
-
designSystemsByUserId(userId: any
|
|
428
|
+
designSystemsByUserId(userId: any, filter?: {
|
|
429
|
+
query?: string;
|
|
430
|
+
limit?: number;
|
|
431
|
+
offset?: number;
|
|
432
|
+
}): Promise<Array<DesignSystemWithWorkspaceShortModel>>;
|
|
429
433
|
/** Creates a design system */
|
|
430
434
|
createDesignSystem(workspaceId: string, name: string, description?: string): Promise<DesignSystem>;
|
|
431
435
|
getBlockDefinitions(designSystemId: string, versionId: string): Promise<Array<DocsBlockDefinition>>;
|
|
@@ -106,7 +106,11 @@ export declare class DataCoreReadRequests {
|
|
|
106
106
|
groups: Array<DocumentationLegacyGroupModel>;
|
|
107
107
|
pages: Array<DocumentationLegacyPageModel>;
|
|
108
108
|
}>;
|
|
109
|
-
getRemoteDesignSystemsByUserId(userId: string
|
|
109
|
+
getRemoteDesignSystemsByUserId(userId: string, filter?: {
|
|
110
|
+
query?: string;
|
|
111
|
+
limit?: number;
|
|
112
|
+
offset?: number;
|
|
113
|
+
}): Promise<Array<DesignSystemWithWorkspaceShortModel>>;
|
|
110
114
|
/** Remote: Get custom domain */
|
|
111
115
|
getRemoteCustomDomain(designSystemId: string): Promise<CustomDomainRemoteModel>;
|
|
112
116
|
/** Remote: Get a single design source */
|
|
@@ -34,6 +34,7 @@ export type { FeaturePermissionResolution } from "./model/workspaces/SDKWorkspac
|
|
|
34
34
|
export { Brand } from "./model/base/SDKBrand";
|
|
35
35
|
export type { BrandUpdateModel } from "./model/base/SDKBrand";
|
|
36
36
|
export { DesignSystem } from "./model/base/SDKDesignSystem";
|
|
37
|
+
export type { DesignSystemWithWorkspaceShortModel } from "./model/base/SDKDesignSystem";
|
|
37
38
|
export { DesignSystemVersion } from "./model/base/SDKDesignSystemVersion";
|
|
38
39
|
export type { DesignSystemVersionUpdateModel } from "./model/base/SDKDesignSystemVersion";
|
|
39
40
|
export { Membership } from "./model/membership/SDKMembership";
|
|
@@ -47,9 +47,9 @@ export declare class TokenTheme {
|
|
|
47
47
|
value: import("../tokens/remote/SDKRemoteTokenValue").AnyDimensionTokenRemoteValue;
|
|
48
48
|
} | {
|
|
49
49
|
aliasTo: string | undefined;
|
|
50
|
-
value:
|
|
50
|
+
value: import("../tokens/remote/SDKRemoteTokenValue").TypographyTokenRemoteValue;
|
|
51
51
|
} | {
|
|
52
52
|
aliasTo: string | undefined;
|
|
53
|
-
value:
|
|
53
|
+
value: string;
|
|
54
54
|
};
|
|
55
55
|
}
|
|
@@ -38,9 +38,9 @@ export declare class TokenThemeOverride {
|
|
|
38
38
|
value: import("../tokens/remote/SDKRemoteTokenValue").AnyDimensionTokenRemoteValue;
|
|
39
39
|
} | {
|
|
40
40
|
aliasTo: string | undefined;
|
|
41
|
-
value:
|
|
41
|
+
value: import("../tokens/remote/SDKRemoteTokenValue").TypographyTokenRemoteValue;
|
|
42
42
|
} | {
|
|
43
43
|
aliasTo: string | undefined;
|
|
44
|
-
value:
|
|
44
|
+
value: string;
|
|
45
45
|
};
|
|
46
46
|
}
|