Unverified Commit 93824b9a authored by Cody Olsen's avatar Cody Olsen Committed by GitHub

Update Sanity example deps and fix readme typo (#68359)

parent 95132244
...@@ -70,7 +70,7 @@ If you started with [deploying your own](#deploy-your-own) then you can run this ...@@ -70,7 +70,7 @@ If you started with [deploying your own](#deploy-your-own) then you can run this
```bash ```bash
npx vercel link npx vercel link
npx vercel pull npx vercel env pull
``` ```
### Using the Sanity CLI ### Using the Sanity CLI
......
...@@ -13,32 +13,32 @@ ...@@ -13,32 +13,32 @@
"typegen": "sanity schema extract && sanity typegen generate" "typegen": "sanity schema extract && sanity typegen generate"
}, },
"dependencies": { "dependencies": {
"@sanity/assist": "^3.0.4", "@sanity/assist": "^3.0.5",
"@sanity/icons": "^3.0.0", "@sanity/icons": "^3.3.1",
"@sanity/image-url": "^1.0.2", "@sanity/image-url": "^1.0.2",
"@sanity/preview-url-secret": "^1.6.7", "@sanity/preview-url-secret": "^1.6.18",
"@sanity/vision": "^3.44.0", "@sanity/vision": "^3.52.4",
"@tailwindcss/typography": "^0.5.13", "@tailwindcss/typography": "^0.5.13",
"@types/node": "^20.14.1", "@types/node": "^20.14.13",
"@types/react": "^18.3.3", "@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"@vercel/speed-insights": "^1.0.11", "@vercel/speed-insights": "^1.0.12",
"autoprefixer": "^10.4.19", "autoprefixer": "^10.4.19",
"date-fns": "^3.6.0", "date-fns": "^3.6.0",
"next": "^14.2.3", "next": "^14.2.5",
"next-sanity": "^9.3.10", "next-sanity": "^9.4.3",
"postcss": "^8.4.38", "postcss": "^8.4.40",
"react": "^18.3.1", "react": "^18.3.1",
"react-dom": "^18.3.1", "react-dom": "^18.3.1",
"sanity": "^3.44.0", "sanity": "^3.52.4",
"sanity-plugin-asset-source-unsplash": "^3.0.1", "sanity-plugin-asset-source-unsplash": "^3.0.1",
"server-only": "^0.0.1", "server-only": "^0.0.1",
"styled-components": "^6.1.11", "styled-components": "^6.1.12",
"tailwindcss": "^3.4.3", "tailwindcss": "^3.4.7",
"typescript": "5.4.5" "typescript": "5.5.4"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-config-next": "^14.2.3" "eslint-config-next": "^14.2.5"
} }
} }
...@@ -392,6 +392,34 @@ export type SanityAssistSchemaTypeField = { ...@@ -392,6 +392,34 @@ export type SanityAssistSchemaTypeField = {
} & SanityAssistInstruction } & SanityAssistInstruction
>; >;
}; };
export type AllSanitySchemaTypes =
| SanityImagePaletteSwatch
| SanityImagePalette
| SanityImageDimensions
| SanityFileAsset
| Geopoint
| Post
| Author
| Slug
| Settings
| SanityImageCrop
| SanityImageHotspot
| SanityImageAsset
| SanityAssetSourceData
| SanityImageMetadata
| SanityAssistInstructionTask
| SanityAssistTaskStatus
| SanityAssistSchemaTypeAnnotations
| SanityAssistOutputType
| SanityAssistOutputField
| SanityAssistInstructionContext
| AssistInstructionContext
| SanityAssistInstructionUserInput
| SanityAssistInstructionPrompt
| SanityAssistInstructionFieldRef
| SanityAssistInstruction
| SanityAssistSchemaTypeField;
export declare const internalGroqTypeReferenceTo: unique symbol; export declare const internalGroqTypeReferenceTo: unique symbol;
// Source: ./sanity/lib/queries.ts // Source: ./sanity/lib/queries.ts
// Variable: settingsQuery // Variable: settingsQuery
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment