@cloudcart/dev-mcp 0.2.12 → 0.2.14
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/data/admin.json +223 -25
- package/data/embeddings.bin +0 -0
- package/data/embeddings.json +1 -1
- package/package.json +1 -1
package/data/admin.json
CHANGED
|
@@ -13173,8 +13173,8 @@
|
|
|
13173
13173
|
"deprecationReason": null
|
|
13174
13174
|
},
|
|
13175
13175
|
{
|
|
13176
|
-
"name": "
|
|
13177
|
-
"description": "List all
|
|
13176
|
+
"name": "nitrogenStorefronts",
|
|
13177
|
+
"description": "List all Nitrogen storefronts for the current store.",
|
|
13178
13178
|
"args": [
|
|
13179
13179
|
{
|
|
13180
13180
|
"name": "first",
|
|
@@ -13212,7 +13212,7 @@
|
|
|
13212
13212
|
"name": null,
|
|
13213
13213
|
"ofType": {
|
|
13214
13214
|
"kind": "OBJECT",
|
|
13215
|
-
"name": "
|
|
13215
|
+
"name": "NitrogenStorefrontConnection",
|
|
13216
13216
|
"ofType": null
|
|
13217
13217
|
}
|
|
13218
13218
|
},
|
|
@@ -13220,8 +13220,8 @@
|
|
|
13220
13220
|
"deprecationReason": null
|
|
13221
13221
|
},
|
|
13222
13222
|
{
|
|
13223
|
-
"name": "
|
|
13224
|
-
"description": "Get a
|
|
13223
|
+
"name": "nitrogenStorefront",
|
|
13224
|
+
"description": "Get a Nitrogen storefront by ID.",
|
|
13225
13225
|
"args": [
|
|
13226
13226
|
{
|
|
13227
13227
|
"name": "id",
|
|
@@ -13240,15 +13240,15 @@
|
|
|
13240
13240
|
],
|
|
13241
13241
|
"type": {
|
|
13242
13242
|
"kind": "OBJECT",
|
|
13243
|
-
"name": "
|
|
13243
|
+
"name": "NitrogenStorefront",
|
|
13244
13244
|
"ofType": null
|
|
13245
13245
|
},
|
|
13246
13246
|
"isDeprecated": false,
|
|
13247
13247
|
"deprecationReason": null
|
|
13248
13248
|
},
|
|
13249
13249
|
{
|
|
13250
|
-
"name": "
|
|
13251
|
-
"description": "Find a
|
|
13250
|
+
"name": "nitrogenStorefrontByName",
|
|
13251
|
+
"description": "Find a Nitrogen storefront by name.",
|
|
13252
13252
|
"args": [
|
|
13253
13253
|
{
|
|
13254
13254
|
"name": "name",
|
|
@@ -13267,7 +13267,7 @@
|
|
|
13267
13267
|
],
|
|
13268
13268
|
"type": {
|
|
13269
13269
|
"kind": "OBJECT",
|
|
13270
|
-
"name": "
|
|
13270
|
+
"name": "NitrogenStorefront",
|
|
13271
13271
|
"ofType": null
|
|
13272
13272
|
},
|
|
13273
13273
|
"isDeprecated": false,
|
|
@@ -17744,7 +17744,7 @@
|
|
|
17744
17744
|
},
|
|
17745
17745
|
{
|
|
17746
17746
|
"name": "productsBulkSetBrandModels",
|
|
17747
|
-
"description": "Replace the set of brand-models attached to N products. Mirrors the admin product-edit form's brand-models picker. Pass an empty `brandModelIds: []` to detach all brand-models from the supplied products. Each model id is verified against the `brand_model_models` table —
|
|
17747
|
+
"description": "Replace the set of brand-models attached to N products. Mirrors the admin product-edit form's brand-models picker. Pass an empty `brandModelIds: []` to detach all brand-models from the supplied products. Each model id is verified against the `brand_model_models` table — unrecognised ids are surfaced in `bulkOperationStatus.extra.invalidBrandModelIds`; if NONE of the supplied ids resolve, the job fails fast with reason `not_found` instead of silently detaching everything.",
|
|
17748
17748
|
"args": [
|
|
17749
17749
|
{
|
|
17750
17750
|
"name": "ids",
|
|
@@ -17770,7 +17770,129 @@
|
|
|
17770
17770
|
},
|
|
17771
17771
|
{
|
|
17772
17772
|
"name": "brandModelIds",
|
|
17773
|
-
"description": "Brand-model IDs
|
|
17773
|
+
"description": "Brand-model ROW IDs (the `BrandModelItem.id` field — `models[].id` on the Brand type). NOT the brand id, NOT a composite key. Resolve via `brand(id) { models { id title } }` or `brandModels(brandId)` first — the brand is implicit through the model's `brand_id`. The supplied set REPLACES any previously-attached brand-models — pass an empty list to clear.",
|
|
17774
|
+
"type": {
|
|
17775
|
+
"kind": "NON_NULL",
|
|
17776
|
+
"name": null,
|
|
17777
|
+
"ofType": {
|
|
17778
|
+
"kind": "LIST",
|
|
17779
|
+
"name": null,
|
|
17780
|
+
"ofType": {
|
|
17781
|
+
"kind": "NON_NULL",
|
|
17782
|
+
"name": null,
|
|
17783
|
+
"ofType": {
|
|
17784
|
+
"kind": "SCALAR",
|
|
17785
|
+
"name": "ID",
|
|
17786
|
+
"ofType": null
|
|
17787
|
+
}
|
|
17788
|
+
}
|
|
17789
|
+
}
|
|
17790
|
+
},
|
|
17791
|
+
"defaultValue": null
|
|
17792
|
+
}
|
|
17793
|
+
],
|
|
17794
|
+
"type": {
|
|
17795
|
+
"kind": "NON_NULL",
|
|
17796
|
+
"name": null,
|
|
17797
|
+
"ofType": {
|
|
17798
|
+
"kind": "OBJECT",
|
|
17799
|
+
"name": "BulkOperationJob",
|
|
17800
|
+
"ofType": null
|
|
17801
|
+
}
|
|
17802
|
+
},
|
|
17803
|
+
"isDeprecated": false,
|
|
17804
|
+
"deprecationReason": null
|
|
17805
|
+
},
|
|
17806
|
+
{
|
|
17807
|
+
"name": "productsBulkAttachBrandModels",
|
|
17808
|
+
"description": "Attach additional brand-models to N products WITHOUT touching the rest. Use when the merchant wants to ADD a model to existing pinnings — e.g. 'also tag these tires as Audi A4' without removing the BMW M3 pinning they already have. Existing brand-model attachments are preserved; the supplied ids are added on top. Same validation as `productsBulkSetBrandModels` — invalid ids surface in `bulkOperationStatus.extra.invalidBrandModelIds`, all-invalid fails with `not_found`.",
|
|
17809
|
+
"args": [
|
|
17810
|
+
{
|
|
17811
|
+
"name": "ids",
|
|
17812
|
+
"description": "Product IDs.",
|
|
17813
|
+
"type": {
|
|
17814
|
+
"kind": "NON_NULL",
|
|
17815
|
+
"name": null,
|
|
17816
|
+
"ofType": {
|
|
17817
|
+
"kind": "LIST",
|
|
17818
|
+
"name": null,
|
|
17819
|
+
"ofType": {
|
|
17820
|
+
"kind": "NON_NULL",
|
|
17821
|
+
"name": null,
|
|
17822
|
+
"ofType": {
|
|
17823
|
+
"kind": "SCALAR",
|
|
17824
|
+
"name": "ID",
|
|
17825
|
+
"ofType": null
|
|
17826
|
+
}
|
|
17827
|
+
}
|
|
17828
|
+
}
|
|
17829
|
+
},
|
|
17830
|
+
"defaultValue": null
|
|
17831
|
+
},
|
|
17832
|
+
{
|
|
17833
|
+
"name": "brandModelIds",
|
|
17834
|
+
"description": "Brand-model ROW IDs (the `BrandModelItem.id` field) to ADD. Resolve via `brand(id) { models { id } }` or `brandModels(brandId)`. Ids already attached on a product are no-ops for that product.",
|
|
17835
|
+
"type": {
|
|
17836
|
+
"kind": "NON_NULL",
|
|
17837
|
+
"name": null,
|
|
17838
|
+
"ofType": {
|
|
17839
|
+
"kind": "LIST",
|
|
17840
|
+
"name": null,
|
|
17841
|
+
"ofType": {
|
|
17842
|
+
"kind": "NON_NULL",
|
|
17843
|
+
"name": null,
|
|
17844
|
+
"ofType": {
|
|
17845
|
+
"kind": "SCALAR",
|
|
17846
|
+
"name": "ID",
|
|
17847
|
+
"ofType": null
|
|
17848
|
+
}
|
|
17849
|
+
}
|
|
17850
|
+
}
|
|
17851
|
+
},
|
|
17852
|
+
"defaultValue": null
|
|
17853
|
+
}
|
|
17854
|
+
],
|
|
17855
|
+
"type": {
|
|
17856
|
+
"kind": "NON_NULL",
|
|
17857
|
+
"name": null,
|
|
17858
|
+
"ofType": {
|
|
17859
|
+
"kind": "OBJECT",
|
|
17860
|
+
"name": "BulkOperationJob",
|
|
17861
|
+
"ofType": null
|
|
17862
|
+
}
|
|
17863
|
+
},
|
|
17864
|
+
"isDeprecated": false,
|
|
17865
|
+
"deprecationReason": null
|
|
17866
|
+
},
|
|
17867
|
+
{
|
|
17868
|
+
"name": "productsBulkDetachBrandModels",
|
|
17869
|
+
"description": "Detach specific brand-models from N products WITHOUT touching the rest. Use when the merchant wants to REMOVE one pinning while keeping others — e.g. 'untag these tires from Audi A4' but leave BMW M3 alone. Only the supplied ids are removed; ids not currently attached are no-ops for that product. Same validation as `productsBulkSetBrandModels`.",
|
|
17870
|
+
"args": [
|
|
17871
|
+
{
|
|
17872
|
+
"name": "ids",
|
|
17873
|
+
"description": "Product IDs.",
|
|
17874
|
+
"type": {
|
|
17875
|
+
"kind": "NON_NULL",
|
|
17876
|
+
"name": null,
|
|
17877
|
+
"ofType": {
|
|
17878
|
+
"kind": "LIST",
|
|
17879
|
+
"name": null,
|
|
17880
|
+
"ofType": {
|
|
17881
|
+
"kind": "NON_NULL",
|
|
17882
|
+
"name": null,
|
|
17883
|
+
"ofType": {
|
|
17884
|
+
"kind": "SCALAR",
|
|
17885
|
+
"name": "ID",
|
|
17886
|
+
"ofType": null
|
|
17887
|
+
}
|
|
17888
|
+
}
|
|
17889
|
+
}
|
|
17890
|
+
},
|
|
17891
|
+
"defaultValue": null
|
|
17892
|
+
},
|
|
17893
|
+
{
|
|
17894
|
+
"name": "brandModelIds",
|
|
17895
|
+
"description": "Brand-model ROW IDs to REMOVE. Resolve via `product(id) { brandModels { id } }` to see what's currently attached.",
|
|
17774
17896
|
"type": {
|
|
17775
17897
|
"kind": "NON_NULL",
|
|
17776
17898
|
"name": null,
|
|
@@ -30268,7 +30390,7 @@
|
|
|
30268
30390
|
},
|
|
30269
30391
|
{
|
|
30270
30392
|
"name": "createBrand",
|
|
30271
|
-
"description": "Create a new brand.",
|
|
30393
|
+
"description": "Create a new brand. On success `data` contains `{ id }` (the new brand id) — capture it to avoid an extra brands() lookup. The created brand can be re-read via `brand(id) { ... }`.",
|
|
30272
30394
|
"args": [
|
|
30273
30395
|
{
|
|
30274
30396
|
"name": "input",
|
|
@@ -30375,7 +30497,7 @@
|
|
|
30375
30497
|
},
|
|
30376
30498
|
{
|
|
30377
30499
|
"name": "createBrandModel",
|
|
30378
|
-
"description": "Create a new model under a brand.",
|
|
30500
|
+
"description": "Create a new model under a brand. On success `data` contains `{ id }` (the new model id) — capture it for subsequent `productsBulkSetBrandModels` calls without re-querying `brandModels`.",
|
|
30379
30501
|
"args": [
|
|
30380
30502
|
{
|
|
30381
30503
|
"name": "brandId",
|
|
@@ -30522,6 +30644,82 @@
|
|
|
30522
30644
|
"isDeprecated": false,
|
|
30523
30645
|
"deprecationReason": null
|
|
30524
30646
|
},
|
|
30647
|
+
{
|
|
30648
|
+
"name": "deleteBrand",
|
|
30649
|
+
"description": "Delete a single brand. Synchronous — returns immediately with success/error instead of queueing a job. Refuses with `dependency_blocked` when the brand still has products attached. Use the bulk variant `brandsBulkDelete` only for batch / async deletes.",
|
|
30650
|
+
"args": [
|
|
30651
|
+
{
|
|
30652
|
+
"name": "id",
|
|
30653
|
+
"description": "Brand ID.",
|
|
30654
|
+
"type": {
|
|
30655
|
+
"kind": "NON_NULL",
|
|
30656
|
+
"name": null,
|
|
30657
|
+
"ofType": {
|
|
30658
|
+
"kind": "SCALAR",
|
|
30659
|
+
"name": "ID",
|
|
30660
|
+
"ofType": null
|
|
30661
|
+
}
|
|
30662
|
+
},
|
|
30663
|
+
"defaultValue": null
|
|
30664
|
+
}
|
|
30665
|
+
],
|
|
30666
|
+
"type": {
|
|
30667
|
+
"kind": "NON_NULL",
|
|
30668
|
+
"name": null,
|
|
30669
|
+
"ofType": {
|
|
30670
|
+
"kind": "OBJECT",
|
|
30671
|
+
"name": "AdminAppMutationResult",
|
|
30672
|
+
"ofType": null
|
|
30673
|
+
}
|
|
30674
|
+
},
|
|
30675
|
+
"isDeprecated": false,
|
|
30676
|
+
"deprecationReason": null
|
|
30677
|
+
},
|
|
30678
|
+
{
|
|
30679
|
+
"name": "deleteBrandModel",
|
|
30680
|
+
"description": "Delete a single brand model. Synchronous — returns immediately with success/error instead of queueing a job. Refuses with `dependency_blocked` when the model still has products attached. Use the bulk variant `brandModelsBulkDelete` only for batch / async deletes.",
|
|
30681
|
+
"args": [
|
|
30682
|
+
{
|
|
30683
|
+
"name": "brandId",
|
|
30684
|
+
"description": "Brand ID.",
|
|
30685
|
+
"type": {
|
|
30686
|
+
"kind": "NON_NULL",
|
|
30687
|
+
"name": null,
|
|
30688
|
+
"ofType": {
|
|
30689
|
+
"kind": "SCALAR",
|
|
30690
|
+
"name": "ID",
|
|
30691
|
+
"ofType": null
|
|
30692
|
+
}
|
|
30693
|
+
},
|
|
30694
|
+
"defaultValue": null
|
|
30695
|
+
},
|
|
30696
|
+
{
|
|
30697
|
+
"name": "modelId",
|
|
30698
|
+
"description": "Model ID.",
|
|
30699
|
+
"type": {
|
|
30700
|
+
"kind": "NON_NULL",
|
|
30701
|
+
"name": null,
|
|
30702
|
+
"ofType": {
|
|
30703
|
+
"kind": "SCALAR",
|
|
30704
|
+
"name": "ID",
|
|
30705
|
+
"ofType": null
|
|
30706
|
+
}
|
|
30707
|
+
},
|
|
30708
|
+
"defaultValue": null
|
|
30709
|
+
}
|
|
30710
|
+
],
|
|
30711
|
+
"type": {
|
|
30712
|
+
"kind": "NON_NULL",
|
|
30713
|
+
"name": null,
|
|
30714
|
+
"ofType": {
|
|
30715
|
+
"kind": "OBJECT",
|
|
30716
|
+
"name": "AdminAppMutationResult",
|
|
30717
|
+
"ofType": null
|
|
30718
|
+
}
|
|
30719
|
+
},
|
|
30720
|
+
"isDeprecated": false,
|
|
30721
|
+
"deprecationReason": null
|
|
30722
|
+
},
|
|
30525
30723
|
{
|
|
30526
30724
|
"name": "brandsBulkDelete",
|
|
30527
30725
|
"description": "Bulk-delete brands. Mirrors the admin Brand & Model listing's Delete bulk action. Refuses with `dependency_blocked` when any of the supplied brands still has products attached.",
|
|
@@ -100286,7 +100484,7 @@
|
|
|
100286
100484
|
},
|
|
100287
100485
|
{
|
|
100288
100486
|
"name": "data",
|
|
100289
|
-
"description": "Additional data (app-specific).",
|
|
100487
|
+
"description": "Additional data (app-specific). Conventions across the admin mutations: `createBrand` / `createBrandModel` populate `{ id }` of the new entity here; `updateBrand` / `updateBrandModel` echo `{ id }` of the touched row; `toggleBrandStatus` / `toggleBrandModelStatus` return `{ active }` so callers can read the new state without re-querying. When `success: false`, `data` is usually null and the failure detail is in `message`.",
|
|
100290
100488
|
"args": [],
|
|
100291
100489
|
"type": {
|
|
100292
100490
|
"kind": "SCALAR",
|
|
@@ -115975,8 +116173,8 @@
|
|
|
115975
116173
|
},
|
|
115976
116174
|
{
|
|
115977
116175
|
"kind": "OBJECT",
|
|
115978
|
-
"name": "
|
|
115979
|
-
"description": "A
|
|
116176
|
+
"name": "NitrogenStorefront",
|
|
116177
|
+
"description": "A Nitrogen headless storefront.",
|
|
115980
116178
|
"fields": [
|
|
115981
116179
|
{
|
|
115982
116180
|
"name": "id",
|
|
@@ -116146,7 +116344,7 @@
|
|
|
116146
116344
|
"name": null,
|
|
116147
116345
|
"ofType": {
|
|
116148
116346
|
"kind": "OBJECT",
|
|
116149
|
-
"name": "
|
|
116347
|
+
"name": "NitrogenEnvironmentVariable",
|
|
116150
116348
|
"ofType": null
|
|
116151
116349
|
}
|
|
116152
116350
|
}
|
|
@@ -116186,8 +116384,8 @@
|
|
|
116186
116384
|
},
|
|
116187
116385
|
{
|
|
116188
116386
|
"kind": "OBJECT",
|
|
116189
|
-
"name": "
|
|
116190
|
-
"description": "An environment variable for a
|
|
116387
|
+
"name": "NitrogenEnvironmentVariable",
|
|
116388
|
+
"description": "An environment variable for a Nitrogen storefront.",
|
|
116191
116389
|
"fields": [
|
|
116192
116390
|
{
|
|
116193
116391
|
"name": "id",
|
|
@@ -116293,8 +116491,8 @@
|
|
|
116293
116491
|
},
|
|
116294
116492
|
{
|
|
116295
116493
|
"kind": "OBJECT",
|
|
116296
|
-
"name": "
|
|
116297
|
-
"description": "Paginated
|
|
116494
|
+
"name": "NitrogenStorefrontConnection",
|
|
116495
|
+
"description": "Paginated Nitrogen storefronts.",
|
|
116298
116496
|
"fields": [
|
|
116299
116497
|
{
|
|
116300
116498
|
"name": "edges",
|
|
@@ -116311,7 +116509,7 @@
|
|
|
116311
116509
|
"name": null,
|
|
116312
116510
|
"ofType": {
|
|
116313
116511
|
"kind": "OBJECT",
|
|
116314
|
-
"name": "
|
|
116512
|
+
"name": "NitrogenStorefrontEdge",
|
|
116315
116513
|
"ofType": null
|
|
116316
116514
|
}
|
|
116317
116515
|
}
|
|
@@ -116335,7 +116533,7 @@
|
|
|
116335
116533
|
"name": null,
|
|
116336
116534
|
"ofType": {
|
|
116337
116535
|
"kind": "OBJECT",
|
|
116338
|
-
"name": "
|
|
116536
|
+
"name": "NitrogenStorefront",
|
|
116339
116537
|
"ofType": null
|
|
116340
116538
|
}
|
|
116341
116539
|
}
|
|
@@ -116384,7 +116582,7 @@
|
|
|
116384
116582
|
},
|
|
116385
116583
|
{
|
|
116386
116584
|
"kind": "OBJECT",
|
|
116387
|
-
"name": "
|
|
116585
|
+
"name": "NitrogenStorefrontEdge",
|
|
116388
116586
|
"description": null,
|
|
116389
116587
|
"fields": [
|
|
116390
116588
|
{
|
|
@@ -116396,7 +116594,7 @@
|
|
|
116396
116594
|
"name": null,
|
|
116397
116595
|
"ofType": {
|
|
116398
116596
|
"kind": "OBJECT",
|
|
116399
|
-
"name": "
|
|
116597
|
+
"name": "NitrogenStorefront",
|
|
116400
116598
|
"ofType": null
|
|
116401
116599
|
}
|
|
116402
116600
|
},
|
package/data/embeddings.bin
CHANGED
|
Binary file
|