@buildpad/mcp 0.1.4 → 0.1.6

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/dist/index.js CHANGED
@@ -5260,10 +5260,10 @@ import { fileURLToPath } from "url";
5260
5260
  // src/registry.ts
5261
5261
  function loadRegistry() {
5262
5262
  return JSON.parse(`{
5263
- "$schema": "https://buildpad.dev/registry.schema.json",
5263
+ "$schema": "https://raw.githubusercontent.com/microbuild-ui/ui/refs/heads/main/packages/registry.json",
5264
5264
  "version": "1.0.0",
5265
5265
  "name": "buildpad",
5266
- "description": "A collection of copy-and-own components for building DaaS-compatible CMS frontends",
5266
+ "description": "A collection of copy-and-own components for building DaaS-compatible Nextjs frontends",
5267
5267
  "license": "MIT",
5268
5268
  "repository": "https://github.com/microbuild-ui/ui",
5269
5269
  "meta": {
@@ -5406,16 +5406,12 @@ function loadRegistry() {
5406
5406
  },
5407
5407
  "services": {
5408
5408
  "name": "services",
5409
- "description": "CRUD service classes for items, fields, collections, and permissions",
5409
+ "description": "Service classes for fields, collections, permissions, and DaaS API config",
5410
5410
  "files": [
5411
5411
  {
5412
5412
  "source": "services/src/api-request.ts",
5413
5413
  "target": "lib/buildpad/services/api-request.ts"
5414
5414
  },
5415
- {
5416
- "source": "services/src/items.ts",
5417
- "target": "lib/buildpad/services/items.ts"
5418
- },
5419
5415
  {
5420
5416
  "source": "services/src/fields.ts",
5421
5417
  "target": "lib/buildpad/services/fields.ts"
@@ -5432,6 +5428,22 @@ function loadRegistry() {
5432
5428
  "source": "services/src/daas-context.tsx",
5433
5429
  "target": "lib/buildpad/services/daas-context.tsx"
5434
5430
  },
5431
+ {
5432
+ "source": "services/src/auth/index.ts",
5433
+ "target": "lib/buildpad/services/auth/index.ts"
5434
+ },
5435
+ {
5436
+ "source": "services/src/auth/session.ts",
5437
+ "target": "lib/buildpad/services/auth/session.ts"
5438
+ },
5439
+ {
5440
+ "source": "services/src/auth/enforcer.ts",
5441
+ "target": "lib/buildpad/services/auth/enforcer.ts"
5442
+ },
5443
+ {
5444
+ "source": "services/src/auth/filter-to-query.ts",
5445
+ "target": "lib/buildpad/services/auth/filter-to-query.ts"
5446
+ },
5435
5447
  {
5436
5448
  "source": "cli/templates/lib/services/index.ts",
5437
5449
  "target": "lib/buildpad/services/index.ts"
@@ -5477,6 +5489,10 @@ function loadRegistry() {
5477
5489
  "source": "hooks/src/useRelationM2A.ts",
5478
5490
  "target": "lib/buildpad/hooks/useRelationM2A.ts"
5479
5491
  },
5492
+ {
5493
+ "source": "hooks/src/useRelationPermissionsM2A.ts",
5494
+ "target": "lib/buildpad/hooks/useRelationPermissionsM2A.ts"
5495
+ },
5480
5496
  {
5481
5497
  "source": "hooks/src/useSelection.ts",
5482
5498
  "target": "lib/buildpad/hooks/useSelection.ts"
@@ -5513,6 +5529,34 @@ function loadRegistry() {
5513
5529
  "source": "hooks/src/useCollections.ts",
5514
5530
  "target": "lib/buildpad/hooks/useCollections.ts"
5515
5531
  },
5532
+ {
5533
+ "source": "hooks/src/useRelationMultipleM2M.ts",
5534
+ "target": "lib/buildpad/hooks/useRelationMultipleM2M.ts"
5535
+ },
5536
+ {
5537
+ "source": "hooks/src/useRelationPermissionsM2M.ts",
5538
+ "target": "lib/buildpad/hooks/useRelationPermissionsM2M.ts"
5539
+ },
5540
+ {
5541
+ "source": "hooks/src/useRelationPermissionsM2O.ts",
5542
+ "target": "lib/buildpad/hooks/useRelationPermissionsM2O.ts"
5543
+ },
5544
+ {
5545
+ "source": "hooks/src/useFieldMetadata.ts",
5546
+ "target": "lib/buildpad/hooks/useFieldMetadata.ts"
5547
+ },
5548
+ {
5549
+ "source": "hooks/src/useAuth.ts",
5550
+ "target": "lib/buildpad/hooks/useAuth.ts"
5551
+ },
5552
+ {
5553
+ "source": "hooks/src/usePermissions.ts",
5554
+ "target": "lib/buildpad/hooks/usePermissions.ts"
5555
+ },
5556
+ {
5557
+ "source": "hooks/src/useDaaSContext.tsx",
5558
+ "target": "lib/buildpad/hooks/useDaaSContext.tsx"
5559
+ },
5516
5560
  {
5517
5561
  "source": "cli/templates/lib/hooks/index.ts",
5518
5562
  "target": "lib/buildpad/hooks/index.ts"
@@ -6387,6 +6431,10 @@ function loadRegistry() {
6387
6431
  {
6388
6432
  "source": "ui-interfaces/src/list-m2m/ListM2MInterface.tsx",
6389
6433
  "target": "components/ui/list-m2m-interface.tsx"
6434
+ },
6435
+ {
6436
+ "source": "ui-interfaces/src/list-m2m/translations.ts",
6437
+ "target": "components/ui/list-m2m/translations.ts"
6390
6438
  }
6391
6439
  ],
6392
6440
  "dependencies": [
@@ -6421,14 +6469,18 @@ function loadRegistry() {
6421
6469
  }
6422
6470
  },
6423
6471
  {
6424
- "name": "list-m2o",
6425
- "title": "ListM2O",
6426
- "description": "Many-to-One relationship interface",
6472
+ "name": "select-dropdown-m2o",
6473
+ "title": "SelectDropdownM2O",
6474
+ "description": "Many-to-One dropdown selector with search and modal",
6427
6475
  "category": "relational",
6428
6476
  "files": [
6429
6477
  {
6430
- "source": "ui-interfaces/src/list-m2o/ListM2O.tsx",
6431
- "target": "components/ui/list-m2o.tsx"
6478
+ "source": "ui-interfaces/src/select-dropdown-m2o/SelectDropdownM2O.tsx",
6479
+ "target": "components/ui/select-dropdown-m2o.tsx"
6480
+ },
6481
+ {
6482
+ "source": "ui-interfaces/src/select-dropdown-m2o/SelectDropdownM2OInterface.tsx",
6483
+ "target": "components/ui/select-dropdown-m2o-interface.tsx"
6432
6484
  }
6433
6485
  ],
6434
6486
  "dependencies": [
@@ -6446,7 +6498,7 @@ function loadRegistry() {
6446
6498
  "collection-list"
6447
6499
  ],
6448
6500
  "interface": {
6449
- "id": "list-m2o",
6501
+ "id": "select-dropdown-m2o",
6450
6502
  "name": "Many to One",
6451
6503
  "icon": "IconArrowRight",
6452
6504
  "types": [
@@ -6462,7 +6514,8 @@ function loadRegistry() {
6462
6514
  "order": 3,
6463
6515
  "supported": true,
6464
6516
  "recommended": true,
6465
- "hasOptions": true
6517
+ "hasOptions": true,
6518
+ "aliases": ["list-m2o"]
6466
6519
  }
6467
6520
  },
6468
6521
  {
@@ -6516,6 +6569,14 @@ function loadRegistry() {
6516
6569
  {
6517
6570
  "source": "ui-interfaces/src/list-m2a/ListM2A.tsx",
6518
6571
  "target": "components/ui/list-m2a.tsx"
6572
+ },
6573
+ {
6574
+ "source": "ui-interfaces/src/list-m2a/JunctionItemForm.tsx",
6575
+ "target": "components/ui/list-m2a/JunctionItemForm.tsx"
6576
+ },
6577
+ {
6578
+ "source": "ui-interfaces/src/list-m2a/render-template.ts",
6579
+ "target": "components/ui/list-m2a/render-template.ts"
6519
6580
  }
6520
6581
  ],
6521
6582
  "dependencies": [
@@ -6645,6 +6706,69 @@ function loadRegistry() {
6645
6706
  "hasOptions": true
6646
6707
  }
6647
6708
  },
6709
+ {
6710
+ "name": "group-accordion",
6711
+ "title": "GroupAccordion",
6712
+ "description": "Accordion-style group with expandable sections",
6713
+ "category": "layout",
6714
+ "files": [
6715
+ {
6716
+ "source": "ui-interfaces/src/group-accordion/GroupAccordion.tsx",
6717
+ "target": "components/ui/group-accordion.tsx"
6718
+ }
6719
+ ],
6720
+ "dependencies": [
6721
+ "@mantine/core",
6722
+ "@tabler/icons-react"
6723
+ ],
6724
+ "internalDependencies": [],
6725
+ "interface": {
6726
+ "id": "group-accordion",
6727
+ "name": "Accordion Group",
6728
+ "icon": "IconLayoutList",
6729
+ "types": [
6730
+ "alias"
6731
+ ],
6732
+ "localTypes": [
6733
+ "group"
6734
+ ],
6735
+ "group": "group",
6736
+ "order": 2,
6737
+ "supported": true,
6738
+ "hasOptions": true
6739
+ }
6740
+ },
6741
+ {
6742
+ "name": "group-raw",
6743
+ "title": "GroupRaw",
6744
+ "description": "Transparent group wrapper that renders children inline",
6745
+ "category": "layout",
6746
+ "files": [
6747
+ {
6748
+ "source": "ui-interfaces/src/group-raw/GroupRaw.tsx",
6749
+ "target": "components/ui/group-raw.tsx"
6750
+ }
6751
+ ],
6752
+ "dependencies": [
6753
+ "@mantine/core"
6754
+ ],
6755
+ "internalDependencies": [],
6756
+ "interface": {
6757
+ "id": "group-raw",
6758
+ "name": "Raw Group",
6759
+ "icon": "IconSquare",
6760
+ "types": [
6761
+ "alias"
6762
+ ],
6763
+ "localTypes": [
6764
+ "group"
6765
+ ],
6766
+ "group": "group",
6767
+ "order": 3,
6768
+ "supported": true,
6769
+ "hasOptions": false
6770
+ }
6771
+ },
6648
6772
  {
6649
6773
  "name": "slider",
6650
6774
  "title": "Slider",
@@ -6706,7 +6830,8 @@ function loadRegistry() {
6706
6830
  "@tiptap/extension-subscript",
6707
6831
  "@tiptap/extension-placeholder",
6708
6832
  "@tiptap/extension-color",
6709
- "@tiptap/extension-text-style"
6833
+ "@tiptap/extension-text-style",
6834
+ "@tiptap/extension-underline"
6710
6835
  ],
6711
6836
  "internalDependencies": [],
6712
6837
  "interface": {
@@ -6806,6 +6931,10 @@ function loadRegistry() {
6806
6931
  "source": "ui-form/src/components/FormFieldInterface.tsx",
6807
6932
  "target": "components/ui/vform/components/FormFieldInterface.tsx"
6808
6933
  },
6934
+ {
6935
+ "source": "ui-form/src/components/FormGroupField.tsx",
6936
+ "target": "components/ui/vform/components/FormGroupField.tsx"
6937
+ },
6809
6938
  {
6810
6939
  "source": "ui-form/src/components/index.ts",
6811
6940
  "target": "components/ui/vform/components/index.ts"
@@ -6866,12 +6995,14 @@ function loadRegistry() {
6866
6995
  "files",
6867
6996
  "upload",
6868
6997
  "list-m2m",
6869
- "list-m2o",
6998
+ "select-dropdown-m2o",
6870
6999
  "list-o2m",
6871
7000
  "list-m2a",
6872
7001
  "divider",
6873
7002
  "notice",
6874
7003
  "group-detail",
7004
+ "group-accordion",
7005
+ "group-raw",
6875
7006
  "rich-text-html",
6876
7007
  "rich-text-markdown",
6877
7008
  "map",