@@ -504,7 +504,7 @@ export type HasExportSettingsTrait = {
504504export type HasGeometryTrait = MinimalFillsTrait &
505505 MinimalStrokesTrait & {
506506 /**
507- * Map from ID to PaintOverride for looking up fill overrides. To see which regions are overriden ,
507+ * Map from ID to PaintOverride for looking up fill overrides. To see which regions are overridden ,
508508 * you must use the `geometry=paths` option. Each path returned may have an `overrideID` which maps
509509 * to this table.
510510 */
@@ -2232,7 +2232,7 @@ export type BaseTypeStyle = {
22322232 /**
22332233 * Text casing applied to the node, default is the original casing.
22342234 */
2235- textCase ?: 'UPPER' | 'LOWER' | 'TITLE' | 'SMALL_CAPS' | 'SMALL_CAPS_FORCED'
2235+ textCase ?: 'ORIGINAL' | ' UPPER' | 'LOWER' | 'TITLE' | 'SMALL_CAPS' | 'SMALL_CAPS_FORCED'
22362236
22372237 /**
22382238 * Horizontal text alignment as string enum.
@@ -3960,7 +3960,7 @@ export type ActivityLogFileEntity = {
39603960 /**
39613961 * Access policy for users who have the link to the file.
39623962 */
3963- link_access : 'view' | 'edit' | 'org_view' | 'org_edit' | 'inherit'
3963+ link_access : LinkAccess
39643964
39653965 /**
39663966 * Access policy for users who have the link to the file's prototype.
@@ -4418,7 +4418,7 @@ export type LocalVariable = {
44184418 /**
44194419 * The resolved type of the variable.
44204420 */
4421- resolvedType : 'BOOLEAN' | 'FLOAT' | 'STRING' | 'COLOR'
4421+ resolvedType : VariableResolvedDataType
44224422
44234423 /**
44244424 * The values for each mode of this variable.
@@ -4531,7 +4531,7 @@ export type PublishedVariable = {
45314531 /**
45324532 * The resolved type of the variable.
45334533 */
4534- resolvedDataType : 'BOOLEAN' | 'FLOAT' | 'STRING' | 'COLOR'
4534+ resolvedDataType : VariableResolvedDataType
45354535
45364536 /**
45374537 * The UTC ISO 8601 time at which the variable was last updated.
@@ -4711,7 +4711,7 @@ export type VariableCreate = {
47114711 /**
47124712 * The resolved type of the variable.
47134713 */
4714- resolvedType : 'BOOLEAN' | 'FLOAT' | 'STRING' | 'COLOR'
4714+ resolvedType : VariableResolvedDataType
47154715
47164716 /**
47174717 * The description of this variable.
@@ -5305,6 +5305,16 @@ export type ErrorResponsePayloadWithErrorBoolean = {
53055305 message : string
53065306}
53075307
5308+ /**
5309+ * Access policy for users who have the link to the resource.
5310+ */
5311+ export type LinkAccess = 'view' | 'edit' | 'org_view' | 'org_edit' | 'inherit'
5312+
5313+ /**
5314+ * The role of the user making the API request in relation to the resource.
5315+ */
5316+ export type Role = 'owner' | 'editor' | 'viewer'
5317+
53085318/**
53095319 * Response from the GET /v1/files/{file_key} endpoint.
53105320 */
@@ -5317,7 +5327,7 @@ export type GetFileResponse = {
53175327 /**
53185328 * The role of the user making the API request in relation to the file.
53195329 */
5320- role : 'owner' | 'editor' | 'viewer'
5330+ role : Role
53215331
53225332 /**
53235333 * The UTC ISO 8601 time at which the file was last modified.
@@ -5410,7 +5420,7 @@ export type GetFileNodesResponse = {
54105420 /**
54115421 * The role of the user making the API request in relation to the file.
54125422 */
5413- role : 'owner' | 'editor' | 'viewer'
5423+ role : Role
54145424
54155425 /**
54165426 * The UTC ISO 8601 time at which the file was last modified.
@@ -5542,12 +5552,12 @@ export type GetFileMetaResponse = {
55425552 /**
55435553 * The role of the user making the API request in relation to the file.
55445554 */
5545- role ?: 'owner' | 'editor' | 'viewer'
5555+ role ?: Role
55465556
55475557 /**
55485558 * Access policy for users who have the link to the file.
55495559 */
5550- link_access ?: 'view' | 'edit' | 'org_view' | 'org_edit' | 'inherit'
5560+ link_access ?: LinkAccess
55515561
55525562 /**
55535563 * The URL of the file.
0 commit comments