Skip to content

Commit

Permalink
Update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanoverna committed Jun 20, 2024
1 parent 52f115a commit 6a68f08
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/cma-client/src/generated/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class Client {
...this.config,
...options,
logFn: this.config.logFn || console.log,
userAgent: '@datocms/cma-client v3.3.2',
userAgent: '@datocms/cma-client',
baseUrl: this.baseUrl,
preCallStack: new Error().stack,
extraHeaders: {
Expand Down
6 changes: 5 additions & 1 deletion packages/cma-client/src/generated/SchemaTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3360,7 +3360,7 @@ export type SitePlanAttributes = {
/**
* Maximum size (in bytes) for a record, including its block records
*/
item_byte_size: number;
item_size_bytes: number;
/**
* Available extra packets
*/
Expand Down Expand Up @@ -10999,6 +10999,10 @@ export type SiteRelationships = {
* via the `definition` "meta".
*/
export type SiteMeta = {
/**
* Date of project creation
*/
created_at: string;
/**
* Whether the Improved API Timezone Management option is active or not
*/
Expand Down
8 changes: 6 additions & 2 deletions packages/cma-client/src/generated/SimpleSchemaTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3758,7 +3758,7 @@ export type SitePlan = {
/**
* Maximum size (in bytes) for a record, including its block records
*/
item_byte_size: number;
item_size_bytes: number;
/**
* Available extra packets
*/
Expand Down Expand Up @@ -3996,7 +3996,7 @@ export type SitePlanAttributes = {
/**
* Maximum size (in bytes) for a record, including its block records
*/
item_byte_size: number;
item_size_bytes: number;
/**
* Available extra packets
*/
Expand Down Expand Up @@ -10566,6 +10566,10 @@ export type SiteUpdateAssetsCdnDefaultSettingsTargetSchema = Site;
* via the `definition` "meta".
*/
export type SiteMeta = {
/**
* Date of project creation
*/
created_at: string;
/**
* Whether the Improved API Timezone Management option is active or not
*/
Expand Down
3 changes: 2 additions & 1 deletion packages/dashboard-client/resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
"signup_to_newsletter",
"role_description",
"role_context",
"acquisition_method"
"acquisition_method",
"latest_acquisition_method"
],
"relationships": []
},
Expand Down
2 changes: 1 addition & 1 deletion packages/dashboard-client/src/generated/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class Client {
...this.config,
...options,
logFn: this.config.logFn || console.log,
userAgent: '@datocms/dashboard-client v3.3.2',
userAgent: '@datocms/dashboard-client',
baseUrl: this.baseUrl,
preCallStack: new Error().stack,
extraHeaders: {
Expand Down
7 changes: 6 additions & 1 deletion packages/dashboard-client/src/generated/SchemaTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -939,6 +939,11 @@ export type AccountCreateSchema = {
medium: string;
campaign?: string;
};
latest_acquisition_method?: {
source: string;
medium: string;
campaign?: string;
};
};
};
};
Expand Down Expand Up @@ -2718,7 +2723,7 @@ export type SitePlanAttributes = {
/**
* Maximum size (in bytes) for a record, including its block records
*/
item_byte_size: number;
item_size_bytes: number;
/**
* Available extra packets
*/
Expand Down
9 changes: 7 additions & 2 deletions packages/dashboard-client/src/generated/SimpleSchemaTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1100,6 +1100,11 @@ export type AccountCreateSchema = {
medium: string;
campaign?: string;
};
latest_acquisition_method?: {
source: string;
medium: string;
campaign?: string;
};
};

/**
Expand Down Expand Up @@ -2292,7 +2297,7 @@ export type SitePlan = {
/**
* Maximum size (in bytes) for a record, including its block records
*/
item_byte_size: number;
item_size_bytes: number;
/**
* Available extra packets
*/
Expand Down Expand Up @@ -2519,7 +2524,7 @@ export type SitePlanAttributes = {
/**
* Maximum size (in bytes) for a record, including its block records
*/
item_byte_size: number;
item_size_bytes: number;
/**
* Available extra packets
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default class Account extends BaseResource {
'role_description',
'role_context',
'acquisition_method',
'latest_acquisition_method',
],
relationships: [],
}),
Expand Down

0 comments on commit 6a68f08

Please sign in to comment.