@regle/mcp-server 1.15.1 → 1.15.2
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/regle-mcp-server.js +3 -3
- package/package.json +1 -1
package/dist/regle-mcp-server.js
CHANGED
|
@@ -936,11 +936,11 @@ var docs_data_default = {
|
|
|
936
936
|
"description": "Requires a value to be a file with a specific type.",
|
|
937
937
|
"parameters": [{
|
|
938
938
|
"name": "params",
|
|
939
|
-
"type": "[accept: MaybeRefOrGetter<string[]>]",
|
|
939
|
+
"type": "[accept: MaybeRefOrGetter<readonly string[]>]",
|
|
940
940
|
"description": "",
|
|
941
941
|
"optional": false
|
|
942
942
|
}],
|
|
943
|
-
"returnType": "RegleRuleDefinition<File, [accept: string[]], false, boolean, unknown, File>",
|
|
943
|
+
"returnType": "RegleRuleDefinition<File, [accept: readonly string[]], false, boolean, unknown, File>",
|
|
944
944
|
"example": "import { type InferInput } from '@regle/core';\nimport { fileType } from '@regle/rules';\n\nconst {r$} = useRegle({ file: null as File | null }, {\n file: { fileType: fileType(['image/png', 'image/jpeg']) },\n})",
|
|
945
945
|
"tags": { "see": "://reglejs.dev/core-concepts/rules/built-in-rules#filetype Documentation" }
|
|
946
946
|
},
|
|
@@ -1717,7 +1717,7 @@ function searchApi(query) {
|
|
|
1717
1717
|
return results;
|
|
1718
1718
|
}
|
|
1719
1719
|
|
|
1720
|
-
var version = "1.15.
|
|
1720
|
+
var version = "1.15.2";
|
|
1721
1721
|
|
|
1722
1722
|
let posthogClient = null;
|
|
1723
1723
|
posthogClient = new PostHog("phc_kqgJoylCpKkGkkRGxb4MyN2mViehoQcUFEGwVkk4l8E", {
|