Skip to content

Commit

Permalink
dev: Add UserBookmarkRegistry list method to field_mask validation
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaspcr committed Mar 5, 2024
1 parent 5aaf84b commit 1200057
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/ttnpb/field_mask_validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -1655,6 +1655,12 @@ var RPCFieldMaskPaths = map[string]RPCFieldMaskPathValue{
Set: true,
},

// User Bookmarks:
"/ttn.lorawan.v3.UserBookmarkRegistry/List": {
All: UserBookmarkFieldPathsNested,
Allowed: UserBookmarkFieldPathsNested,
},

// Storage Integration:
"/ttn.lorawan.v3.ApplicationUpStorage/GetStoredApplicationUp": {
All: ApplicationUpFieldPathsNested,
Expand Down
27 changes: 27 additions & 0 deletions sdk/js/generated/api-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -7098,6 +7098,33 @@
"user_ids.user_id"
]
}
],
"allowedFieldMaskPaths": [
"created_at",
"entity_ids",
"entity_ids.ids",
"entity_ids.ids.application_ids",
"entity_ids.ids.application_ids.application_id",
"entity_ids.ids.client_ids",
"entity_ids.ids.client_ids.client_id",
"entity_ids.ids.device_ids",
"entity_ids.ids.device_ids.application_ids",
"entity_ids.ids.device_ids.application_ids.application_id",
"entity_ids.ids.device_ids.dev_addr",
"entity_ids.ids.device_ids.dev_eui",
"entity_ids.ids.device_ids.device_id",
"entity_ids.ids.device_ids.join_eui",
"entity_ids.ids.gateway_ids",
"entity_ids.ids.gateway_ids.eui",
"entity_ids.ids.gateway_ids.gateway_id",
"entity_ids.ids.organization_ids",
"entity_ids.ids.organization_ids.organization_id",
"entity_ids.ids.user_ids",
"entity_ids.ids.user_ids.email",
"entity_ids.ids.user_ids.user_id",
"user_ids",
"user_ids.email",
"user_ids.user_id"
]
},
"Delete": {
Expand Down

0 comments on commit 1200057

Please sign in to comment.