@supernova-studio/client 0.58.18 → 0.58.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/dist/index.d.mts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +25 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2712,6 +2712,7 @@ var ShadowLayerValue = z70.object({
|
|
|
2712
2712
|
type: ShadowType
|
|
2713
2713
|
});
|
|
2714
2714
|
var ShadowTokenDataBase = tokenAliasOrValue(ShadowLayerValue);
|
|
2715
|
+
var ShadowValue = z70.array(ShadowTokenDataBase);
|
|
2715
2716
|
var ShadowTokenData = tokenAliasOrValue(z70.array(ShadowTokenDataBase));
|
|
2716
2717
|
var SizeUnit = z71.enum(["Pixels", "Rem", "Percent"]);
|
|
2717
2718
|
var SizeValue = z71.object({
|
|
@@ -3229,10 +3230,15 @@ var FigmaImportBaseContext = z90.object({
|
|
|
3229
3230
|
*/
|
|
3230
3231
|
importWarnings: z90.record(ImportWarning.array()).default({})
|
|
3231
3232
|
});
|
|
3233
|
+
var FeatureFlagsKeepAliases = z90.object({
|
|
3234
|
+
isTypographyPropsKeepAliasesEnabled: z90.boolean().default(false),
|
|
3235
|
+
isGradientPropsKeepAliasesEnabled: z90.boolean().default(false),
|
|
3236
|
+
isShadowPropsKeepAliasesEnabled: z90.boolean().default(false)
|
|
3237
|
+
});
|
|
3232
3238
|
var FigmaImportContextWithSourcesState = FigmaImportBaseContext.extend({
|
|
3233
3239
|
sourcesWithMissingAccess: z90.array(z90.string()).default([]),
|
|
3234
3240
|
shadowOpacityOptional: z90.boolean().default(false),
|
|
3235
|
-
|
|
3241
|
+
featureFlagsKeepAliases: FeatureFlagsKeepAliases.default({})
|
|
3236
3242
|
});
|
|
3237
3243
|
var ChangedImportedFigmaSourceData = ImportedFigmaSourceData.extend({
|
|
3238
3244
|
importMetadata: DataSourceFigmaImportMetadata
|
|
@@ -4608,7 +4614,9 @@ var FlaggedFeature = z169.enum([
|
|
|
4608
4614
|
"ShadowOpacityOptional",
|
|
4609
4615
|
"DisableImporter",
|
|
4610
4616
|
"VariablesOrder",
|
|
4611
|
-
"TypographyPropsKeepAliases"
|
|
4617
|
+
"TypographyPropsKeepAliases",
|
|
4618
|
+
"GradientPropsKeepAliases",
|
|
4619
|
+
"ShadowPropsKeepAliases"
|
|
4612
4620
|
]);
|
|
4613
4621
|
var FeatureFlagMap = z169.record(FlaggedFeature, z169.boolean());
|
|
4614
4622
|
var FeatureFlag = z169.object({
|
|
@@ -7904,6 +7912,19 @@ var WorkspacesEndpoint = class {
|
|
|
7904
7912
|
}
|
|
7905
7913
|
};
|
|
7906
7914
|
|
|
7915
|
+
// src/api/endpoints/liveblocks.ts
|
|
7916
|
+
var LiveblocksEndpoint = class {
|
|
7917
|
+
constructor(requestExecutor) {
|
|
7918
|
+
this.requestExecutor = requestExecutor;
|
|
7919
|
+
}
|
|
7920
|
+
auth(body) {
|
|
7921
|
+
return this.requestExecutor.json("/liveblocks/auth", DTOLiveblocksAuthResponse, {
|
|
7922
|
+
method: "POST",
|
|
7923
|
+
body
|
|
7924
|
+
});
|
|
7925
|
+
}
|
|
7926
|
+
};
|
|
7927
|
+
|
|
7907
7928
|
// src/api/endpoints/users.ts
|
|
7908
7929
|
var UsersEndpoint = class {
|
|
7909
7930
|
constructor(requestExecutor) {
|
|
@@ -8039,19 +8060,6 @@ var RequestExecutor = class {
|
|
|
8039
8060
|
}
|
|
8040
8061
|
};
|
|
8041
8062
|
|
|
8042
|
-
// src/api/endpoints/liveblocks.ts
|
|
8043
|
-
var LiveblocksEndpoint = class {
|
|
8044
|
-
constructor(requestExecutor) {
|
|
8045
|
-
this.requestExecutor = requestExecutor;
|
|
8046
|
-
}
|
|
8047
|
-
auth(body) {
|
|
8048
|
-
return this.requestExecutor.json("/liveblocks/auth", DTOLiveblocksAuthResponse, {
|
|
8049
|
-
method: "POST",
|
|
8050
|
-
body
|
|
8051
|
-
});
|
|
8052
|
-
}
|
|
8053
|
-
};
|
|
8054
|
-
|
|
8055
8063
|
// src/api/client.ts
|
|
8056
8064
|
var SupernovaApiClient = class {
|
|
8057
8065
|
constructor(config) {
|
|
@@ -13228,6 +13236,7 @@ export {
|
|
|
13228
13236
|
FrontendVersionRoomYDoc,
|
|
13229
13237
|
ImportJobsEndpoint,
|
|
13230
13238
|
ListTreeBuilder,
|
|
13239
|
+
LiveblocksEndpoint,
|
|
13231
13240
|
NpmRegistryInput,
|
|
13232
13241
|
ObjectMeta2 as ObjectMeta,
|
|
13233
13242
|
OverridesEndpoint,
|