@geekmidas/client 0.0.1
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.
- package/README.md +518 -0
- package/dist/chunk-CUT6urMc.cjs +30 -0
- package/dist/fetcher-DLDD_7Sa.mjs +86 -0
- package/dist/fetcher-DLDD_7Sa.mjs.map +1 -0
- package/dist/fetcher-KdwHgdAl.cjs +98 -0
- package/dist/fetcher-KdwHgdAl.cjs.map +1 -0
- package/dist/fetcher.cjs +4 -0
- package/dist/fetcher.d.cts +18 -0
- package/dist/fetcher.d.mts +18 -0
- package/dist/fetcher.mjs +3 -0
- package/dist/openapi-hooks.cjs +44 -0
- package/dist/openapi-hooks.cjs.map +1 -0
- package/dist/openapi-hooks.d.cts +99 -0
- package/dist/openapi-hooks.d.mts +99 -0
- package/dist/openapi-hooks.mjs +43 -0
- package/dist/openapi-hooks.mjs.map +1 -0
- package/dist/openapi-types.d.cjs +0 -0
- package/dist/openapi-types.d.cts +443 -0
- package/dist/openapi-types.d.mts +443 -0
- package/dist/openapi.cjs +526 -0
- package/dist/openapi.cjs.map +1 -0
- package/dist/openapi.mjs +501 -0
- package/dist/openapi.mjs.map +1 -0
- package/dist/react-query.cjs +147 -0
- package/dist/react-query.cjs.map +1 -0
- package/dist/react-query.d.cts +77 -0
- package/dist/react-query.d.mts +77 -0
- package/dist/react-query.mjs +141 -0
- package/dist/react-query.mjs.map +1 -0
- package/dist/types-csACmD6U.d.cts +68 -0
- package/dist/types-tMp85Lt_.d.mts +68 -0
- package/dist/types.cjs +0 -0
- package/dist/types.d.cts +2 -0
- package/dist/types.d.mts +2 -0
- package/dist/types.mjs +0 -0
- package/package.json +59 -0
- package/src/__tests__/fetcher.spec.ts +409 -0
- package/src/__tests__/method-restrictions.spec.tsx +227 -0
- package/src/__tests__/openapi-hooks.spec.tsx +558 -0
- package/src/__tests__/react-query-infinite.spec.tsx +1003 -0
- package/src/__tests__/react-query-invalidation.spec.tsx +238 -0
- package/src/__tests__/react-query.spec.tsx +582 -0
- package/src/__tests__/setup.ts +281 -0
- package/src/__tests__/types.spec.ts +134 -0
- package/src/__tests__/url-parsing.spec.ts +196 -0
- package/src/fetcher.ts +173 -0
- package/src/openapi-hooks.ts +193 -0
- package/src/openapi-types.d.ts +440 -0
- package/src/openapi.json +595 -0
- package/src/react-query.ts +341 -0
- package/src/types.ts +149 -0
package/dist/openapi.mjs
ADDED
|
@@ -0,0 +1,501 @@
|
|
|
1
|
+
//#region src/openapi.json
|
|
2
|
+
var openapi = "3.0.0";
|
|
3
|
+
var info = {
|
|
4
|
+
"title": "API Documentation",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"description": "Auto-generated API documentation from endpoints"
|
|
7
|
+
};
|
|
8
|
+
var paths = { "/explore/jobs": { "get": {
|
|
9
|
+
"operationId": "exploreJobs",
|
|
10
|
+
"responses": { "200": {
|
|
11
|
+
"description": "Successful response",
|
|
12
|
+
"content": { "application/json": { "schema": {
|
|
13
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"role": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 1,
|
|
24
|
+
"maxLength": 255
|
|
25
|
+
},
|
|
26
|
+
"type": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"Server",
|
|
30
|
+
"Waiter",
|
|
31
|
+
"Host",
|
|
32
|
+
"Bartender",
|
|
33
|
+
"KitchenPorter",
|
|
34
|
+
"Steward",
|
|
35
|
+
"BusPerson",
|
|
36
|
+
"Dishwasher"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"overview": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"minLength": 1
|
|
42
|
+
},
|
|
43
|
+
"qualifications": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"minLength": 1
|
|
46
|
+
},
|
|
47
|
+
"hourlyRate": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"properties": {
|
|
50
|
+
"max": { "type": "number" },
|
|
51
|
+
"min": { "type": "number" }
|
|
52
|
+
},
|
|
53
|
+
"required": ["max", "min"],
|
|
54
|
+
"additionalProperties": false
|
|
55
|
+
},
|
|
56
|
+
"dateNeeded": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"properties": {
|
|
59
|
+
"from": { "type": "string" },
|
|
60
|
+
"to": { "type": "string" }
|
|
61
|
+
},
|
|
62
|
+
"required": ["from", "to"],
|
|
63
|
+
"additionalProperties": false
|
|
64
|
+
},
|
|
65
|
+
"shiftHours": {
|
|
66
|
+
"type": "object",
|
|
67
|
+
"properties": {
|
|
68
|
+
"from": { "type": "string" },
|
|
69
|
+
"to": { "type": "string" }
|
|
70
|
+
},
|
|
71
|
+
"required": ["from", "to"],
|
|
72
|
+
"additionalProperties": false
|
|
73
|
+
},
|
|
74
|
+
"id": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"format": "uuid",
|
|
77
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
|
|
78
|
+
},
|
|
79
|
+
"createdAt": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"format": "date-time",
|
|
82
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
83
|
+
},
|
|
84
|
+
"updatedAt": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"format": "date-time",
|
|
87
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
88
|
+
},
|
|
89
|
+
"status": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"enum": [
|
|
92
|
+
"Draft",
|
|
93
|
+
"Active",
|
|
94
|
+
"Closed",
|
|
95
|
+
"Filled"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"business": {
|
|
99
|
+
"type": "object",
|
|
100
|
+
"properties": {
|
|
101
|
+
"name": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"minLength": 1
|
|
104
|
+
},
|
|
105
|
+
"description": { "type": "string" },
|
|
106
|
+
"tags": {
|
|
107
|
+
"type": "array",
|
|
108
|
+
"items": { "type": "string" }
|
|
109
|
+
},
|
|
110
|
+
"id": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"format": "uuid",
|
|
113
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
|
|
114
|
+
},
|
|
115
|
+
"createdAt": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"format": "date-time",
|
|
118
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
119
|
+
},
|
|
120
|
+
"updatedAt": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"format": "date-time",
|
|
123
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
124
|
+
},
|
|
125
|
+
"rating": {
|
|
126
|
+
"type": "number",
|
|
127
|
+
"minimum": 0,
|
|
128
|
+
"maximum": 5
|
|
129
|
+
},
|
|
130
|
+
"status": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"enum": [
|
|
133
|
+
"Active",
|
|
134
|
+
"Inactive",
|
|
135
|
+
"PendingVerification",
|
|
136
|
+
"Suspended"
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
"ratingCount": {
|
|
140
|
+
"type": "integer",
|
|
141
|
+
"minimum": 0,
|
|
142
|
+
"maximum": 9007199254740991
|
|
143
|
+
},
|
|
144
|
+
"address": {
|
|
145
|
+
"type": "object",
|
|
146
|
+
"properties": {
|
|
147
|
+
"id": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"format": "uuid",
|
|
150
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
|
|
151
|
+
},
|
|
152
|
+
"createdAt": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"format": "date-time",
|
|
155
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
156
|
+
},
|
|
157
|
+
"updatedAt": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"format": "date-time",
|
|
160
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
161
|
+
},
|
|
162
|
+
"placeId": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
|
|
163
|
+
"text": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"minLength": 1
|
|
166
|
+
},
|
|
167
|
+
"city": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"minLength": 1
|
|
170
|
+
},
|
|
171
|
+
"state": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"minLength": 1
|
|
174
|
+
},
|
|
175
|
+
"postalCode": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"minLength": 1
|
|
178
|
+
},
|
|
179
|
+
"country": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"minLength": 1
|
|
182
|
+
},
|
|
183
|
+
"lat": { "type": "number" },
|
|
184
|
+
"lng": { "type": "number" }
|
|
185
|
+
},
|
|
186
|
+
"required": [
|
|
187
|
+
"id",
|
|
188
|
+
"createdAt",
|
|
189
|
+
"updatedAt",
|
|
190
|
+
"text",
|
|
191
|
+
"city",
|
|
192
|
+
"state",
|
|
193
|
+
"postalCode",
|
|
194
|
+
"country",
|
|
195
|
+
"lat",
|
|
196
|
+
"lng"
|
|
197
|
+
],
|
|
198
|
+
"additionalProperties": false
|
|
199
|
+
},
|
|
200
|
+
"image": {
|
|
201
|
+
"type": "object",
|
|
202
|
+
"properties": {
|
|
203
|
+
"id": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"format": "uuid",
|
|
206
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
|
|
207
|
+
},
|
|
208
|
+
"createdAt": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"format": "date-time",
|
|
211
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
212
|
+
},
|
|
213
|
+
"updatedAt": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"format": "date-time",
|
|
216
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
217
|
+
},
|
|
218
|
+
"mimeType": {
|
|
219
|
+
"type": "string",
|
|
220
|
+
"enum": [
|
|
221
|
+
"image/jpeg",
|
|
222
|
+
"image/png",
|
|
223
|
+
"application/pdf",
|
|
224
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
"name": { "type": "string" },
|
|
228
|
+
"url": {
|
|
229
|
+
"type": "string",
|
|
230
|
+
"format": "uri"
|
|
231
|
+
},
|
|
232
|
+
"contentLength": { "type": "number" },
|
|
233
|
+
"status": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"enum": [
|
|
236
|
+
"Pending",
|
|
237
|
+
"Uploaded",
|
|
238
|
+
"Failed",
|
|
239
|
+
"Deleted"
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"required": [
|
|
244
|
+
"id",
|
|
245
|
+
"createdAt",
|
|
246
|
+
"updatedAt",
|
|
247
|
+
"mimeType",
|
|
248
|
+
"name",
|
|
249
|
+
"url",
|
|
250
|
+
"contentLength",
|
|
251
|
+
"status"
|
|
252
|
+
],
|
|
253
|
+
"additionalProperties": false
|
|
254
|
+
},
|
|
255
|
+
"licenses": {
|
|
256
|
+
"type": "array",
|
|
257
|
+
"items": {
|
|
258
|
+
"type": "object",
|
|
259
|
+
"properties": {
|
|
260
|
+
"id": {
|
|
261
|
+
"type": "string",
|
|
262
|
+
"format": "uuid",
|
|
263
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
|
|
264
|
+
},
|
|
265
|
+
"createdAt": {
|
|
266
|
+
"type": "string",
|
|
267
|
+
"format": "date-time",
|
|
268
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
269
|
+
},
|
|
270
|
+
"updatedAt": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"format": "date-time",
|
|
273
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
274
|
+
},
|
|
275
|
+
"mimeType": {
|
|
276
|
+
"type": "string",
|
|
277
|
+
"enum": [
|
|
278
|
+
"image/jpeg",
|
|
279
|
+
"image/png",
|
|
280
|
+
"application/pdf",
|
|
281
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
"name": { "type": "string" },
|
|
285
|
+
"url": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"format": "uri"
|
|
288
|
+
},
|
|
289
|
+
"contentLength": { "type": "number" },
|
|
290
|
+
"status": {
|
|
291
|
+
"type": "string",
|
|
292
|
+
"enum": [
|
|
293
|
+
"Pending",
|
|
294
|
+
"Uploaded",
|
|
295
|
+
"Failed",
|
|
296
|
+
"Deleted"
|
|
297
|
+
]
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"required": [
|
|
301
|
+
"id",
|
|
302
|
+
"createdAt",
|
|
303
|
+
"updatedAt",
|
|
304
|
+
"mimeType",
|
|
305
|
+
"name",
|
|
306
|
+
"url",
|
|
307
|
+
"contentLength",
|
|
308
|
+
"status"
|
|
309
|
+
],
|
|
310
|
+
"additionalProperties": false
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"required": [
|
|
315
|
+
"name",
|
|
316
|
+
"description",
|
|
317
|
+
"tags",
|
|
318
|
+
"id",
|
|
319
|
+
"createdAt",
|
|
320
|
+
"updatedAt",
|
|
321
|
+
"rating",
|
|
322
|
+
"status",
|
|
323
|
+
"ratingCount",
|
|
324
|
+
"address",
|
|
325
|
+
"image",
|
|
326
|
+
"licenses"
|
|
327
|
+
],
|
|
328
|
+
"additionalProperties": false
|
|
329
|
+
},
|
|
330
|
+
"appliedAt": { "anyOf": [{
|
|
331
|
+
"type": "string",
|
|
332
|
+
"format": "date-time",
|
|
333
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
334
|
+
}, { "type": "null" }] },
|
|
335
|
+
"closedAt": { "anyOf": [{
|
|
336
|
+
"type": "string",
|
|
337
|
+
"format": "date-time",
|
|
338
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
339
|
+
}, { "type": "null" }] },
|
|
340
|
+
"closeReason": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
|
|
341
|
+
"distanceKm": { "type": "number" },
|
|
342
|
+
"roleMatch": { "type": "boolean" },
|
|
343
|
+
"hourlyRateMatch": { "type": "boolean" },
|
|
344
|
+
"hasApplied": {
|
|
345
|
+
"default": false,
|
|
346
|
+
"type": "boolean"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"required": [
|
|
350
|
+
"role",
|
|
351
|
+
"type",
|
|
352
|
+
"overview",
|
|
353
|
+
"qualifications",
|
|
354
|
+
"hourlyRate",
|
|
355
|
+
"dateNeeded",
|
|
356
|
+
"shiftHours",
|
|
357
|
+
"id",
|
|
358
|
+
"createdAt",
|
|
359
|
+
"updatedAt",
|
|
360
|
+
"status",
|
|
361
|
+
"business",
|
|
362
|
+
"distanceKm",
|
|
363
|
+
"roleMatch",
|
|
364
|
+
"hourlyRateMatch",
|
|
365
|
+
"hasApplied"
|
|
366
|
+
],
|
|
367
|
+
"additionalProperties": false
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
"pagination": {
|
|
371
|
+
"type": "object",
|
|
372
|
+
"properties": {
|
|
373
|
+
"total": { "type": "number" },
|
|
374
|
+
"cursor": { "type": "string" },
|
|
375
|
+
"hasMore": { "type": "boolean" }
|
|
376
|
+
},
|
|
377
|
+
"required": ["total", "hasMore"],
|
|
378
|
+
"additionalProperties": false
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"required": ["items", "pagination"],
|
|
382
|
+
"additionalProperties": false
|
|
383
|
+
} } }
|
|
384
|
+
} },
|
|
385
|
+
"parameters": [{
|
|
386
|
+
"name": "filter",
|
|
387
|
+
"in": "query",
|
|
388
|
+
"required": false,
|
|
389
|
+
"schema": {
|
|
390
|
+
"type": "object",
|
|
391
|
+
"properties": {
|
|
392
|
+
"radius": {
|
|
393
|
+
"type": "integer",
|
|
394
|
+
"minimum": 0,
|
|
395
|
+
"maximum": 9007199254740991
|
|
396
|
+
},
|
|
397
|
+
"types": {
|
|
398
|
+
"type": "array",
|
|
399
|
+
"items": {
|
|
400
|
+
"type": "string",
|
|
401
|
+
"enum": [
|
|
402
|
+
"Server",
|
|
403
|
+
"Waiter",
|
|
404
|
+
"Host",
|
|
405
|
+
"Bartender",
|
|
406
|
+
"KitchenPorter",
|
|
407
|
+
"Steward",
|
|
408
|
+
"BusPerson",
|
|
409
|
+
"Dishwasher"
|
|
410
|
+
]
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"hourlyRate": {
|
|
414
|
+
"type": "object",
|
|
415
|
+
"properties": {
|
|
416
|
+
"max": { "type": "number" },
|
|
417
|
+
"min": { "type": "number" }
|
|
418
|
+
},
|
|
419
|
+
"additionalProperties": false
|
|
420
|
+
},
|
|
421
|
+
"dateNeeded": {
|
|
422
|
+
"type": "object",
|
|
423
|
+
"properties": {
|
|
424
|
+
"from": { "type": "string" },
|
|
425
|
+
"to": { "type": "string" }
|
|
426
|
+
},
|
|
427
|
+
"additionalProperties": false
|
|
428
|
+
},
|
|
429
|
+
"shiftHours": {
|
|
430
|
+
"type": "object",
|
|
431
|
+
"properties": {
|
|
432
|
+
"from": { "type": "string" },
|
|
433
|
+
"to": { "type": "string" }
|
|
434
|
+
},
|
|
435
|
+
"additionalProperties": false
|
|
436
|
+
},
|
|
437
|
+
"box": {
|
|
438
|
+
"type": "object",
|
|
439
|
+
"properties": {
|
|
440
|
+
"topLeft": {
|
|
441
|
+
"type": "object",
|
|
442
|
+
"properties": {
|
|
443
|
+
"lat": { "type": "number" },
|
|
444
|
+
"lng": { "type": "number" }
|
|
445
|
+
},
|
|
446
|
+
"required": ["lat", "lng"],
|
|
447
|
+
"additionalProperties": false
|
|
448
|
+
},
|
|
449
|
+
"bottomRight": {
|
|
450
|
+
"type": "object",
|
|
451
|
+
"properties": {
|
|
452
|
+
"lat": { "type": "number" },
|
|
453
|
+
"lng": { "type": "number" }
|
|
454
|
+
},
|
|
455
|
+
"required": ["lat", "lng"],
|
|
456
|
+
"additionalProperties": false
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"required": ["topLeft", "bottomRight"],
|
|
460
|
+
"additionalProperties": false
|
|
461
|
+
},
|
|
462
|
+
"name": {
|
|
463
|
+
"type": "string",
|
|
464
|
+
"minLength": 1
|
|
465
|
+
},
|
|
466
|
+
"city": {
|
|
467
|
+
"type": "string",
|
|
468
|
+
"minLength": 1
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"additionalProperties": false
|
|
472
|
+
}
|
|
473
|
+
}, {
|
|
474
|
+
"name": "pagination",
|
|
475
|
+
"in": "query",
|
|
476
|
+
"required": false,
|
|
477
|
+
"schema": {
|
|
478
|
+
"type": "object",
|
|
479
|
+
"properties": {
|
|
480
|
+
"cursor": { "type": "string" },
|
|
481
|
+
"limit": {
|
|
482
|
+
"default": 20,
|
|
483
|
+
"type": "integer",
|
|
484
|
+
"exclusiveMinimum": 0,
|
|
485
|
+
"maximum": 100
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
"required": ["limit"],
|
|
489
|
+
"additionalProperties": false
|
|
490
|
+
}
|
|
491
|
+
}]
|
|
492
|
+
} } };
|
|
493
|
+
var openapi_default = {
|
|
494
|
+
openapi,
|
|
495
|
+
info,
|
|
496
|
+
paths
|
|
497
|
+
};
|
|
498
|
+
|
|
499
|
+
//#endregion
|
|
500
|
+
export { openapi_default as default, info, openapi, paths };
|
|
501
|
+
//# sourceMappingURL=openapi.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openapi.mjs","names":[],"sources":["../src/openapi.json"],"sourcesContent":["{\n \"openapi\": \"3.0.0\",\n \"info\": {\n \"title\": \"API Documentation\",\n \"version\": \"1.0.0\",\n \"description\": \"Auto-generated API documentation from endpoints\"\n },\n \"paths\": {\n \"/explore/jobs\": {\n \"get\": {\n \"operationId\": \"exploreJobs\",\n \"responses\": {\n \"200\": {\n \"description\": \"Successful response\",\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"type\": \"object\",\n \"properties\": {\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"role\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"maxLength\": 255\n },\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"Server\",\n \"Waiter\",\n \"Host\",\n \"Bartender\",\n \"KitchenPorter\",\n \"Steward\",\n \"BusPerson\",\n \"Dishwasher\"\n ]\n },\n \"overview\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"qualifications\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"hourlyRate\": {\n \"type\": \"object\",\n \"properties\": {\n \"max\": {\n \"type\": \"number\"\n },\n \"min\": {\n \"type\": \"number\"\n }\n },\n \"required\": [\"max\", \"min\"],\n \"additionalProperties\": false\n },\n \"dateNeeded\": {\n \"type\": \"object\",\n \"properties\": {\n \"from\": {\n \"type\": \"string\"\n },\n \"to\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\"from\", \"to\"],\n \"additionalProperties\": false\n },\n \"shiftHours\": {\n \"type\": \"object\",\n \"properties\": {\n \"from\": {\n \"type\": \"string\"\n },\n \"to\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\"from\", \"to\"],\n \"additionalProperties\": false\n },\n \"id\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"pattern\": \"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^(?:(?:\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\d|2[0-8])))T(?:(?:[01]\\\\d|2[0-3]):[0-5]\\\\d(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?(?:Z))$\"\n },\n \"updatedAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^(?:(?:\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\d|2[0-8])))T(?:(?:[01]\\\\d|2[0-3]):[0-5]\\\\d(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?(?:Z))$\"\n },\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\"Draft\", \"Active\", \"Closed\", \"Filled\"]\n },\n \"business\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"tags\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"id\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"pattern\": \"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^(?:(?:\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\d|2[0-8])))T(?:(?:[01]\\\\d|2[0-3]):[0-5]\\\\d(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?(?:Z))$\"\n },\n \"updatedAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^(?:(?:\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\d|2[0-8])))T(?:(?:[01]\\\\d|2[0-3]):[0-5]\\\\d(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?(?:Z))$\"\n },\n \"rating\": {\n \"type\": \"number\",\n \"minimum\": 0,\n \"maximum\": 5\n },\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"Active\",\n \"Inactive\",\n \"PendingVerification\",\n \"Suspended\"\n ]\n },\n \"ratingCount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"maximum\": 9007199254740991\n },\n \"address\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"pattern\": \"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^(?:(?:\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\d|2[0-8])))T(?:(?:[01]\\\\d|2[0-3]):[0-5]\\\\d(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?(?:Z))$\"\n },\n \"updatedAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^(?:(?:\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\d|2[0-8])))T(?:(?:[01]\\\\d|2[0-3]):[0-5]\\\\d(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?(?:Z))$\"\n },\n \"placeId\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"text\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"city\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"state\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"postalCode\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"country\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"lat\": {\n \"type\": \"number\"\n },\n \"lng\": {\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"id\",\n \"createdAt\",\n \"updatedAt\",\n \"text\",\n \"city\",\n \"state\",\n \"postalCode\",\n \"country\",\n \"lat\",\n \"lng\"\n ],\n \"additionalProperties\": false\n },\n \"image\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"pattern\": \"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^(?:(?:\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\d|2[0-8])))T(?:(?:[01]\\\\d|2[0-3]):[0-5]\\\\d(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?(?:Z))$\"\n },\n \"updatedAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^(?:(?:\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\d|2[0-8])))T(?:(?:[01]\\\\d|2[0-3]):[0-5]\\\\d(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?(?:Z))$\"\n },\n \"mimeType\": {\n \"type\": \"string\",\n \"enum\": [\n \"image/jpeg\",\n \"image/png\",\n \"application/pdf\",\n \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\"\n ]\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"contentLength\": {\n \"type\": \"number\"\n },\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"Pending\",\n \"Uploaded\",\n \"Failed\",\n \"Deleted\"\n ]\n }\n },\n \"required\": [\n \"id\",\n \"createdAt\",\n \"updatedAt\",\n \"mimeType\",\n \"name\",\n \"url\",\n \"contentLength\",\n \"status\"\n ],\n \"additionalProperties\": false\n },\n \"licenses\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"pattern\": \"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^(?:(?:\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\d|2[0-8])))T(?:(?:[01]\\\\d|2[0-3]):[0-5]\\\\d(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?(?:Z))$\"\n },\n \"updatedAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^(?:(?:\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\d|2[0-8])))T(?:(?:[01]\\\\d|2[0-3]):[0-5]\\\\d(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?(?:Z))$\"\n },\n \"mimeType\": {\n \"type\": \"string\",\n \"enum\": [\n \"image/jpeg\",\n \"image/png\",\n \"application/pdf\",\n \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\"\n ]\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"contentLength\": {\n \"type\": \"number\"\n },\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"Pending\",\n \"Uploaded\",\n \"Failed\",\n \"Deleted\"\n ]\n }\n },\n \"required\": [\n \"id\",\n \"createdAt\",\n \"updatedAt\",\n \"mimeType\",\n \"name\",\n \"url\",\n \"contentLength\",\n \"status\"\n ],\n \"additionalProperties\": false\n }\n }\n },\n \"required\": [\n \"name\",\n \"description\",\n \"tags\",\n \"id\",\n \"createdAt\",\n \"updatedAt\",\n \"rating\",\n \"status\",\n \"ratingCount\",\n \"address\",\n \"image\",\n \"licenses\"\n ],\n \"additionalProperties\": false\n },\n \"appliedAt\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^(?:(?:\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\d|2[0-8])))T(?:(?:[01]\\\\d|2[0-3]):[0-5]\\\\d(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?(?:Z))$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"closedAt\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^(?:(?:\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\d|2[0-8])))T(?:(?:[01]\\\\d|2[0-3]):[0-5]\\\\d(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?(?:Z))$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"closeReason\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"distanceKm\": {\n \"type\": \"number\"\n },\n \"roleMatch\": {\n \"type\": \"boolean\"\n },\n \"hourlyRateMatch\": {\n \"type\": \"boolean\"\n },\n \"hasApplied\": {\n \"default\": false,\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"role\",\n \"type\",\n \"overview\",\n \"qualifications\",\n \"hourlyRate\",\n \"dateNeeded\",\n \"shiftHours\",\n \"id\",\n \"createdAt\",\n \"updatedAt\",\n \"status\",\n \"business\",\n \"distanceKm\",\n \"roleMatch\",\n \"hourlyRateMatch\",\n \"hasApplied\"\n ],\n \"additionalProperties\": false\n }\n },\n \"pagination\": {\n \"type\": \"object\",\n \"properties\": {\n \"total\": {\n \"type\": \"number\"\n },\n \"cursor\": {\n \"type\": \"string\"\n },\n \"hasMore\": {\n \"type\": \"boolean\"\n }\n },\n \"required\": [\"total\", \"hasMore\"],\n \"additionalProperties\": false\n }\n },\n \"required\": [\"items\", \"pagination\"],\n \"additionalProperties\": false\n }\n }\n }\n }\n },\n \"parameters\": [\n {\n \"name\": \"filter\",\n \"in\": \"query\",\n \"required\": false,\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"radius\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"maximum\": 9007199254740991\n },\n \"types\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\n \"Server\",\n \"Waiter\",\n \"Host\",\n \"Bartender\",\n \"KitchenPorter\",\n \"Steward\",\n \"BusPerson\",\n \"Dishwasher\"\n ]\n }\n },\n \"hourlyRate\": {\n \"type\": \"object\",\n \"properties\": {\n \"max\": {\n \"type\": \"number\"\n },\n \"min\": {\n \"type\": \"number\"\n }\n },\n \"additionalProperties\": false\n },\n \"dateNeeded\": {\n \"type\": \"object\",\n \"properties\": {\n \"from\": {\n \"type\": \"string\"\n },\n \"to\": {\n \"type\": \"string\"\n }\n },\n \"additionalProperties\": false\n },\n \"shiftHours\": {\n \"type\": \"object\",\n \"properties\": {\n \"from\": {\n \"type\": \"string\"\n },\n \"to\": {\n \"type\": \"string\"\n }\n },\n \"additionalProperties\": false\n },\n \"box\": {\n \"type\": \"object\",\n \"properties\": {\n \"topLeft\": {\n \"type\": \"object\",\n \"properties\": {\n \"lat\": {\n \"type\": \"number\"\n },\n \"lng\": {\n \"type\": \"number\"\n }\n },\n \"required\": [\"lat\", \"lng\"],\n \"additionalProperties\": false\n },\n \"bottomRight\": {\n \"type\": \"object\",\n \"properties\": {\n \"lat\": {\n \"type\": \"number\"\n },\n \"lng\": {\n \"type\": \"number\"\n }\n },\n \"required\": [\"lat\", \"lng\"],\n \"additionalProperties\": false\n }\n },\n \"required\": [\"topLeft\", \"bottomRight\"],\n \"additionalProperties\": false\n },\n \"name\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"city\": {\n \"type\": \"string\",\n \"minLength\": 1\n }\n },\n \"additionalProperties\": false\n }\n },\n {\n \"name\": \"pagination\",\n \"in\": \"query\",\n \"required\": false,\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"cursor\": {\n \"type\": \"string\"\n },\n \"limit\": {\n \"default\": 20,\n \"type\": \"integer\",\n \"exclusiveMinimum\": 0,\n \"maximum\": 100\n }\n },\n \"required\": [\"limit\"],\n \"additionalProperties\": false\n }\n }\n ]\n }\n }\n }\n}\n"],"mappings":";cACa;WACH;CACN,SAAS;CACT,WAAW;CACX,eAAe;AAChB;YACQ,EACP,iBAAiB,EACf,OAAO;CACL,eAAe;CACf,aAAa,EACX,OAAO;EACL,eAAe;EACf,WAAW,EACT,oBAAoB,EAClB,UAAU;GACR,WAAW;GACX,QAAQ;GACR,cAAc;IACZ,SAAS;KACP,QAAQ;KACR,SAAS;MACP,QAAQ;MACR,cAAc;OACZ,QAAQ;QACN,QAAQ;QACR,aAAa;QACb,aAAa;OACd;OACD,QAAQ;QACN,QAAQ;QACR,QAAQ;SACN;SACA;SACA;SACA;SACA;SACA;SACA;SACA;QACD;OACF;OACD,YAAY;QACV,QA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ACD,aAAa;aACX,QAAQ;aACR,UAAU;aACV,WAAW;YACZ;YACD,YAAY;aACV,QAAQ;aACR,QAAQ;cACN;cACA;cACA;cACA;aACD;YACF;YACD,QAAQ,EACN,QAAQ,SACT;YACD,OAAO;aACL,QAAQ;aACR,UAAU;YACX;YACD,iBAAiB,EACf,QAAQ,SACT;YACD,UAAU;aACR,QAAQ;aACR,QAAQ;cACN;cACA;cACA;cACA;aACD;YACF;WACF;WACD,YAAY;YACV;YACA;YACA;YACA;YACA;YACA;YACA;YACA;WACD;WACD,wBAAwB;UACzB;SACF;QACF;QACD,YAAY;SACV;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;QACD;QACD,wBAAwB;OACzB;OACD,aAAa,EACX,SAAS,CACP;QACE,QAAQ;QACR,UAAU;QACV,WAAW;OACZ,GACD,EACE,QAAQ,OACT,CACF,EACF;OACD,YAAY,EACV,SAAS,CACP;QACE,QAAQ;QACR,UAAU;QACV,WAAW;OACZ,GACD,EACE,QAAQ,OACT,CACF,EACF;OACD,eAAe,EACb,SAAS,CACP,EACE,QAAQ,SACT,GACD,EACE,QAAQ,OACT,CACF,EACF;OACD,cAAc,EACZ,QAAQ,SACT;OACD,aAAa,EACX,QAAQ,UACT;OACD,mBAAmB,EACjB,QAAQ,UACT;OACD,cAAc;QACZ,WAAW;QACX,QAAQ;OACT;MACF;MACD,YAAY;OACV;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;OACA;MACD;MACD,wBAAwB;KACzB;IACF;IACD,cAAc;KACZ,QAAQ;KACR,cAAc;MACZ,SAAS,EACP,QAAQ,SACT;MACD,UAAU,EACR,QAAQ,SACT;MACD,WAAW,EACT,QAAQ,UACT;KACF;KACD,YAAY,CAAC,SAAS,SAAU;KAChC,wBAAwB;IACzB;GACF;GACD,YAAY,CAAC,SAAS,YAAa;GACnC,wBAAwB;EACzB,EACF,EACF;CACF,EACF;CACD,cAAc,C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