@stackbit/types
Advanced tools
Comparing version 2.0.3-staging.1 to 2.0.3
@@ -5,2 +5,3 @@ import * as StackbitTypes from './index'; | ||
onUpdate?: (options: OnUpdateOptions) => void; | ||
options?: OnUpdateOptions; | ||
runAction: (options: RunCustomActionOption) => Promise<unknown>; | ||
@@ -7,0 +8,0 @@ }; |
@@ -144,3 +144,3 @@ /** | ||
} | ||
export type FieldCustomControlType = 'custom-modal-html' | 'custom-inline-html'; | ||
export type FieldCustomControlType = 'custom-modal-html' | 'custom-inline-html' | 'custom-modal-script' | 'custom-inline-script'; | ||
export interface FieldCustomControlTypeProps<ControlType = never> { | ||
@@ -147,0 +147,0 @@ /** |
{ | ||
"name": "@stackbit/types", | ||
"version": "2.0.3-staging.1", | ||
"version": "2.0.3", | ||
"description": "Types for Stackbit config and Content Source Interface", | ||
@@ -30,3 +30,3 @@ "main": "dist/index.js", | ||
"homepage": "https://github.com/stackbit/stackbit#readme", | ||
"gitHead": "0deeacebc5d1ffc2cd058162b3512302d4a2eeaa" | ||
"gitHead": "c8b28038c552d357319e8a9da30d957ce87765d0" | ||
} |
@@ -6,2 +6,3 @@ import * as StackbitTypes from './index'; | ||
onUpdate?: (options: OnUpdateOptions) => void; | ||
options?: OnUpdateOptions; | ||
runAction: (options: RunCustomActionOption) => Promise<unknown>; | ||
@@ -8,0 +9,0 @@ }; |
@@ -194,3 +194,7 @@ /** | ||
export type FieldCustomControlType = 'custom-modal-html' | 'custom-inline-html'; | ||
export type FieldCustomControlType = | ||
| 'custom-modal-html' | ||
| 'custom-inline-html' | ||
| 'custom-modal-script' | ||
| 'custom-inline-script'; | ||
@@ -197,0 +201,0 @@ export interface FieldCustomControlTypeProps<ControlType = never> { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
403594
7282
1