@fumadocs/api-docs 0.0.1 → 0.0.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.
|
@@ -9,9 +9,9 @@ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
|
9
9
|
import { ChevronRight, Plus, Trash2, X } from "lucide-react";
|
|
10
10
|
import { buttonVariants } from "fumadocs-ui/components/ui/button";
|
|
11
11
|
import { cva } from "class-variance-authority";
|
|
12
|
-
import { useTranslations } from "@fuma-translate/react";
|
|
13
12
|
import { useArray, useDataEngine, useFieldValue, useObject } from "@fumari/stf";
|
|
14
13
|
import { stringifyFieldKey } from "@fumari/stf/lib/utils";
|
|
14
|
+
import { useTranslations } from "@fuma-translate/react";
|
|
15
15
|
//#region src/components/playground/inputs.tsx
|
|
16
16
|
const fieldLabelVariants = cva("w-full inline-flex items-center gap-0.5");
|
|
17
17
|
function FieldLabelType(props) {
|
|
@@ -2,7 +2,7 @@ import { ParsedSchema } from "../../schema/index.js";
|
|
|
2
2
|
import { FormatFlags } from "../../schema/to-string.js";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { FieldKey } from "@fumari/stf";
|
|
5
|
-
import { Ajv2020 } from "/
|
|
5
|
+
import { Ajv2020 } from "/home/runner/work/fumadocs/fumadocs/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/2020.js";
|
|
6
6
|
|
|
7
7
|
//#region src/components/playground/schema.d.ts
|
|
8
8
|
interface SchemaContextType extends SchemaScope {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fumadocs/api-docs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Shared utils for API docs generation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@fuma-translate/react": "^
|
|
51
|
-
"@radix-ui/react-accordion": "^1.2.
|
|
52
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
53
|
-
"@radix-ui/react-select": "^2.
|
|
50
|
+
"@fuma-translate/react": "^1.0.1",
|
|
51
|
+
"@radix-ui/react-accordion": "^1.2.13",
|
|
52
|
+
"@radix-ui/react-dialog": "^1.1.16",
|
|
53
|
+
"@radix-ui/react-select": "^2.3.0",
|
|
54
54
|
"class-variance-authority": "^0.7.1",
|
|
55
55
|
"github-slugger": "^2.0.0",
|
|
56
56
|
"js-yaml": "^4.2.0",
|
|
@@ -62,13 +62,13 @@
|
|
|
62
62
|
"@apidevtools/json-schema-ref-parser": "^15.3.5",
|
|
63
63
|
"@fastify/deepmerge": "^3.2.1",
|
|
64
64
|
"@tailwindcss/oxide": "^4.3.0",
|
|
65
|
-
"@types/node": "25.9.
|
|
66
|
-
"@types/react": "^19.2.
|
|
65
|
+
"@types/node": "25.9.2",
|
|
66
|
+
"@types/react": "^19.2.17",
|
|
67
67
|
"ajv": "^8.20.0",
|
|
68
68
|
"json-schema-typed": "^8.0.2",
|
|
69
|
-
"tsdown": "0.22.
|
|
70
|
-
"fumadocs-core": "16.10.
|
|
71
|
-
"fumadocs-ui": "16.10.
|
|
69
|
+
"tsdown": "0.22.2",
|
|
70
|
+
"fumadocs-core": "16.10.1",
|
|
71
|
+
"fumadocs-ui": "16.10.1",
|
|
72
72
|
"tsconfig": "0.0.0"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|