Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf03a08a

Browse files
committed
make gen
1 parent0ae8805 commitf03a08a

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

‎codersdk/organizations.go

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,10 @@ func (c *Client) TemplatesByOrganization(ctx context.Context, organizationID uui
405405
}
406406

407407
typeTemplateFilterstruct {
408-
OrganizationID uuid.UUID
409-
ExactNamestring
410-
FuzzyNamestring
408+
OrganizationID uuid.UUID`typescript:"-"`
409+
ExactNamestring`typescript:"-"`
410+
FuzzyNamestring`typescript:"-"`
411+
SearchQuerystring`json:"q,omitempty"`
411412
}
412413

413414
// asRequestOption returns a function that can be used in (*Client).Request.
@@ -428,6 +429,9 @@ func (f TemplateFilter) asRequestOption() RequestOption {
428429
iff.FuzzyName!="" {
429430
params=append(params,fmt.Sprintf("name:%q",f.FuzzyName))
430431
}
432+
iff.SearchQuery!="" {
433+
params=append(params,f.SearchQuery)
434+
}
431435

432436
q:=r.URL.Query()
433437
q.Set("q",strings.Join(params," "))

‎site/src/api/typesGenerated.ts

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp