diff --git a/cli/src/commands/hub/hub.ts b/cli/src/commands/hub/hub.ts index 83ec15a5e3..1a1f144de1 100644 --- a/cli/src/commands/hub/hub.ts +++ b/cli/src/commands/hub/hub.ts @@ -16,6 +16,7 @@ interface HubResourceType { schema: string; app: string; description: string; + is_fileset?: boolean; } export async function pull(opts: GlobalOptions) { @@ -114,7 +115,8 @@ export async function pull(opts: GlobalOptions) { y.name === x.name && typeof y.schema !== "string" && deepEqual(y.schema, x.schema) && - y.description === x.description + y.description === x.description && + (y.is_fileset ?? false) === (x.is_fileset ?? false) ) ) { log.info("skipping " + x.name + " (same as current)"); diff --git a/cli/src/commands/resource-type/resource-type.ts b/cli/src/commands/resource-type/resource-type.ts index 2058c80923..0a5afe8dcb 100644 --- a/cli/src/commands/resource-type/resource-type.ts +++ b/cli/src/commands/resource-type/resource-type.ts @@ -24,6 +24,7 @@ import { capitalize, toCamel } from "../../utils/utils.ts"; export interface ResourceTypeFile { schema?: any; description?: string; + is_fileset?: boolean; } export async function pushResourceType(