diff --git a/packages/dashboard-client/resources.json b/packages/dashboard-client/resources.json index 34ed222..6c31134 100644 --- a/packages/dashboard-client/resources.json +++ b/packages/dashboard-client/resources.json @@ -269,6 +269,7 @@ "attributes": [ "name", "internal_subdomain", + "main_locale", "template" ], "relationships": [] diff --git a/packages/dashboard-client/src/generated/SchemaTypes.ts b/packages/dashboard-client/src/generated/SchemaTypes.ts index a930244..fde6bde 100644 --- a/packages/dashboard-client/src/generated/SchemaTypes.ts +++ b/packages/dashboard-client/src/generated/SchemaTypes.ts @@ -1629,6 +1629,10 @@ export type SiteCreateSchema = { * Internal project subdomain */ internal_subdomain?: string; + /** + * Main locale for the project + */ + main_locale?: string; /** * Site template */ diff --git a/packages/dashboard-client/src/generated/SimpleSchemaTypes.ts b/packages/dashboard-client/src/generated/SimpleSchemaTypes.ts index 192ff41..59b3765 100644 --- a/packages/dashboard-client/src/generated/SimpleSchemaTypes.ts +++ b/packages/dashboard-client/src/generated/SimpleSchemaTypes.ts @@ -1600,6 +1600,10 @@ export type SiteCreateSchema = { * Internal project subdomain */ internal_subdomain?: string; + /** + * Main locale for the project + */ + main_locale?: string; /** * Site template */ diff --git a/packages/dashboard-client/src/generated/resources/Site.ts b/packages/dashboard-client/src/generated/resources/Site.ts index 2c92d3f..f924d7c 100644 --- a/packages/dashboard-client/src/generated/resources/Site.ts +++ b/packages/dashboard-client/src/generated/resources/Site.ts @@ -123,7 +123,7 @@ export default class Site extends BaseResource { return this.rawCreate( Utils.serializeRequestBody(body, { type: 'site', - attributes: ['name', 'internal_subdomain', 'template'], + attributes: ['name', 'internal_subdomain', 'main_locale', 'template'], relationships: [], }), ).then((body) =>