Skip to content

Commit

Permalink
Implement syncing child's locations to that of parent.
Browse files Browse the repository at this point in the history
  • Loading branch information
slid1amo2n3e4 authored and tankerkiller125 committed Oct 8, 2024
1 parent 7d462a4 commit 17e7e24
Show file tree
Hide file tree
Showing 16 changed files with 376 additions and 37 deletions.
6 changes: 6 additions & 0 deletions backend/app/api/static/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2242,6 +2242,9 @@ const docTemplate = `{
"soldTo": {
"type": "string"
},
"syncChildItemsLocations": {
"type": "boolean"
},
"updatedAt": {
"type": "string"
},
Expand Down Expand Up @@ -2440,6 +2443,9 @@ const docTemplate = `{
"type": "string",
"maxLength": 255
},
"syncChildItemsLocations": {
"type": "boolean"
},
"warrantyDetails": {
"type": "string"
},
Expand Down
6 changes: 6 additions & 0 deletions backend/app/api/static/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2235,6 +2235,9 @@
"soldTo": {
"type": "string"
},
"syncChildItemsLocations": {
"type": "boolean"
},
"updatedAt": {
"type": "string"
},
Expand Down Expand Up @@ -2433,6 +2436,9 @@
"type": "string",
"maxLength": 255
},
"syncChildItemsLocations": {
"type": "boolean"
},
"warrantyDetails": {
"type": "string"
},
Expand Down
4 changes: 4 additions & 0 deletions backend/app/api/static/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ definitions:
type: string
soldTo:
type: string
syncChildItemsLocations:
type: boolean
updatedAt:
type: string
warrantyDetails:
Expand Down Expand Up @@ -323,6 +325,8 @@ definitions:
soldTo:
maxLength: 255
type: string
syncChildItemsLocations:
type: boolean
warrantyDetails:
type: string
warrantyExpires:
Expand Down
13 changes: 12 additions & 1 deletion backend/internal/data/ent/item.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions backend/internal/data/ent/item/item.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions backend/internal/data/ent/item/where.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions backend/internal/data/ent/item_update.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions backend/internal/data/ent/migrate/schema.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 55 additions & 1 deletion backend/internal/data/ent/mutation.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 17e7e24

Please sign in to comment.