diff --git a/.github/workflows/typegen.yml b/.github/workflows/typegen.yml new file mode 100644 index 0000000..7b4099e --- /dev/null +++ b/.github/workflows/typegen.yml @@ -0,0 +1,37 @@ +name: TypeGen + +on: + push: + branches: [main] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref_name }} + cancel-in-progress: true + +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + cache: pnpm + node-version: lts/* + - run: pnpm install + - run: pnpm typegen + - uses: actions/create-github-app-token@v1 + id: generate-token + with: + app-id: ${{ secrets.ECOSPARK_APP_ID }} + private-key: ${{ secrets.ECOSPARK_APP_PRIVATE_KEY }} + - uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7 + with: + body: I ran `pnpm typegen` 🧑‍💻 + branch: actions/typegen + commit-message: "chore(typegen): 🤖 ✨" + labels: 🤖 bot + sign-commits: true + title: "chore(typegen): 🤖 ✨" + token: ${{ steps.generate-token.outputs.token }} diff --git a/package.json b/package.json index 2365a17..d96ad7a 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "lcapi-examples", "private": true, "scripts": { + "typegen": "pnpm -r run schema:extract && pnpm -r run typegen:generate", "format": "prettier --cache --write .", "lint": "pnpm -r lint", "type-check": "pnpm -r type-check" @@ -12,7 +13,8 @@ "prettier": "^3.3.3", "prettier-plugin-astro": "^0.14.1", "prettier-plugin-svelte": "^3.2.8", - "prettier-plugin-tailwindcss": "^0.6.9" + "prettier-plugin-tailwindcss": "^0.6.9", + "sanity": "^3.64.2" }, "packageManager": "pnpm@9.14.2" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f04c750..2bb786c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,6 +26,9 @@ importers: prettier-plugin-tailwindcss: specifier: ^0.6.9 version: 0.6.9(@ianvs/prettier-plugin-sort-imports@4.4.0(@vue/compiler-sfc@3.5.13)(prettier@3.3.3))(prettier-plugin-astro@0.14.1)(prettier-plugin-svelte@3.2.8(prettier@3.3.3)(svelte@5.2.6))(prettier@3.3.3) + sanity: + specifier: ^3.64.2 + version: 3.64.2(@types/node@22.9.1)(@types/react@18.3.12)(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1)(styled-components@6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1))(terser@5.36.0) api: dependencies: @@ -10238,6 +10241,11 @@ snapshots: react: 18.3.1 tslib: 2.8.1 + '@dnd-kit/accessibility@3.1.0(react@19.0.0-rc.1)': + dependencies: + react: 19.0.0-rc.1 + tslib: 2.8.1 + '@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@dnd-kit/accessibility': 3.1.0(react@18.3.1) @@ -10246,6 +10254,14 @@ snapshots: react-dom: 18.3.1(react@18.3.1) tslib: 2.8.1 + '@dnd-kit/core@6.1.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1)': + dependencies: + '@dnd-kit/accessibility': 3.1.0(react@19.0.0-rc.1) + '@dnd-kit/utilities': 3.2.2(react@19.0.0-rc.1) + react: 19.0.0-rc.1 + react-dom: 19.0.0-rc.1(react@19.0.0-rc.1) + tslib: 2.8.1 + '@dnd-kit/modifiers@6.0.1(@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': dependencies: '@dnd-kit/core': 6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -10253,6 +10269,13 @@ snapshots: react: 18.3.1 tslib: 2.8.1 + '@dnd-kit/modifiers@6.0.1(@dnd-kit/core@6.1.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1))(react@19.0.0-rc.1)': + dependencies: + '@dnd-kit/core': 6.1.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) + '@dnd-kit/utilities': 3.2.2(react@19.0.0-rc.1) + react: 19.0.0-rc.1 + tslib: 2.8.1 + '@dnd-kit/sortable@7.0.2(@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': dependencies: '@dnd-kit/core': 6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -10260,11 +10283,23 @@ snapshots: react: 18.3.1 tslib: 2.8.1 + '@dnd-kit/sortable@7.0.2(@dnd-kit/core@6.1.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1))(react@19.0.0-rc.1)': + dependencies: + '@dnd-kit/core': 6.1.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) + '@dnd-kit/utilities': 3.2.2(react@19.0.0-rc.1) + react: 19.0.0-rc.1 + tslib: 2.8.1 + '@dnd-kit/utilities@3.2.2(react@18.3.1)': dependencies: react: 18.3.1 tslib: 2.8.1 + '@dnd-kit/utilities@3.2.2(react@19.0.0-rc.1)': + dependencies: + react: 19.0.0-rc.1 + tslib: 2.8.1 + '@edge-runtime/primitives@5.1.1': {} '@edge-runtime/types@3.0.3': @@ -10738,6 +10773,12 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + '@floating-ui/react-dom@2.1.2(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1)': + dependencies: + '@floating-ui/dom': 1.6.12 + react: 19.0.0-rc.1 + react-dom: 19.0.0-rc.1(react@19.0.0-rc.1) + '@floating-ui/utils@0.2.8': {} '@humanfs/core@0.19.1': {} @@ -11399,6 +11440,32 @@ snapshots: - react-dom - supports-color + '@portabletext/editor@1.10.2(@sanity/block-tools@3.64.2(debug@4.3.7))(@sanity/schema@3.64.2(debug@4.3.7))(@sanity/types@3.64.2(debug@4.3.7))(@types/react@18.3.12)(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1))': + dependencies: + '@portabletext/patches': 1.1.0 + '@sanity/block-tools': 3.64.2(debug@4.3.7) + '@sanity/schema': 3.64.2(debug@4.3.7) + '@sanity/types': 3.64.2(debug@4.3.7) + '@xstate/react': 5.0.0(@types/react@18.3.12)(react@19.0.0-rc.1)(xstate@5.19.0) + debug: 4.3.7(supports-color@9.4.0) + get-random-values-esm: 1.0.2 + is-hotkey-esm: 1.0.0 + lodash: 4.17.21 + lodash.startcase: 4.4.0 + react: 19.0.0-rc.1 + react-compiler-runtime: 19.0.0-beta-0dec889-20241115(react@19.0.0-rc.1) + rxjs: 7.8.1 + slate: 0.110.2 + slate-dom: 0.111.0(slate@0.110.2) + slate-react: 0.111.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1)(slate-dom@0.111.0(slate@0.110.2))(slate@0.110.2) + styled-components: 6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) + use-effect-event: 1.0.2(react@19.0.0-rc.1) + xstate: 5.19.0 + transitivePeerDependencies: + - '@types/react' + - react-dom + - supports-color + '@portabletext/patches@1.1.0': dependencies: '@sanity/diff-match-patch': 3.1.1 @@ -11410,6 +11477,12 @@ snapshots: '@portabletext/types': 2.0.13 react: 18.3.1 + '@portabletext/react@3.1.0(react@19.0.0-rc.1)': + dependencies: + '@portabletext/toolkit': 2.0.16 + '@portabletext/types': 2.0.13 + react: 19.0.0-rc.1 + '@portabletext/toolkit@2.0.16': dependencies: '@portabletext/types': 2.0.13 @@ -11449,6 +11522,13 @@ snapshots: md5-o-matic: 0.1.1 react: 18.3.1 + '@rexxars/react-json-inspector@8.0.1(react@19.0.0-rc.1)': + dependencies: + create-react-class: 15.7.0 + debounce: 1.0.0 + md5-o-matic: 0.1.1 + react: 19.0.0-rc.1 + '@rexxars/react-split-pane@0.1.93(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: prop-types: 15.8.1 @@ -11622,6 +11702,29 @@ snapshots: - react - supports-color + '@sanity/cli@3.64.2(react@19.0.0-rc.1)': + dependencies: + '@babel/traverse': 7.25.9 + '@sanity/client': 6.22.5(debug@4.3.7) + '@sanity/codegen': 3.64.2 + '@sanity/telemetry': 0.7.9(react@19.0.0-rc.1) + '@sanity/util': 3.64.2(debug@4.3.7) + chalk: 4.1.2 + debug: 4.3.7(supports-color@9.4.0) + decompress: 4.2.1 + esbuild: 0.21.5 + esbuild-register: 3.6.0(esbuild@0.21.5) + get-it: 8.6.5(debug@4.3.7) + groq-js: 1.14.0 + pkg-dir: 5.0.0 + prettier: 3.3.3 + semver: 7.6.3 + silver-fleece: 1.1.0 + validate-npm-package-name: 3.0.0 + transitivePeerDependencies: + - react + - supports-color + '@sanity/client@6.22.5(debug@4.3.7)': dependencies: '@sanity/eventsource': 5.0.2 @@ -11712,6 +11815,10 @@ snapshots: dependencies: react: 18.3.1 + '@sanity/icons@3.4.0(react@19.0.0-rc.1)': + dependencies: + react: 19.0.0-rc.1 + '@sanity/image-url@1.1.0': {} '@sanity/import@3.37.8': @@ -11752,11 +11859,28 @@ snapshots: transitivePeerDependencies: - styled-components + '@sanity/insert-menu@1.0.12(@sanity/types@3.64.2(debug@4.3.7))(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react-is@18.3.1)(react@19.0.0-rc.1)(styled-components@6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1))': + dependencies: + '@sanity/icons': 3.4.0(react@19.0.0-rc.1) + '@sanity/types': 3.64.2(debug@4.3.7) + '@sanity/ui': 2.8.24(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react-is@18.3.1)(react@19.0.0-rc.1)(styled-components@6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1)) + lodash.startcase: 4.4.0 + react: 19.0.0-rc.1 + react-dom: 19.0.0-rc.1(react@19.0.0-rc.1) + react-is: 18.3.1 + transitivePeerDependencies: + - styled-components + '@sanity/logos@2.1.13(@sanity/color@3.0.6)(react@18.3.1)': dependencies: '@sanity/color': 3.0.6 react: 18.3.1 + '@sanity/logos@2.1.13(@sanity/color@3.0.6)(react@19.0.0-rc.1)': + dependencies: + '@sanity/color': 3.0.6 + react: 19.0.0-rc.1 + '@sanity/migrate@3.64.2': dependencies: '@sanity/client': 6.22.5(debug@4.3.7) @@ -11820,6 +11944,33 @@ snapshots: - react-is - styled-components + '@sanity/presentation@1.18.4(@sanity/client@6.22.5(debug@4.3.7))(@sanity/color@3.0.6)(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react-is@18.3.1)(react@19.0.0-rc.1)(styled-components@6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1))': + dependencies: + '@sanity/client': 6.22.5(debug@4.3.7) + '@sanity/comlink': 1.1.3 + '@sanity/icons': 3.4.0(react@19.0.0-rc.1) + '@sanity/logos': 2.1.13(@sanity/color@3.0.6)(react@19.0.0-rc.1) + '@sanity/preview-url-secret': 2.0.4(@sanity/client@6.22.5(debug@4.3.7)) + '@sanity/ui': 2.8.24(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react-is@18.3.1)(react@19.0.0-rc.1)(styled-components@6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1)) + '@sanity/uuid': 3.0.2 + '@types/lodash.isequal': 4.5.8 + fast-deep-equal: 3.1.3 + framer-motion: 11.0.8(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) + lodash.get: 4.4.2 + lodash.isequal: 4.5.0 + mendoza: 3.0.7 + mnemonist: 0.39.8 + path-to-regexp: 6.3.0 + rxjs: 7.8.1 + suspend-react: 0.1.3(react@19.0.0-rc.1) + use-effect-event: 1.0.2(react@19.0.0-rc.1) + transitivePeerDependencies: + - '@sanity/color' + - react + - react-dom + - react-is + - styled-components + '@sanity/prettier-config@1.0.3(prettier@3.3.3)': dependencies: prettier: 3.3.3 @@ -11851,6 +12002,13 @@ snapshots: rxjs: 7.8.1 typeid-js: 0.3.0 + '@sanity/telemetry@0.7.9(react@19.0.0-rc.1)': + dependencies: + lodash: 4.17.21 + react: 19.0.0-rc.1 + rxjs: 7.8.1 + typeid-js: 0.3.0 + '@sanity/types@3.37.2(debug@4.3.7)': dependencies: '@sanity/client': 6.22.5(debug@4.3.7) @@ -11880,6 +12038,21 @@ snapshots: styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) use-effect-event: 1.0.2(react@18.3.1) + '@sanity/ui@2.8.24(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react-is@18.3.1)(react@19.0.0-rc.1)(styled-components@6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1))': + dependencies: + '@floating-ui/react-dom': 2.1.2(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) + '@sanity/color': 3.0.6 + '@sanity/icons': 3.4.0(react@19.0.0-rc.1) + csstype: 3.1.3 + framer-motion: 11.0.8(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) + react: 19.0.0-rc.1 + react-compiler-runtime: 19.0.0-beta-0dec889-20241115(react@19.0.0-rc.1) + react-dom: 19.0.0-rc.1(react@19.0.0-rc.1) + react-is: 18.3.1 + react-refractor: 2.2.0(react@19.0.0-rc.1) + styled-components: 6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) + use-effect-event: 1.0.2(react@19.0.0-rc.1) + '@sanity/util@3.37.2(debug@4.3.7)': dependencies: '@sanity/client': 6.22.5(debug@4.3.7) @@ -11988,6 +12161,15 @@ snapshots: hoist-non-react-statics: 3.3.2 react: 18.3.1 + '@sentry/react@8.39.0(react@19.0.0-rc.1)': + dependencies: + '@sentry/browser': 8.39.0 + '@sentry/core': 8.39.0 + '@sentry/types': 8.39.0 + '@sentry/utils': 8.39.0 + hoist-non-react-statics: 3.3.2 + react: 19.0.0-rc.1 + '@sentry/types@8.39.0': {} '@sentry/utils@8.39.0': @@ -12115,11 +12297,22 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + '@tanstack/react-table@8.20.5(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1)': + dependencies: + '@tanstack/table-core': 8.20.5 + react: 19.0.0-rc.1 + react-dom: 19.0.0-rc.1(react@19.0.0-rc.1) + '@tanstack/react-virtual@3.0.0-beta.54(react@18.3.1)': dependencies: '@tanstack/virtual-core': 3.0.0-beta.54 react: 18.3.1 + '@tanstack/react-virtual@3.0.0-beta.54(react@19.0.0-rc.1)': + dependencies: + '@tanstack/virtual-core': 3.0.0-beta.54 + react: 19.0.0-rc.1 + '@tanstack/router-devtools@1.82.1(@tanstack/react-router@1.82.1(@tanstack/router-generator@1.81.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(csstype@3.1.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@tanstack/react-router': 1.82.1(@tanstack/router-generator@1.81.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -13028,6 +13221,16 @@ snapshots: transitivePeerDependencies: - '@types/react' + '@xstate/react@5.0.0(@types/react@18.3.12)(react@19.0.0-rc.1)(xstate@5.19.0)': + dependencies: + react: 19.0.0-rc.1 + use-isomorphic-layout-effect: 1.1.2(@types/react@18.3.12)(react@19.0.0-rc.1) + use-sync-external-store: 1.2.2(react@19.0.0-rc.1) + optionalDependencies: + xstate: 5.19.0 + transitivePeerDependencies: + - '@types/react' + abbrev@1.1.1: {} abort-controller@3.0.0: @@ -15182,6 +15385,14 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + framer-motion@11.0.8(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1): + dependencies: + tslib: 2.8.1 + optionalDependencies: + '@emotion/is-prop-valid': 0.8.8 + react: 19.0.0-rc.1 + react-dom: 19.0.0-rc.1(react@19.0.0-rc.1) + fresh@0.5.2: {} from2@2.3.0: @@ -17827,16 +18038,31 @@ snapshots: '@babel/runtime': 7.26.0 react: 18.3.1 + react-clientside-effect@1.2.6(react@19.0.0-rc.1): + dependencies: + '@babel/runtime': 7.26.0 + react: 19.0.0-rc.1 + react-compiler-runtime@19.0.0-beta-0dec889-20241115(react@18.3.1): dependencies: react: 18.3.1 + react-compiler-runtime@19.0.0-beta-0dec889-20241115(react@19.0.0-rc.1): + dependencies: + react: 19.0.0-rc.1 + react-copy-to-clipboard@5.1.0(react@18.3.1): dependencies: copy-to-clipboard: 3.3.3 prop-types: 15.8.1 react: 18.3.1 + react-copy-to-clipboard@5.1.0(react@19.0.0-rc.1): + dependencies: + copy-to-clipboard: 3.3.3 + prop-types: 15.8.1 + react: 19.0.0-rc.1 + react-dom@18.3.1(react@18.3.1): dependencies: loose-envify: 1.4.0 @@ -17862,6 +18088,18 @@ snapshots: optionalDependencies: '@types/react': 18.3.12 + react-focus-lock@2.13.2(@types/react@18.3.12)(react@19.0.0-rc.1): + dependencies: + '@babel/runtime': 7.26.0 + focus-lock: 1.3.5 + prop-types: 15.8.1 + react: 19.0.0-rc.1 + react-clientside-effect: 1.2.6(react@19.0.0-rc.1) + use-callback-ref: 1.3.2(@types/react@18.3.12)(react@19.0.0-rc.1) + use-sidecar: 1.1.2(@types/react@18.3.12)(react@19.0.0-rc.1) + optionalDependencies: + '@types/react': 18.3.12 + react-i18next@14.0.2(i18next@23.16.6)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.26.0 @@ -17871,6 +18109,15 @@ snapshots: optionalDependencies: react-dom: 18.3.1(react@18.3.1) + react-i18next@14.0.2(i18next@23.16.6)(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1): + dependencies: + '@babel/runtime': 7.26.0 + html-parse-stringify: 3.0.1 + i18next: 23.16.6 + react: 19.0.0-rc.1 + optionalDependencies: + react-dom: 19.0.0-rc.1(react@19.0.0-rc.1) + react-is@16.13.1: {} react-is@18.3.1: {} @@ -17884,6 +18131,13 @@ snapshots: unist-util-filter: 2.0.3 unist-util-visit-parents: 3.1.1 + react-refractor@2.2.0(react@19.0.0-rc.1): + dependencies: + react: 19.0.0-rc.1 + refractor: 3.6.0 + unist-util-filter: 2.0.3 + unist-util-visit-parents: 3.1.1 + react-refresh@0.14.2: {} react-rx@4.1.6(react@18.3.1)(rxjs@7.8.1): @@ -17894,6 +18148,14 @@ snapshots: rxjs: 7.8.1 use-effect-event: 1.0.2(react@18.3.1) + react-rx@4.1.6(react@19.0.0-rc.1)(rxjs@7.8.1): + dependencies: + observable-callback: 1.0.3(rxjs@7.8.1) + react: 19.0.0-rc.1 + react-compiler-runtime: 19.0.0-beta-0dec889-20241115(react@19.0.0-rc.1) + rxjs: 7.8.1 + use-effect-event: 1.0.2(react@19.0.0-rc.1) + react-style-proptype@3.2.2: dependencies: prop-types: 15.8.1 @@ -18399,6 +18661,142 @@ snapshots: - terser - utf-8-validate + sanity@3.64.2(@types/node@22.9.1)(@types/react@18.3.12)(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1)(styled-components@6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1))(terser@5.36.0): + dependencies: + '@dnd-kit/core': 6.1.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) + '@dnd-kit/modifiers': 6.0.1(@dnd-kit/core@6.1.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1))(react@19.0.0-rc.1) + '@dnd-kit/sortable': 7.0.2(@dnd-kit/core@6.1.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1))(react@19.0.0-rc.1) + '@dnd-kit/utilities': 3.2.2(react@19.0.0-rc.1) + '@juggle/resize-observer': 3.4.0 + '@portabletext/editor': 1.10.2(@sanity/block-tools@3.64.2(debug@4.3.7))(@sanity/schema@3.64.2(debug@4.3.7))(@sanity/types@3.64.2(debug@4.3.7))(@types/react@18.3.12)(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1)) + '@portabletext/react': 3.1.0(react@19.0.0-rc.1) + '@rexxars/react-json-inspector': 8.0.1(react@19.0.0-rc.1) + '@sanity/asset-utils': 2.2.0 + '@sanity/bifur-client': 0.4.1 + '@sanity/block-tools': 3.64.2(debug@4.3.7) + '@sanity/cli': 3.64.2(react@19.0.0-rc.1) + '@sanity/client': 6.22.5(debug@4.3.7) + '@sanity/color': 3.0.6 + '@sanity/diff': 3.64.2 + '@sanity/diff-match-patch': 3.1.1 + '@sanity/eventsource': 5.0.2 + '@sanity/export': 3.41.0 + '@sanity/icons': 3.4.0(react@19.0.0-rc.1) + '@sanity/image-url': 1.1.0 + '@sanity/import': 3.37.8 + '@sanity/insert-menu': 1.0.12(@sanity/types@3.64.2(debug@4.3.7))(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react-is@18.3.1)(react@19.0.0-rc.1)(styled-components@6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1)) + '@sanity/logos': 2.1.13(@sanity/color@3.0.6)(react@19.0.0-rc.1) + '@sanity/migrate': 3.64.2 + '@sanity/mutator': 3.64.2 + '@sanity/presentation': 1.18.4(@sanity/client@6.22.5(debug@4.3.7))(@sanity/color@3.0.6)(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react-is@18.3.1)(react@19.0.0-rc.1)(styled-components@6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1)) + '@sanity/schema': 3.64.2(debug@4.3.7) + '@sanity/telemetry': 0.7.9(react@19.0.0-rc.1) + '@sanity/types': 3.64.2(debug@4.3.7) + '@sanity/ui': 2.8.24(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react-is@18.3.1)(react@19.0.0-rc.1)(styled-components@6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1)) + '@sanity/util': 3.64.2(debug@4.3.7) + '@sanity/uuid': 3.0.2 + '@sentry/react': 8.39.0(react@19.0.0-rc.1) + '@tanstack/react-table': 8.20.5(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) + '@tanstack/react-virtual': 3.0.0-beta.54(react@19.0.0-rc.1) + '@types/react-copy-to-clipboard': 5.0.7 + '@types/react-is': 18.3.0 + '@types/shallow-equals': 1.0.3 + '@types/speakingurl': 13.0.6 + '@types/tar-stream': 3.1.3 + '@types/use-sync-external-store': 0.0.6 + '@vitejs/plugin-react': 4.3.3(vite@4.5.5(@types/node@22.9.1)(terser@5.36.0)) + archiver: 7.0.1 + arrify: 1.0.1 + async-mutex: 0.4.1 + chalk: 4.1.2 + chokidar: 3.6.0 + classnames: 2.5.1 + color2k: 2.0.3 + configstore: 5.0.1 + connect-history-api-fallback: 1.6.0 + console-table-printer: 2.12.1 + dataloader: 2.2.2 + date-fns: 2.30.0 + debug: 4.3.7(supports-color@9.4.0) + esbuild: 0.21.5 + esbuild-register: 3.6.0(esbuild@0.21.5) + execa: 2.1.0 + exif-component: 1.0.1 + form-data: 4.0.1 + framer-motion: 11.0.8(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) + get-it: 8.6.5(debug@4.3.7) + get-random-values-esm: 1.0.2 + groq-js: 1.14.0 + history: 5.3.0 + i18next: 23.16.6 + import-fresh: 3.3.0 + is-hotkey-esm: 1.0.0 + jsdom: 23.2.0 + jsdom-global: 3.0.2(jsdom@23.2.0) + json-lexer: 1.2.0 + json-reduce: 3.0.0 + json5: 2.2.3 + lodash: 4.17.21 + log-symbols: 2.2.0 + mendoza: 3.0.7 + module-alias: 2.2.3 + nano-pubsub: 3.0.0 + nanoid: 3.3.7 + node-html-parser: 6.1.13 + observable-callback: 1.0.3(rxjs@7.8.1) + oneline: 1.0.3 + open: 8.4.2 + p-map: 7.0.2 + pirates: 4.0.6 + pluralize-esm: 9.0.5 + polished: 4.3.1 + pretty-ms: 7.0.1 + quick-lru: 5.1.1 + raf: 3.4.1 + react: 19.0.0-rc.1 + react-copy-to-clipboard: 5.1.0(react@19.0.0-rc.1) + react-dom: 19.0.0-rc.1(react@19.0.0-rc.1) + react-fast-compare: 3.2.2 + react-focus-lock: 2.13.2(@types/react@18.3.12)(react@19.0.0-rc.1) + react-i18next: 14.0.2(i18next@23.16.6)(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) + react-is: 18.3.1 + react-refractor: 2.2.0(react@19.0.0-rc.1) + react-rx: 4.1.6(react@19.0.0-rc.1)(rxjs@7.8.1) + read-pkg-up: 7.0.1 + refractor: 3.6.0 + resolve-from: 5.0.0 + resolve.exports: 2.0.2 + rimraf: 3.0.2 + rxjs: 7.8.1 + rxjs-exhaustmap-with-trailing: 2.1.1(rxjs@7.8.1) + sanity-diff-patch: 4.0.0 + scroll-into-view-if-needed: 3.1.0 + semver: 7.6.3 + shallow-equals: 1.0.0 + speakingurl: 14.0.1 + styled-components: 6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) + tar-fs: 2.1.1 + tar-stream: 3.1.7 + use-device-pixel-ratio: 1.1.2(react@19.0.0-rc.1) + use-hot-module-reload: 2.0.0(react@19.0.0-rc.1) + use-sync-external-store: 1.2.2(react@19.0.0-rc.1) + vite: 4.5.5(@types/node@22.9.1)(terser@5.36.0) + yargs: 17.7.2 + transitivePeerDependencies: + - '@types/node' + - '@types/react' + - bufferutil + - canvas + - less + - lightningcss + - react-native + - sass + - stylus + - sugarss + - supports-color + - terser + - utf-8-validate + sass-formatter@0.7.9: dependencies: suf-log: 2.5.3 @@ -18611,6 +19009,20 @@ snapshots: slate-dom: 0.111.0(slate@0.110.2) tiny-invariant: 1.3.1 + slate-react@0.111.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1)(slate-dom@0.111.0(slate@0.110.2))(slate@0.110.2): + dependencies: + '@juggle/resize-observer': 3.4.0 + direction: 1.0.4 + is-hotkey: 0.2.0 + is-plain-object: 5.0.0 + lodash: 4.17.21 + react: 19.0.0-rc.1 + react-dom: 19.0.0-rc.1(react@19.0.0-rc.1) + scroll-into-view-if-needed: 3.1.0 + slate: 0.110.2 + slate-dom: 0.111.0(slate@0.110.2) + tiny-invariant: 1.3.1 + slate@0.110.2: dependencies: immer: 10.1.1 @@ -18814,6 +19226,20 @@ snapshots: stylis: 4.3.2 tslib: 2.6.2 + styled-components@6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1): + dependencies: + '@emotion/is-prop-valid': 1.2.2 + '@emotion/unitless': 0.8.1 + '@types/stylis': 4.2.5 + css-to-react-native: 3.2.0 + csstype: 3.1.3 + postcss: 8.4.38 + react: 19.0.0-rc.1 + react-dom: 19.0.0-rc.1(react@19.0.0-rc.1) + shallowequal: 1.1.0 + stylis: 4.3.2 + tslib: 2.6.2 + styled-jsx@5.1.1(react@18.3.1): dependencies: client-only: 0.0.1 @@ -18866,6 +19292,10 @@ snapshots: dependencies: react: 18.3.1 + suspend-react@0.1.3(react@19.0.0-rc.1): + dependencies: + react: 19.0.0-rc.1 + svelte-check@4.0.9(picomatch@4.0.2)(svelte@5.2.6)(typescript@5.6.3): dependencies: '@jridgewell/trace-mapping': 0.3.25 @@ -19516,24 +19946,49 @@ snapshots: optionalDependencies: '@types/react': 18.3.12 + use-callback-ref@1.3.2(@types/react@18.3.12)(react@19.0.0-rc.1): + dependencies: + react: 19.0.0-rc.1 + tslib: 2.8.1 + optionalDependencies: + '@types/react': 18.3.12 + use-device-pixel-ratio@1.1.2(react@18.3.1): dependencies: react: 18.3.1 + use-device-pixel-ratio@1.1.2(react@19.0.0-rc.1): + dependencies: + react: 19.0.0-rc.1 + use-effect-event@1.0.2(react@18.3.1): dependencies: react: 18.3.1 + use-effect-event@1.0.2(react@19.0.0-rc.1): + dependencies: + react: 19.0.0-rc.1 + use-hot-module-reload@2.0.0(react@18.3.1): dependencies: react: 18.3.1 + use-hot-module-reload@2.0.0(react@19.0.0-rc.1): + dependencies: + react: 19.0.0-rc.1 + use-isomorphic-layout-effect@1.1.2(@types/react@18.3.12)(react@18.3.1): dependencies: react: 18.3.1 optionalDependencies: '@types/react': 18.3.12 + use-isomorphic-layout-effect@1.1.2(@types/react@18.3.12)(react@19.0.0-rc.1): + dependencies: + react: 19.0.0-rc.1 + optionalDependencies: + '@types/react': 18.3.12 + use-sidecar@1.1.2(@types/react@18.3.12)(react@18.3.1): dependencies: detect-node-es: 1.1.0 @@ -19542,10 +19997,22 @@ snapshots: optionalDependencies: '@types/react': 18.3.12 + use-sidecar@1.1.2(@types/react@18.3.12)(react@19.0.0-rc.1): + dependencies: + detect-node-es: 1.1.0 + react: 19.0.0-rc.1 + tslib: 2.8.1 + optionalDependencies: + '@types/react': 18.3.12 + use-sync-external-store@1.2.2(react@18.3.1): dependencies: react: 18.3.1 + use-sync-external-store@1.2.2(react@19.0.0-rc.1): + dependencies: + react: 19.0.0-rc.1 + util-deprecate@1.0.2: {} uuid@10.0.0: {} diff --git a/studio/package.json b/studio/package.json index 8e4e412..0f5583b 100644 --- a/studio/package.json +++ b/studio/package.json @@ -3,6 +3,7 @@ "private": true, "version": "1.0.0", "scripts": { + "schema:extract": "sanity schema extract", "dev": "sanity dev", "start": "sanity start", "build": "sanity build",