@@ -48,6 +48,11 @@ export type ActionsRegistryActionOptions<
|
||||
input: (zod: typeof z) => TInputSchema;
|
||||
output: (zod: typeof z) => TOutputSchema;
|
||||
};
|
||||
attributes?: {
|
||||
destructive?: boolean;
|
||||
idempotent?: boolean;
|
||||
readOnly?: boolean;
|
||||
};
|
||||
action: (context: ActionsRegistryActionContext<TInputSchema>) => Promise<
|
||||
z.infer<TOutputSchema> extends void
|
||||
? void
|
||||
@@ -94,6 +99,11 @@ export type ActionsServiceAction = {
|
||||
input: JSONSchema7;
|
||||
output: JSONSchema7;
|
||||
};
|
||||
attributes: {
|
||||
readOnly: boolean;
|
||||
destructive: boolean;
|
||||
idempotent: boolean;
|
||||
};
|
||||
};
|
||||
|
||||
// @public
|
||||
|
||||
@@ -59,14 +59,12 @@
|
||||
"@keyv/valkey": "^1.0.1",
|
||||
"@types/express": "^4.17.6",
|
||||
"@types/express-serve-static-core": "^4.17.5",
|
||||
"@types/json-schema": "^7.0.6",
|
||||
"@types/keyv": "^4.2.0",
|
||||
"@types/qs": "^6.9.6",
|
||||
"better-sqlite3": "^11.0.0",
|
||||
"cookie": "^0.7.0",
|
||||
"express": "^4.17.1",
|
||||
"fs-extra": "^11.0.0",
|
||||
"json-schema": "^0.4.0",
|
||||
"keyv": "^5.2.1",
|
||||
"knex": "^3.0.0",
|
||||
"mysql2": "^3.0.0",
|
||||
|
||||
@@ -3784,7 +3784,6 @@ __metadata:
|
||||
"@types/express": "npm:^4.17.6"
|
||||
"@types/express-serve-static-core": "npm:^4.17.5"
|
||||
"@types/jest": "npm:*"
|
||||
"@types/json-schema": "npm:^7.0.6"
|
||||
"@types/keyv": "npm:^4.2.0"
|
||||
"@types/qs": "npm:^6.9.6"
|
||||
"@types/supertest": "npm:^2.0.8"
|
||||
@@ -3792,7 +3791,6 @@ __metadata:
|
||||
cookie: "npm:^0.7.0"
|
||||
express: "npm:^4.17.1"
|
||||
fs-extra: "npm:^11.0.0"
|
||||
json-schema: "npm:^0.4.0"
|
||||
keyv: "npm:^5.2.1"
|
||||
knex: "npm:^3.0.0"
|
||||
mysql2: "npm:^3.0.0"
|
||||
|
||||
Reference in New Issue
Block a user