|
| 1 | +// Generated by Obelisk |
| 2 | +package stargazers:db-obelisk-ext; |
| 3 | + |
| 4 | +interface user { |
| 5 | + use obelisk:types/execution@2.0.0.{execution-id, join-set-id, await-next-extension-error, get-extension-error}; |
| 6 | + use stargazers:db/user.{stargazer, ordering}; |
| 7 | + |
| 8 | + add-star-get-description-submit: func(join-set-id: borrow<join-set-id>, login: string, repo: string) -> execution-id; |
| 9 | + |
| 10 | + add-star-get-description-await-next: func(join-set-id: borrow<join-set-id>) -> result<tuple<execution-id, result<option<string>, string>>, await-next-extension-error>; |
| 11 | + |
| 12 | + add-star-get-description-get: func(execution-id: execution-id) -> result<result<option<string>, string>, get-extension-error>; |
| 13 | + |
| 14 | + remove-star-submit: func(join-set-id: borrow<join-set-id>, login: string, repo: string) -> execution-id; |
| 15 | + |
| 16 | + remove-star-await-next: func(join-set-id: borrow<join-set-id>) -> result<tuple<execution-id, result<_, string>>, await-next-extension-error>; |
| 17 | + |
| 18 | + remove-star-get: func(execution-id: execution-id) -> result<result<_, string>, get-extension-error>; |
| 19 | + |
| 20 | + update-user-description-submit: func(join-set-id: borrow<join-set-id>, username: string, description: string) -> execution-id; |
| 21 | + |
| 22 | + update-user-description-await-next: func(join-set-id: borrow<join-set-id>) -> result<tuple<execution-id, result<_, string>>, await-next-extension-error>; |
| 23 | + |
| 24 | + update-user-description-get: func(execution-id: execution-id) -> result<result<_, string>, get-extension-error>; |
| 25 | + |
| 26 | + list-stargazers-submit: func(join-set-id: borrow<join-set-id>, last: u8, repo: option<string>, ordering: ordering) -> execution-id; |
| 27 | + |
| 28 | + list-stargazers-await-next: func(join-set-id: borrow<join-set-id>) -> result<tuple<execution-id, result<list<stargazer>, string>>, await-next-extension-error>; |
| 29 | + |
| 30 | + list-stargazers-get: func(execution-id: execution-id) -> result<result<list<stargazer>, string>, get-extension-error>; |
| 31 | +} |
| 32 | + |
| 33 | +interface llm { |
| 34 | + use obelisk:types/execution@2.0.0.{execution-id, join-set-id, await-next-extension-error, get-extension-error}; |
| 35 | + |
| 36 | + get-settings-json-submit: func(join-set-id: borrow<join-set-id>) -> execution-id; |
| 37 | + |
| 38 | + get-settings-json-await-next: func(join-set-id: borrow<join-set-id>) -> result<tuple<execution-id, result<string, string>>, await-next-extension-error>; |
| 39 | + |
| 40 | + get-settings-json-get: func(execution-id: execution-id) -> result<result<string, string>, get-extension-error>; |
| 41 | +} |
| 42 | + |
0 commit comments