mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-02 06:20:29 +00:00
chore: generate
This commit is contained in:
parent
d62ec7776e
commit
4c4eef46f1
2 changed files with 5 additions and 3 deletions
|
|
@ -708,9 +708,8 @@ export namespace Session {
|
||||||
runPromise((svc) => svc.setArchived(input)),
|
runPromise((svc) => svc.setArchived(input)),
|
||||||
)
|
)
|
||||||
|
|
||||||
export const setPermission = fn(
|
export const setPermission = fn(z.object({ sessionID: SessionID.zod, permission: Permission.Ruleset }), (input) =>
|
||||||
z.object({ sessionID: SessionID.zod, permission: Permission.Ruleset }),
|
runPromise((svc) => svc.setPermission(input)),
|
||||||
(input) => runPromise((svc) => svc.setPermission(input)),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
export const setRevert = fn(
|
export const setRevert = fn(
|
||||||
|
|
|
||||||
|
|
@ -2550,6 +2550,9 @@
|
||||||
"title": {
|
"title": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"permission": {
|
||||||
|
"$ref": "#/components/schemas/PermissionRuleset"
|
||||||
|
},
|
||||||
"time": {
|
"time": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue