Skip to content

Commit a171aa7

Browse files
committed
ui: search on multiple fields
1 parent 5a54676 commit a171aa7

File tree

13 files changed

+267
-127
lines changed

13 files changed

+267
-127
lines changed

internal/api/design/design.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ var _ = Service("collection", func() {
2626
Method("list", func() {
2727
Description("List all stored collections")
2828
Payload(func() {
29-
Attribute("original_id", String, "ID of the original dataset")
29+
Attribute("original_id", String)
30+
Attribute("transfer_id", String)
31+
Attribute("aip_id", String)
32+
Attribute("pipeline_id", String)
33+
Attribute("query", String, "Match all fields")
3034
Attribute("cursor", String, "Pagination cursor")
3135
})
3236
Result(PaginatedCollectionOf(StoredCollection))
@@ -35,6 +39,10 @@ var _ = Service("collection", func() {
3539
Response(StatusOK)
3640
Params(func() {
3741
Param("original_id")
42+
Param("transfer_id")
43+
Param("aip_id")
44+
Param("pipeline_id")
45+
Param("query")
3846
Param("cursor")
3947
})
4048
})

internal/api/gen/collection/service.go

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

internal/api/gen/http/cli/enduro/cli.go

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

internal/api/gen/http/collection/client/cli.go

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

internal/api/gen/http/collection/client/encode_decode.go

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

internal/api/gen/http/collection/server/encode_decode.go

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

internal/api/gen/http/collection/server/types.go

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

internal/api/gen/http/openapi.json

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

0 commit comments

Comments
 (0)