chore: fix

Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2023-02-24 15:28:16 +01:00
parent d57708a0c7
commit a5b890b57d
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ export function createCatalogRegisterAction(options: {
// @public
export function createCatalogWriteAction(): TemplateAction_2<{
filePath?: string | undefined;
entity?: {} | undefined;
entity: {};
}>;
// @public
@@ -59,7 +59,7 @@ const examples = [
export function createCatalogWriteAction() {
return createTemplateAction({
id: 'catalog:write',
id,
description: 'Writes the catalog-info.yaml for your template',
schema: {
input: z.object({
@@ -67,9 +67,9 @@ export function createCatalogWriteAction() {
.string()
.optional()
.describe('Defaults to catalog-info.yaml'),
// TODO: this should reference an zod entity validator if it existed.
entity: z
.object({})
.optional()
.describe(
'You can provide the same values used in the Entity schema.',
),