chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import * as sdk from '@botpress/sdk'
|
||||
import { BaseItem } from './abstract/base-item'
|
||||
const { z } = sdk
|
||||
|
||||
export namespace Folder {
|
||||
const _fields = {
|
||||
...BaseItem.schema.shape,
|
||||
itemType: z.literal('folder').title('Item Type').describe('The type of the item.'),
|
||||
} as const
|
||||
|
||||
export const schema = z.object(_fields)
|
||||
export type InferredType = sdk.z.infer<typeof schema>
|
||||
}
|
||||
Reference in New Issue
Block a user