Skip to content

Commit d70664d

Browse files
committed
make gen
1 parent 7375484 commit d70664d

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

coderd/database/queries.sql.go

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/src/api/typesGenerated.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,11 @@ export interface CreateFirstUserResponse {
152152
readonly organization_id: string
153153
}
154154

155+
// From codersdk/groups.go
156+
export interface CreateGroupRequest {
157+
readonly name: string
158+
}
159+
155160
// From codersdk/users.go
156161
export interface CreateOrganizationRequest {
157162
readonly name: string
@@ -273,6 +278,14 @@ export interface GitSSHKey {
273278
readonly public_key: string
274279
}
275280

281+
// From codersdk/groups.go
282+
export interface Group {
283+
readonly id: string
284+
readonly name: string
285+
readonly organization_id: string
286+
readonly members: User[]
287+
}
288+
276289
// From codersdk/workspaceapps.go
277290
export interface Healthcheck {
278291
readonly url: string
@@ -356,6 +369,13 @@ export interface ParameterSchema {
356369
readonly validation_contains?: string[]
357370
}
358371

372+
// From codersdk/groups.go
373+
export interface PatchGroupRequest {
374+
readonly add_users: string[]
375+
readonly remove_users: string[]
376+
readonly name: string
377+
}
378+
359379
// From codersdk/provisionerdaemons.go
360380
export interface ProvisionerDaemon {
361381
readonly id: string

0 commit comments

Comments
 (0)