@dereekb/dbx-components-mcp 14.6.0 → 14.8.0

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.
@@ -10,7 +10,7 @@ var __export = (target, all) => {
10
10
  // packages/dbx-components-mcp/package.json
11
11
  var package_default = {
12
12
  name: "@dereekb/dbx-components-mcp",
13
- version: "14.6.0",
13
+ version: "14.8.0",
14
14
  sideEffects: false,
15
15
  type: "module",
16
16
  bin: {
@@ -22,8 +22,8 @@ var package_default = {
22
22
  "ts-morph": "^21.0.0"
23
23
  },
24
24
  peerDependencies: {
25
- "@dereekb/dbx-cli": "14.6.0",
26
- "@dereekb/util": "14.6.0"
25
+ "@dereekb/dbx-cli": "14.8.0",
26
+ "@dereekb/util": "14.8.0"
27
27
  }
28
28
  };
29
29
 
@@ -16004,7 +16004,15 @@ async function loadUtilManifests(input) {
16004
16004
  }
16005
16005
 
16006
16006
  // packages/dbx-cli/src/lib/mcp-scan/manifest/load-utils-registry.ts
16007
- var DEFAULT_BUNDLED_FILENAMES12 = ["dereekb-util.utils.mcp.generated.json", "dereekb-date.utils.mcp.generated.json", "dereekb-rxjs.utils.mcp.generated.json", "dereekb-model.utils.mcp.generated.json"];
16007
+ var DEFAULT_BUNDLED_FILENAMES12 = [
16008
+ "dereekb-util.utils.mcp.generated.json",
16009
+ "dereekb-util-fetch.utils.mcp.generated.json",
16010
+ "dereekb-date.utils.mcp.generated.json",
16011
+ "dereekb-rxjs.utils.mcp.generated.json",
16012
+ "dereekb-model.utils.mcp.generated.json",
16013
+ "dereekb-firebase.utils.mcp.generated.json",
16014
+ "dereekb-firebase-server.utils.mcp.generated.json"
16015
+ ];
16008
16016
  var DEFAULT_BUNDLED_PATHS12 = () => {
16009
16017
  const packageRoot = findPackageRoot(import.meta.url);
16010
16018
  return DEFAULT_BUNDLED_FILENAMES12.map((name) => resolve33(packageRoot, "generated", name));
@@ -1802,6 +1802,12 @@
1802
1802
  "type": "Maybe<string>",
1803
1803
  "description": "",
1804
1804
  "required": false
1805
+ },
1806
+ {
1807
+ "name": "buttonStyle",
1808
+ "type": "Maybe<DbxButtonStyle>",
1809
+ "description": "(Optional) Style for the action button.\n\nDefaults to {@link DEFAULT_INTRO_ACTION_SECTION_BUTTON_STYLE}. Set a `color` here to paint the button with an\narbitrary {@link DbxColorInput} (including a registered color template) rather than the default accent palette.",
1810
+ "required": false
1805
1811
  }
1806
1812
  ],
1807
1813
  "outputs": [
@@ -0,0 +1,221 @@
1
+ {
2
+ "version": 1,
3
+ "source": "@dereekb/util/fetch",
4
+ "module": "@dereekb/util/fetch",
5
+ "generatedAt": "1970-01-01T00:00:00.000Z",
6
+ "generator": "@dereekb/dbx-components-mcp/scripts/generate-manifests.mjs",
7
+ "entries": [
8
+ {
9
+ "slug": "to-bracket-notation-search-param-tuples",
10
+ "name": "toBracketNotationSearchParamTuples",
11
+ "kind": "function",
12
+ "category": "url",
13
+ "module": "@dereekb/util/fetch",
14
+ "subpath": "fetch.url",
15
+ "signature": "toBracketNotationSearchParamTuples(input: Maybe<object>): UrlSearchParamsKeyValueTuple[]",
16
+ "description": "Expands a potentially nested object into bracket-notation query key/value tuples.\n\nArrays are addressed by index and object properties by key, recursively, so every leaf\ngets its own fully-qualified parameter. Nullish leaves are omitted rather than emitted\nas the strings `\"null\"`/`\"undefined\"`; all other leaves are stringified.",
17
+ "params": [
18
+ {
19
+ "name": "input",
20
+ "type": "Maybe<object>",
21
+ "description": "- The object to expand.",
22
+ "optional": false
23
+ }
24
+ ],
25
+ "returns": "The bracket-notation key/value tuples.",
26
+ "tags": [
27
+ "url",
28
+ "query",
29
+ "search",
30
+ "params",
31
+ "bracket",
32
+ "notation",
33
+ "nested",
34
+ "expand",
35
+ "tuples",
36
+ "encode",
37
+ "to",
38
+ "param",
39
+ "tobracketnotationsearchparamtuples"
40
+ ],
41
+ "example": "toBracketNotationSearchParamTuples({ calendarsToLoad: [{ credentialId: 1, externalId: 'a@b.com' }] });\n// => [['calendarsToLoad[0][credentialId]', '1'], ['calendarsToLoad[0][externalId]', 'a@b.com']]",
42
+ "relatedSlugs": [
43
+ "make-url-search-params",
44
+ "make-url-search-params-string"
45
+ ]
46
+ },
47
+ {
48
+ "slug": "make-url-search-params",
49
+ "name": "makeUrlSearchParams",
50
+ "kind": "function",
51
+ "category": "url",
52
+ "module": "@dereekb/util/fetch",
53
+ "subpath": "fetch.url",
54
+ "signature": "makeUrlSearchParams(input: Maybe<ArrayOrValue<Maybe<object | Record<string, string | number>>>>, options?: Maybe<MakeUrlSearchParamsOptions>): URLSearchParams",
55
+ "description": "Creates URLSearchParams from the input objects. The input objects are merged together.",
56
+ "params": [
57
+ {
58
+ "name": "input",
59
+ "type": "Maybe<ArrayOrValue<Maybe<object | Record<string, string | number>>>>",
60
+ "description": "- One or more objects (or nullish values) whose key-value pairs become search parameters.",
61
+ "optional": false
62
+ },
63
+ {
64
+ "name": "options",
65
+ "type": "Maybe<MakeUrlSearchParamsOptions>",
66
+ "description": "- Optional configuration for filtering, omitting keys, and space encoding.",
67
+ "optional": true
68
+ }
69
+ ],
70
+ "returns": "A URLSearchParams instance built from the merged and filtered input.",
71
+ "tags": [
72
+ "url",
73
+ "query",
74
+ "search",
75
+ "params",
76
+ "urlsearchparams",
77
+ "encode",
78
+ "merge",
79
+ "filter",
80
+ "omit",
81
+ "querystring",
82
+ "make",
83
+ "makeurlsearchparams"
84
+ ],
85
+ "relatedSlugs": [
86
+ "make-url-search-params-string",
87
+ "update-url-search-params",
88
+ "to-bracket-notation-search-param-tuples",
89
+ "merge-make-url-search-params-options"
90
+ ]
91
+ },
92
+ {
93
+ "slug": "make-url-search-params-string",
94
+ "name": "makeUrlSearchParamsString",
95
+ "kind": "function",
96
+ "category": "url",
97
+ "module": "@dereekb/util/fetch",
98
+ "subpath": "fetch.url",
99
+ "signature": "makeUrlSearchParamsString(input: Maybe<ArrayOrValue<Maybe<object | Record<string, string | number>>>>, options?: Maybe<MakeUrlSearchParamsOptions>): string",
100
+ "description": "Creates a URL query string from the input objects.\n\nEquivalent to `makeUrlSearchParams(...).toString()`, but respects the\n{@link MakeUrlSearchParamsOptions.useUrlSearchSpaceHandling} option to produce\nRFC 3986 percent-encoded output (`%20` for spaces) instead of the\n`application/x-www-form-urlencoded` default (`+` for spaces).",
101
+ "params": [
102
+ {
103
+ "name": "input",
104
+ "type": "Maybe<ArrayOrValue<Maybe<object | Record<string, string | number>>>>",
105
+ "description": "- Objects to encode as query parameters.",
106
+ "optional": false
107
+ },
108
+ {
109
+ "name": "options",
110
+ "type": "Maybe<MakeUrlSearchParamsOptions>",
111
+ "description": "- Encoding options.",
112
+ "optional": true
113
+ }
114
+ ],
115
+ "returns": "The encoded query string (without a leading `?`)",
116
+ "tags": [
117
+ "url",
118
+ "query",
119
+ "search",
120
+ "params",
121
+ "string",
122
+ "querystring",
123
+ "encode",
124
+ "percent",
125
+ "space",
126
+ "stringify",
127
+ "make",
128
+ "makeurlsearchparamsstring"
129
+ ],
130
+ "relatedSlugs": [
131
+ "make-url-search-params",
132
+ "update-url-search-params"
133
+ ]
134
+ },
135
+ {
136
+ "slug": "update-url-search-params",
137
+ "name": "updateUrlSearchParams",
138
+ "kind": "function",
139
+ "category": "url",
140
+ "module": "@dereekb/util/fetch",
141
+ "subpath": "fetch.url",
142
+ "signature": "updateUrlSearchParams(url: string, params: Maybe<ArrayOrValue<Maybe<object | Record<string, string | number>>>>, options?: Maybe<MakeUrlSearchParamsOptions>): string",
143
+ "description": "Updates or adds query parameters on an existing URL string.\n\nParses the URL's existing query string, merges in the new parameters (new values\noverride existing keys), and returns the rebuilt URL. Respects all\n{@link MakeUrlSearchParamsOptions} such as `omitKeys`, `filterEmptyValues`, and\n`useUrlSearchSpaceHandling`.",
144
+ "params": [
145
+ {
146
+ "name": "url",
147
+ "type": "string",
148
+ "description": "- The URL string to update.",
149
+ "optional": false
150
+ },
151
+ {
152
+ "name": "params",
153
+ "type": "Maybe<ArrayOrValue<Maybe<object | Record<string, string | number>>>>",
154
+ "description": "- New search parameters to merge into the URL.",
155
+ "optional": false
156
+ },
157
+ {
158
+ "name": "options",
159
+ "type": "Maybe<MakeUrlSearchParamsOptions>",
160
+ "description": "- Optional configuration for filtering, omitting keys, and space encoding.",
161
+ "optional": true
162
+ }
163
+ ],
164
+ "returns": "The URL string with updated query parameters.",
165
+ "tags": [
166
+ "url",
167
+ "query",
168
+ "search",
169
+ "params",
170
+ "update",
171
+ "merge",
172
+ "append",
173
+ "override",
174
+ "querystring",
175
+ "encode",
176
+ "updateurlsearchparams"
177
+ ],
178
+ "example": "// Add params to a URL with no query string\nupdateUrlSearchParams('https://example.com/form', { name: 'Alice', age: 30 });\n// => 'https://example.com/form?name=Alice&age=30'\n\n// Override an existing param\nupdateUrlSearchParams('https://example.com?page=1&sort=asc', { page: 2 });\n// => 'https://example.com?page=2&sort=asc'\n\n// Use percent-encoded spaces for redirect URLs\nupdateUrlSearchParams('https://example.com', { scope: 'openid profile' }, { useUrlSearchSpaceHandling: true });\n// => 'https://example.com?scope=openid%20profile'",
179
+ "relatedSlugs": [
180
+ "make-url-search-params",
181
+ "make-url-search-params-string",
182
+ "merge-slash-paths"
183
+ ]
184
+ },
185
+ {
186
+ "slug": "merge-make-url-search-params-options",
187
+ "name": "mergeMakeUrlSearchParamsOptions",
188
+ "kind": "function",
189
+ "category": "url",
190
+ "module": "@dereekb/util/fetch",
191
+ "subpath": "fetch.url",
192
+ "signature": "mergeMakeUrlSearchParamsOptions(options: ArrayOrValue<Maybe<MakeUrlSearchParamsOptions>>): MakeUrlSearchParamsOptions",
193
+ "description": "Merges an array of MakeUrlSearchParamsOptions into a single MakeUrlSearchParamsOptions value.",
194
+ "params": [
195
+ {
196
+ "name": "options",
197
+ "type": "ArrayOrValue<Maybe<MakeUrlSearchParamsOptions>>",
198
+ "description": "- One or more options objects whose omitKeys sets are combined.",
199
+ "optional": false
200
+ }
201
+ ],
202
+ "returns": "A single MakeUrlSearchParamsOptions with the union of all omitKeys.",
203
+ "tags": [
204
+ "url",
205
+ "query",
206
+ "search",
207
+ "params",
208
+ "options",
209
+ "merge",
210
+ "omit",
211
+ "keys",
212
+ "config",
213
+ "make",
214
+ "mergemakeurlsearchparamsoptions"
215
+ ],
216
+ "relatedSlugs": [
217
+ "make-url-search-params"
218
+ ]
219
+ }
220
+ ]
221
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-components-mcp",
3
- "version": "14.6.0",
3
+ "version": "14.8.0",
4
4
  "sideEffects": false,
5
5
  "type": "module",
6
6
  "bin": {
@@ -12,7 +12,7 @@
12
12
  "ts-morph": "^21.0.0"
13
13
  },
14
14
  "peerDependencies": {
15
- "@dereekb/dbx-cli": "14.6.0",
16
- "@dereekb/util": "14.6.0"
15
+ "@dereekb/dbx-cli": "14.8.0",
16
+ "@dereekb/util": "14.8.0"
17
17
  }
18
18
  }