@dopt/block-types
Advanced tools
Comparing version 0.0.0 to 1.0.0-beta.0
import { Static } from '@sinclair/typebox'; | ||
export declare const FlowState: import("@sinclair/typebox").TReadonly<import("@sinclair/typebox").TObject<{ | ||
exited: import("@sinclair/typebox").TBoolean; | ||
started: import("@sinclair/typebox").TBoolean; | ||
completed: import("@sinclair/typebox").TBoolean; | ||
}>>; | ||
export type FlowState = Static<typeof FlowState>; | ||
export declare const Flow: import("@sinclair/typebox").TObject<{ | ||
@@ -3,0 +9,0 @@ kind: import("@sinclair/typebox").TReadonly<import("@sinclair/typebox").TLiteral<"flow">>; |
@@ -33,2 +33,3 @@ "use strict"; | ||
FlowIntent: () => FlowIntent, | ||
FlowState: () => FlowState, | ||
Model: () => Model, | ||
@@ -102,2 +103,9 @@ ModelProps: () => ModelProps | ||
var import_typebox7 = require("@sinclair/typebox"); | ||
var FlowState = import_typebox7.Type.Readonly( | ||
import_typebox7.Type.Object({ | ||
exited: import_typebox7.Type.Boolean(), | ||
started: import_typebox7.Type.Boolean(), | ||
completed: import_typebox7.Type.Boolean() | ||
}) | ||
); | ||
var Flow = import_typebox7.Type.Object({ | ||
@@ -109,9 +117,3 @@ kind: import_typebox7.Type.Readonly(import_typebox7.Type.Literal("flow")), | ||
version: import_typebox7.Type.Readonly(import_typebox7.Type.Number()), | ||
state: import_typebox7.Type.Readonly( | ||
import_typebox7.Type.Object({ | ||
exited: import_typebox7.Type.Boolean(), | ||
started: import_typebox7.Type.Boolean(), | ||
completed: import_typebox7.Type.Boolean() | ||
}) | ||
), | ||
state: FlowState, | ||
blocks: import_typebox7.Type.Optional(import_typebox7.Type.Array(Block)) | ||
@@ -131,4 +133,5 @@ }); | ||
FlowIntent, | ||
FlowState, | ||
Model, | ||
ModelProps | ||
}); |
{ | ||
"name": "@dopt/block-types", | ||
"version": "0.0.0", | ||
"version": "1.0.0-beta.0", | ||
"description": "Schema/Type definitions for objects surfaced through the Block API", | ||
"homepage": "https://github.com/dopt/odopt/tree/main/packages/%40dopt/block-types", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/dopt/odopt.git", | ||
"directory": "packages/@dopt/block-types" | ||
}, | ||
"license": "MIT", | ||
"private": false, | ||
@@ -35,4 +42,4 @@ "main": "./dist/index.js", | ||
"typescript": "4.9.3", | ||
"@dopt/check-formatting": "0.0.0", | ||
"@dopt/config": "0.0.0", | ||
"@dopt/check-formatting": "0.0.0", | ||
"@dopt/tsup": "0.0.0" | ||
@@ -39,0 +46,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
27852
0
431
0