Skip to content

Commit fd317d7

Browse files
committed
WIP: rendering, dispatching
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent 73407ca commit fd317d7

File tree

16 files changed

+352
-232
lines changed

16 files changed

+352
-232
lines changed

coderd/database/dbauthz/dbauthz.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ func (q *querier) AcquireLock(ctx context.Context, id int64) error {
770770
return q.db.AcquireLock(ctx, id)
771771
}
772772

773-
func (q *querier) AcquireNotificationMessages(ctx context.Context, arg database.AcquireNotificationMessagesParams) ([]database.NotificationMessage, error) {
773+
func (q *querier) AcquireNotificationMessages(ctx context.Context, arg database.AcquireNotificationMessagesParams) ([]database.AcquireNotificationMessagesRow, error) {
774774
panic("not implemented")
775775
}
776776

@@ -818,7 +818,7 @@ func (q *querier) BatchUpdateWorkspaceLastUsedAt(ctx context.Context, arg databa
818818
return q.db.BatchUpdateWorkspaceLastUsedAt(ctx, arg)
819819
}
820820

821-
func (q *querier) BulkMarkNotificationMessageFailed(ctx context.Context, arg database.BulkMarkNotificationMessageFailedParams) (int64, error) {
821+
func (q *querier) BulkMarkNotificationMessagesFailed(ctx context.Context, arg database.BulkMarkNotificationMessagesFailedParams) (int64, error) {
822822
panic("not implemented")
823823
}
824824

coderd/database/dbmem/dbmem.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ func (*FakeQuerier) AcquireLock(_ context.Context, _ int64) error {
904904
return xerrors.New("AcquireLock must only be called within a transaction")
905905
}
906906

907-
func (q *FakeQuerier) AcquireNotificationMessages(ctx context.Context, arg database.AcquireNotificationMessagesParams) ([]database.NotificationMessage, error) {
907+
func (q *FakeQuerier) AcquireNotificationMessages(ctx context.Context, arg database.AcquireNotificationMessagesParams) ([]database.AcquireNotificationMessagesRow, error) {
908908
err := validateDatabaseType(arg)
909909
if err != nil {
910910
return nil, err
@@ -1175,7 +1175,7 @@ func (q *FakeQuerier) BatchUpdateWorkspaceLastUsedAt(_ context.Context, arg data
11751175
return nil
11761176
}
11771177

1178-
func (q *FakeQuerier) BulkMarkNotificationMessageFailed(ctx context.Context, arg database.BulkMarkNotificationMessageFailedParams) (int64, error) {
1178+
func (q *FakeQuerier) BulkMarkNotificationMessagesFailed(ctx context.Context, arg database.BulkMarkNotificationMessagesFailedParams) (int64, error) {
11791179
err := validateDatabaseType(arg)
11801180
if err != nil {
11811181
return 0, err

coderd/database/dbmetrics/dbmetrics.go

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

coderd/database/models.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/querier.go

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

coderd/database/queries.sql.go

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

0 commit comments

Comments
 (0)