Skip to content

Commit

Permalink
change embedded fields in action logic (#690)
Browse files Browse the repository at this point in the history
  • Loading branch information
lolopinto authored Dec 30, 2021
1 parent 298b1b8 commit ec7354f
Show file tree
Hide file tree
Showing 25 changed files with 172 additions and 51 deletions.
14 changes: 7 additions & 7 deletions examples/ent-rsvp/backend/package-lock.json

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

2 changes: 1 addition & 1 deletion examples/ent-rsvp/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"@sentry/node": "^6.3.0",
"@sentry/tracing": "^6.3.0",
"@snowtop/ent": "^0.0.32-alpha.2",
"@snowtop/ent": "^0.0.32-alpha.10",
"@snowtop/ent-email": "0.0.1",
"@snowtop/ent-passport": "0.0.1",
"@snowtop/ent-password": "0.0.1",
Expand Down

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

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

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

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

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

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

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

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

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

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

1 change: 1 addition & 0 deletions examples/ent-rsvp/backend/src/schema/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export default class Event extends BaseEntSchema {
nullable: true,
type: "Object",
actionName: "CreateEventActivityAction",
excludedFields: ["eventID"],
},
],
},
Expand Down
1 change: 1 addition & 0 deletions examples/ent-rsvp/backend/src/schema/event_activity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export default class EventActivity extends BaseEntSchema {
type: "Object",
nullable: true,
actionName: "CreateAddressAction",
excludedFields: ["OwnerID"],
},
],
},
Expand Down
1 change: 1 addition & 0 deletions examples/ent-rsvp/backend/src/schema/guest_group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default class GuestGroup extends BaseEntSchema {
nullable: true,
type: "Object",
actionName: "CreateGuestAction",
excludedFields: ["eventID", "guestGroupID"],
},
],
},
Expand Down
14 changes: 7 additions & 7 deletions examples/simple/package-lock.json

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

2 changes: 1 addition & 1 deletion examples/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"tsconfig-paths": "^3.11.0"
},
"dependencies": {
"@snowtop/ent": "^0.0.32-alpha.9",
"@snowtop/ent": "^0.0.32-alpha.10",
"@snowtop/ent-email": "^0.0.1",
"@snowtop/ent-passport": "^0.0.1",
"@snowtop/ent-password": "^0.0.1",
Expand Down
2 changes: 2 additions & 0 deletions examples/simple/src/schema/contact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,15 @@ export default class Contact extends BaseEntSchema implements Schema {
nullable: true,
type: "Object",
actionName: "CreateContactEmailAction",
excludedFields: ["contactID"],
},
{
name: "phoneNumbers",
list: true,
nullable: true,
type: "Object",
actionName: "CreateContactPhoneNumberAction",
excludedFields: ["contactID"],
},
],
},
Expand Down
Loading

0 comments on commit ec7354f

Please sign in to comment.