chore: regenerate models, CatalogRowUsage replaces ResourceRowUsage
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
|
||||
import type { ResourceRowUsage } from './modules.js';
|
||||
import type { CatalogRowUsage } from './modules.js';
|
||||
|
||||
export interface ErrorResponse {
|
||||
"code"?: "forbidden" | "idempotency_key_mismatch" | "row_referenced";
|
||||
@@ -9,6 +9,6 @@ export interface ErrorResponse {
|
||||
"path"?: string;
|
||||
"playerId"?: string;
|
||||
"requestId"?: string;
|
||||
"usages"?: ResourceRowUsage[];
|
||||
"usages"?: CatalogRowUsage[];
|
||||
}
|
||||
|
||||
|
||||
@@ -9,16 +9,16 @@ export interface CallModuleFunctionRequest {
|
||||
"dryRun"?: boolean;
|
||||
}
|
||||
|
||||
export interface ModuleErrorResponse {
|
||||
"code": string;
|
||||
"error": string;
|
||||
"requestId"?: string;
|
||||
}
|
||||
|
||||
export interface ResourceRowUsage {
|
||||
export interface CatalogRowUsage {
|
||||
"definitionSlug"?: string;
|
||||
"field"?: string;
|
||||
"moduleSlug"?: string;
|
||||
"rowId"?: string;
|
||||
}
|
||||
|
||||
export interface ModuleErrorResponse {
|
||||
"code": string;
|
||||
"error": string;
|
||||
"requestId"?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user