@dakkitor/api-contracts 1.1.75 → 1.1.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,7 +59,10 @@
59
59
  "tradeId",
60
60
  "jobQualifications",
61
61
  "jobQualifications[*].*"
62
- ]
62
+ ],
63
+ "conditions": {
64
+ "currentCollaboration.userId": "{{ id }}"
65
+ }
63
66
  },
64
67
  {
65
68
  "action": "create",
@@ -95,6 +95,7 @@
95
95
  "jobQualifications",
96
96
  "jobQualifications[*].*",
97
97
  "currentCollaboration",
98
+ "currentCollaboration.userId",
98
99
  "currentCollaboration.user.*",
99
100
  "numberOfPositions",
100
101
  "workHours",
@@ -156,6 +157,7 @@
156
157
  "job.jobQualifications",
157
158
  "job.jobQualifications[*].*",
158
159
  "job.currentCollaboration",
160
+ "job.currentCollaboration.userId",
159
161
  "job.currentCollaboration.user.*",
160
162
  "job.numberOfPositions",
161
163
  "job.workHours",
@@ -194,6 +196,7 @@
194
196
  "booking.id",
195
197
  "booking.userId",
196
198
  "booking.job.currentCollaboration",
199
+ "booking.job.currentCollaboration.userId",
197
200
  "booking.job.currentCollaboration.user.*",
198
201
  "booking.job.location.*",
199
202
  "booking.job.pay",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dakkitor/api-contracts",
3
- "version": "1.1.75",
3
+ "version": "1.1.77",
4
4
  "description": "TypeScript API contracts using ts-rest and Zod",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",