Socket
Socket
Sign inDemoInstall

@sanity/types

Package Overview
Dependencies
Maintainers
23
Versions
897
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/types - npm Package Compare versions

Comparing version 2.13.2-ts-improvements.64 to 2.14.0

lib/assets/index.d.ts

1

.depcheckignore.json
{
"ignore": [
"_self_",
"@sanity/types",

@@ -5,0 +4,0 @@ "@sanity/bifur-client",

{
"name": "@sanity/types",
"version": "2.13.2-ts-improvements.64+e2bd8573c0",
"version": "2.14.0",
"description": "Type definitions for common Sanity data structures",
"main": "./lib/index.js",
"types": "./dist/dts",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"sideEffects": false,

@@ -23,5 +23,4 @@ "author": "Sanity.io <hello@sanity.io>",

"dependencies": {
"@sanity/client": "2.13.2-ts-improvements.64+e2bd8573c0",
"@sanity/client": "2.14.0",
"@sanity/color": "^2.1.4",
"@sanity/types": "2.13.2-ts-improvements.64+e2bd8573c0",
"@types/react": "^17.0.0",

@@ -43,3 +42,3 @@ "react": "17.0.1",

"homepage": "https://www.sanity.io/",
"gitHead": "e2bd8573c08d471eac77be0ff030f99e44711992"
"gitHead": "d2c4cba0760d3ca2b5ed9c2e9fe517b044af112e"
}

@@ -116,4 +116,2 @@ import React from 'react'

export interface AssetSourceComponentProps {
assetType?: 'file' | 'image'
dialogHeaderTitle?: string
selectedAssets: Asset[]

@@ -120,0 +118,0 @@ selectionType: 'single' | 'multiple'

@@ -201,5 +201,3 @@ // Note: INCOMPLETE, but it's a start

export interface FileSchemaType extends ObjectSchemaType {
options?: AssetSchemaTypeOptions & {
sources?: AssetSource[]
}
options?: AssetSchemaTypeOptions
}

@@ -206,0 +204,0 @@

{
"extends": "../../../tsconfig",
"extends": "../../../tsconfig.settings",
"include": ["src", "parts"],
"compilerOptions": {
"composite": true,
"outDir": "./dist/dts",
"outDir": "./lib",
"rootDir": "./src",
"jsx": "react",
"esModuleInterop": true,
"baseUrl": "./src",
"paths": {
"_self_": ["./src"]
}
"esModuleInterop": true
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc