Skip to content

Commit

Permalink
Update Sanity example deps and fix readme typo (#68359)
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan authored Aug 2, 2024
1 parent 9513224 commit 93824b9
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 15 deletions.
2 changes: 1 addition & 1 deletion examples/cms-sanity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ If you started with [deploying your own](#deploy-your-own) then you can run this

```bash
npx vercel link
npx vercel pull
npx vercel env pull
```

### Using the Sanity CLI
Expand Down
28 changes: 14 additions & 14 deletions examples/cms-sanity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,32 @@
"typegen": "sanity schema extract && sanity typegen generate"
},
"dependencies": {
"@sanity/assist": "^3.0.4",
"@sanity/icons": "^3.0.0",
"@sanity/assist": "^3.0.5",
"@sanity/icons": "^3.3.1",
"@sanity/image-url": "^1.0.2",
"@sanity/preview-url-secret": "^1.6.7",
"@sanity/vision": "^3.44.0",
"@sanity/preview-url-secret": "^1.6.18",
"@sanity/vision": "^3.52.4",
"@tailwindcss/typography": "^0.5.13",
"@types/node": "^20.14.1",
"@types/node": "^20.14.13",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vercel/speed-insights": "^1.0.11",
"@vercel/speed-insights": "^1.0.12",
"autoprefixer": "^10.4.19",
"date-fns": "^3.6.0",
"next": "^14.2.3",
"next-sanity": "^9.3.10",
"postcss": "^8.4.38",
"next": "^14.2.5",
"next-sanity": "^9.4.3",
"postcss": "^8.4.40",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sanity": "^3.44.0",
"sanity": "^3.52.4",
"sanity-plugin-asset-source-unsplash": "^3.0.1",
"server-only": "^0.0.1",
"styled-components": "^6.1.11",
"tailwindcss": "^3.4.3",
"typescript": "5.4.5"
"styled-components": "^6.1.12",
"tailwindcss": "^3.4.7",
"typescript": "5.5.4"
},
"devDependencies": {
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.3"
"eslint-config-next": "^14.2.5"
}
}
28 changes: 28 additions & 0 deletions examples/cms-sanity/sanity.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,34 @@ export type SanityAssistSchemaTypeField = {
} & 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;
// Source: ./sanity/lib/queries.ts
// Variable: settingsQuery
Expand Down

0 comments on commit 93824b9

Please sign in to comment.