@snokam/mcp-api 0.96.0 → 0.96.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/package.json +1 -1
- package/specs/production/events.json +159 -1
- package/specs/test/events.json +159 -1
package/package.json
CHANGED
|
@@ -573,7 +573,7 @@
|
|
|
573
573
|
"content": {
|
|
574
574
|
"application/json": {
|
|
575
575
|
"schema": {
|
|
576
|
-
"$ref": "#/components/schemas/
|
|
576
|
+
"$ref": "#/components/schemas/sanityEvent"
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
},
|
|
@@ -2223,6 +2223,150 @@
|
|
|
2223
2223
|
}
|
|
2224
2224
|
}
|
|
2225
2225
|
},
|
|
2226
|
+
"sanityEvent": {
|
|
2227
|
+
"type": "object",
|
|
2228
|
+
"properties": {
|
|
2229
|
+
"sanityType": {
|
|
2230
|
+
"enum": [
|
|
2231
|
+
"event"
|
|
2232
|
+
],
|
|
2233
|
+
"type": "string",
|
|
2234
|
+
"default": "event"
|
|
2235
|
+
},
|
|
2236
|
+
"status": {
|
|
2237
|
+
"enum": [
|
|
2238
|
+
"active",
|
|
2239
|
+
"cancelled"
|
|
2240
|
+
],
|
|
2241
|
+
"type": "string",
|
|
2242
|
+
"default": "active"
|
|
2243
|
+
},
|
|
2244
|
+
"allowDigitalParticipation": {
|
|
2245
|
+
"type": "boolean"
|
|
2246
|
+
},
|
|
2247
|
+
"askForFeedback": {
|
|
2248
|
+
"type": "boolean"
|
|
2249
|
+
},
|
|
2250
|
+
"category": {
|
|
2251
|
+
"type": "array",
|
|
2252
|
+
"items": {
|
|
2253
|
+
"type": "string"
|
|
2254
|
+
}
|
|
2255
|
+
},
|
|
2256
|
+
"creator": {
|
|
2257
|
+
"$ref": "#/components/schemas/sanityOrderEmployee"
|
|
2258
|
+
},
|
|
2259
|
+
"description": {
|
|
2260
|
+
"type": "string"
|
|
2261
|
+
},
|
|
2262
|
+
"endTime": {
|
|
2263
|
+
"type": "string"
|
|
2264
|
+
},
|
|
2265
|
+
"eventType": {
|
|
2266
|
+
"type": "array",
|
|
2267
|
+
"items": {
|
|
2268
|
+
"$ref": "#/components/schemas/sanityEventEventTypeInner"
|
|
2269
|
+
}
|
|
2270
|
+
},
|
|
2271
|
+
"feedback": {
|
|
2272
|
+
"type": "array",
|
|
2273
|
+
"items": {
|
|
2274
|
+
"$ref": "#/components/schemas/sanityEventFeedbackInner"
|
|
2275
|
+
}
|
|
2276
|
+
},
|
|
2277
|
+
"invitationSent": {
|
|
2278
|
+
"type": "boolean"
|
|
2279
|
+
},
|
|
2280
|
+
"isServingFood": {
|
|
2281
|
+
"type": "boolean"
|
|
2282
|
+
},
|
|
2283
|
+
"linkOnly": {
|
|
2284
|
+
"type": "boolean"
|
|
2285
|
+
},
|
|
2286
|
+
"manualMemoriesApproval": {
|
|
2287
|
+
"type": "boolean"
|
|
2288
|
+
},
|
|
2289
|
+
"maxParticipants": {
|
|
2290
|
+
"type": "number",
|
|
2291
|
+
"format": "double"
|
|
2292
|
+
},
|
|
2293
|
+
"media": {
|
|
2294
|
+
"$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMedia"
|
|
2295
|
+
},
|
|
2296
|
+
"memories": {
|
|
2297
|
+
"type": "array",
|
|
2298
|
+
"items": {
|
|
2299
|
+
"$ref": "#/components/schemas/sanityEventMemoriesInner"
|
|
2300
|
+
}
|
|
2301
|
+
},
|
|
2302
|
+
"participants": {
|
|
2303
|
+
"type": "array",
|
|
2304
|
+
"items": {
|
|
2305
|
+
"$ref": "#/components/schemas/sanityEventParticipantsInner"
|
|
2306
|
+
}
|
|
2307
|
+
},
|
|
2308
|
+
"participationStart": {
|
|
2309
|
+
"type": "string"
|
|
2310
|
+
},
|
|
2311
|
+
"place": {
|
|
2312
|
+
"type": "string"
|
|
2313
|
+
},
|
|
2314
|
+
"public": {
|
|
2315
|
+
"type": "boolean"
|
|
2316
|
+
},
|
|
2317
|
+
"recurringId": {
|
|
2318
|
+
"type": "string"
|
|
2319
|
+
},
|
|
2320
|
+
"sanityCreatedAt": {
|
|
2321
|
+
"type": "string"
|
|
2322
|
+
},
|
|
2323
|
+
"sanityId": {
|
|
2324
|
+
"type": "string"
|
|
2325
|
+
},
|
|
2326
|
+
"sanityRev": {
|
|
2327
|
+
"type": "string"
|
|
2328
|
+
},
|
|
2329
|
+
"sanityUpdatedAt": {
|
|
2330
|
+
"type": "string"
|
|
2331
|
+
},
|
|
2332
|
+
"slug": {
|
|
2333
|
+
"$ref": "#/components/schemas/slug"
|
|
2334
|
+
},
|
|
2335
|
+
"teamsLink": {
|
|
2336
|
+
"type": "string"
|
|
2337
|
+
},
|
|
2338
|
+
"time": {
|
|
2339
|
+
"type": "string"
|
|
2340
|
+
},
|
|
2341
|
+
"title": {
|
|
2342
|
+
"type": "string"
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
},
|
|
2346
|
+
"sanityEventEventTypeInner": {
|
|
2347
|
+
"type": "object",
|
|
2348
|
+
"properties": {
|
|
2349
|
+
"sanityType": {
|
|
2350
|
+
"enum": [
|
|
2351
|
+
"eventType"
|
|
2352
|
+
],
|
|
2353
|
+
"type": "string",
|
|
2354
|
+
"default": "eventType"
|
|
2355
|
+
},
|
|
2356
|
+
"canSubscribe": {
|
|
2357
|
+
"type": "boolean"
|
|
2358
|
+
},
|
|
2359
|
+
"name": {
|
|
2360
|
+
"type": "string"
|
|
2361
|
+
},
|
|
2362
|
+
"sanityId": {
|
|
2363
|
+
"type": "string"
|
|
2364
|
+
},
|
|
2365
|
+
"slug": {
|
|
2366
|
+
"$ref": "#/components/schemas/slug"
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2369
|
+
},
|
|
2226
2370
|
"sanityEventFeedbackInner": {
|
|
2227
2371
|
"type": "object",
|
|
2228
2372
|
"properties": {
|
|
@@ -2271,6 +2415,20 @@
|
|
|
2271
2415
|
}
|
|
2272
2416
|
}
|
|
2273
2417
|
},
|
|
2418
|
+
"sanityEventParticipantsInner": {
|
|
2419
|
+
"type": "object",
|
|
2420
|
+
"properties": {
|
|
2421
|
+
"actualInstance": {
|
|
2422
|
+
"type": "object"
|
|
2423
|
+
},
|
|
2424
|
+
"isNullable": {
|
|
2425
|
+
"type": "boolean"
|
|
2426
|
+
},
|
|
2427
|
+
"schemaType": {
|
|
2428
|
+
"type": "string"
|
|
2429
|
+
}
|
|
2430
|
+
}
|
|
2431
|
+
},
|
|
2274
2432
|
"sanityImageAssetReference": {
|
|
2275
2433
|
"type": "object",
|
|
2276
2434
|
"properties": {
|
package/specs/test/events.json
CHANGED
|
@@ -573,7 +573,7 @@
|
|
|
573
573
|
"content": {
|
|
574
574
|
"application/json": {
|
|
575
575
|
"schema": {
|
|
576
|
-
"$ref": "#/components/schemas/
|
|
576
|
+
"$ref": "#/components/schemas/sanityEvent"
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
},
|
|
@@ -2223,6 +2223,150 @@
|
|
|
2223
2223
|
}
|
|
2224
2224
|
}
|
|
2225
2225
|
},
|
|
2226
|
+
"sanityEvent": {
|
|
2227
|
+
"type": "object",
|
|
2228
|
+
"properties": {
|
|
2229
|
+
"sanityType": {
|
|
2230
|
+
"enum": [
|
|
2231
|
+
"event"
|
|
2232
|
+
],
|
|
2233
|
+
"type": "string",
|
|
2234
|
+
"default": "event"
|
|
2235
|
+
},
|
|
2236
|
+
"status": {
|
|
2237
|
+
"enum": [
|
|
2238
|
+
"active",
|
|
2239
|
+
"cancelled"
|
|
2240
|
+
],
|
|
2241
|
+
"type": "string",
|
|
2242
|
+
"default": "active"
|
|
2243
|
+
},
|
|
2244
|
+
"allowDigitalParticipation": {
|
|
2245
|
+
"type": "boolean"
|
|
2246
|
+
},
|
|
2247
|
+
"askForFeedback": {
|
|
2248
|
+
"type": "boolean"
|
|
2249
|
+
},
|
|
2250
|
+
"category": {
|
|
2251
|
+
"type": "array",
|
|
2252
|
+
"items": {
|
|
2253
|
+
"type": "string"
|
|
2254
|
+
}
|
|
2255
|
+
},
|
|
2256
|
+
"creator": {
|
|
2257
|
+
"$ref": "#/components/schemas/sanityOrderEmployee"
|
|
2258
|
+
},
|
|
2259
|
+
"description": {
|
|
2260
|
+
"type": "string"
|
|
2261
|
+
},
|
|
2262
|
+
"endTime": {
|
|
2263
|
+
"type": "string"
|
|
2264
|
+
},
|
|
2265
|
+
"eventType": {
|
|
2266
|
+
"type": "array",
|
|
2267
|
+
"items": {
|
|
2268
|
+
"$ref": "#/components/schemas/sanityEventEventTypeInner"
|
|
2269
|
+
}
|
|
2270
|
+
},
|
|
2271
|
+
"feedback": {
|
|
2272
|
+
"type": "array",
|
|
2273
|
+
"items": {
|
|
2274
|
+
"$ref": "#/components/schemas/sanityEventFeedbackInner"
|
|
2275
|
+
}
|
|
2276
|
+
},
|
|
2277
|
+
"invitationSent": {
|
|
2278
|
+
"type": "boolean"
|
|
2279
|
+
},
|
|
2280
|
+
"isServingFood": {
|
|
2281
|
+
"type": "boolean"
|
|
2282
|
+
},
|
|
2283
|
+
"linkOnly": {
|
|
2284
|
+
"type": "boolean"
|
|
2285
|
+
},
|
|
2286
|
+
"manualMemoriesApproval": {
|
|
2287
|
+
"type": "boolean"
|
|
2288
|
+
},
|
|
2289
|
+
"maxParticipants": {
|
|
2290
|
+
"type": "number",
|
|
2291
|
+
"format": "double"
|
|
2292
|
+
},
|
|
2293
|
+
"media": {
|
|
2294
|
+
"$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMedia"
|
|
2295
|
+
},
|
|
2296
|
+
"memories": {
|
|
2297
|
+
"type": "array",
|
|
2298
|
+
"items": {
|
|
2299
|
+
"$ref": "#/components/schemas/sanityEventMemoriesInner"
|
|
2300
|
+
}
|
|
2301
|
+
},
|
|
2302
|
+
"participants": {
|
|
2303
|
+
"type": "array",
|
|
2304
|
+
"items": {
|
|
2305
|
+
"$ref": "#/components/schemas/sanityEventParticipantsInner"
|
|
2306
|
+
}
|
|
2307
|
+
},
|
|
2308
|
+
"participationStart": {
|
|
2309
|
+
"type": "string"
|
|
2310
|
+
},
|
|
2311
|
+
"place": {
|
|
2312
|
+
"type": "string"
|
|
2313
|
+
},
|
|
2314
|
+
"public": {
|
|
2315
|
+
"type": "boolean"
|
|
2316
|
+
},
|
|
2317
|
+
"recurringId": {
|
|
2318
|
+
"type": "string"
|
|
2319
|
+
},
|
|
2320
|
+
"sanityCreatedAt": {
|
|
2321
|
+
"type": "string"
|
|
2322
|
+
},
|
|
2323
|
+
"sanityId": {
|
|
2324
|
+
"type": "string"
|
|
2325
|
+
},
|
|
2326
|
+
"sanityRev": {
|
|
2327
|
+
"type": "string"
|
|
2328
|
+
},
|
|
2329
|
+
"sanityUpdatedAt": {
|
|
2330
|
+
"type": "string"
|
|
2331
|
+
},
|
|
2332
|
+
"slug": {
|
|
2333
|
+
"$ref": "#/components/schemas/slug"
|
|
2334
|
+
},
|
|
2335
|
+
"teamsLink": {
|
|
2336
|
+
"type": "string"
|
|
2337
|
+
},
|
|
2338
|
+
"time": {
|
|
2339
|
+
"type": "string"
|
|
2340
|
+
},
|
|
2341
|
+
"title": {
|
|
2342
|
+
"type": "string"
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
},
|
|
2346
|
+
"sanityEventEventTypeInner": {
|
|
2347
|
+
"type": "object",
|
|
2348
|
+
"properties": {
|
|
2349
|
+
"sanityType": {
|
|
2350
|
+
"enum": [
|
|
2351
|
+
"eventType"
|
|
2352
|
+
],
|
|
2353
|
+
"type": "string",
|
|
2354
|
+
"default": "eventType"
|
|
2355
|
+
},
|
|
2356
|
+
"canSubscribe": {
|
|
2357
|
+
"type": "boolean"
|
|
2358
|
+
},
|
|
2359
|
+
"name": {
|
|
2360
|
+
"type": "string"
|
|
2361
|
+
},
|
|
2362
|
+
"sanityId": {
|
|
2363
|
+
"type": "string"
|
|
2364
|
+
},
|
|
2365
|
+
"slug": {
|
|
2366
|
+
"$ref": "#/components/schemas/slug"
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2369
|
+
},
|
|
2226
2370
|
"sanityEventFeedbackInner": {
|
|
2227
2371
|
"type": "object",
|
|
2228
2372
|
"properties": {
|
|
@@ -2271,6 +2415,20 @@
|
|
|
2271
2415
|
}
|
|
2272
2416
|
}
|
|
2273
2417
|
},
|
|
2418
|
+
"sanityEventParticipantsInner": {
|
|
2419
|
+
"type": "object",
|
|
2420
|
+
"properties": {
|
|
2421
|
+
"actualInstance": {
|
|
2422
|
+
"type": "object"
|
|
2423
|
+
},
|
|
2424
|
+
"isNullable": {
|
|
2425
|
+
"type": "boolean"
|
|
2426
|
+
},
|
|
2427
|
+
"schemaType": {
|
|
2428
|
+
"type": "string"
|
|
2429
|
+
}
|
|
2430
|
+
}
|
|
2431
|
+
},
|
|
2274
2432
|
"sanityImageAssetReference": {
|
|
2275
2433
|
"type": "object",
|
|
2276
2434
|
"properties": {
|