Skip to content

Commit 63c0f82

Browse files
committed
chore: export missing types
1 parent 8a417ac commit 63c0f82

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

composables/api_wrapper.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export type CreateRealmRequest = paths["/api/v3/realms"]["post"]["requestBody"][
4848
export type CreateTokenRequest = paths["/api/v3/users/tokens"]["post"]["requestBody"]["content"]["application/json"];
4949
export type CreateResourceRequest = paths["/api/v3/resources"]["post"]["requestBody"]["content"]["application/json"];
5050
export type CreateS3CredentialsRequest = paths["/api/v3/users/s3credentials"]["post"]["requestBody"]["content"]["application/json"];
51-
51+
export type UpdateResourceDescriptionRequest = paths["/api/v3/resources/description"]["post"]["requestBody"]["content"]["application/json"];
5252

5353
// ----- Responses -----
5454
// Global
@@ -62,6 +62,10 @@ export type GetEventsResponse = paths["/api/v3/info/events"]["get"]["responses"]
6262
export type GetStatsResponse = paths["/api/v3/info/stats"]["get"]["responses"][200]["content"]["application/json"];
6363
export type SearchResponse = paths["/api/v3/info/search"]["get"]["responses"][200]["content"]["application/json"];
6464

65+
// License
66+
export type CreateLicensesResponse = paths["/api/v3/license"]["post"]["responses"][200]["content"]["application/json"];
67+
export type GetLicensesResponse = paths["/api/v3/license"]["get"]["responses"][200]["content"]["application/json"];
68+
6569
// Realms
6670
export type CreateRealmResponse = paths["/api/v3/realms"]["post"]["responses"][200]["content"]["application/json"];
6771
export type GetRealmComponentsResponse = paths["/api/v3/realms/{id}/components"]["get"]["responses"][200]["content"]["application/json"];
@@ -73,6 +77,9 @@ export type CreateResourceResponse = paths["/api/v3/resources"]["post"]["respons
7377
export type GetResourcesResponse = paths["/api/v3/resources"]["get"]["responses"][200]["content"]["application/json"];
7478
export type GetRelationsResponse = paths["/api/v3/resources/{id}/relations"]["get"]["responses"][200]["content"]["application/json"];
7579
export type DeleteResourcesResponse = paths["/api/v3/resources/{id}"]["delete"]["responses"][200]["content"]["application/json"];
80+
export type UpdateResourceNameResponse = paths["/api/v3/resources/name"]["post"]["responses"][200]["content"]["application/json"];
81+
export type UpdateResourceTitleResponse = paths["/api/v3/resources/title"]["post"]["responses"][200]["content"]["application/json"];
82+
export type UpdateResourceDescriptionResponse = paths["/api/v3/resources/description"]["post"]["responses"][200]["content"]["application/json"];
7683

7784
// Users
7885
export type RegisterUserResponse = paths["/api/v3/users"]["post"]["responses"][200]["content"]["application/json"];
@@ -113,6 +120,11 @@ export type SimpleCredentials = {
113120
secret_key: string
114121
}
115122

123+
export type RealmContext = {
124+
realm: Realm,
125+
group: Group
126+
}
127+
116128
// ----- Events -----
117129
export enum EventTypes {
118130
RegisterUser = 'RegisterUserRequestTx',

0 commit comments

Comments
 (0)