Skip to main content

@idpass/data-collect-core / syncScopeOverrideSchema

Variable: syncScopeOverrideSchema

const syncScopeOverrideSchema: ZodObject<{ areaIds: ZodOptional<ZodNullable<ZodArray<ZodString>>>; entityTypes: ZodOptional<ZodNullable<ZodArray<ZodEnum<{ individual: "individual"; group: "group"; }>>>>; timeWindow: ZodOptional<ZodNullable<ZodUnion<readonly [ZodObject<{ type: ZodLiteral<"rolling">; days: ZodNumber; }, $strip>, ZodObject<{ type: ZodLiteral<"fixed">; floor: ZodString; }, $strip>]>>>; }, $strip> = syncScopePolicySchema

Defined in: interfaces/scope.ts:60

Override carried on a per-user role assignment. Narrows the tenant default.