@veltdev/types
Version:
Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.
18 lines (16 loc) • 772 B
TypeScript
// @ts-nocheck
/**
* Configuration for the opt-in cross-organization "For You" notifications feature.
*/
export interface CrossOrganizationConfig {
/** Whether cross-organization notifications are active. Defaults to `true` on enable. */
enabled?: boolean;
/** Allowlist of organization IDs to include. When omitted, all indexed orgs are eligible. */
organizationIds?: string[];
/** Organization IDs to exclude. The current organization is always excluded. */
excludeOrganizationIds?: string[];
/** Upper bound on the number of organizations fetched. Defaults to 20. */
maxOrganizations?: number;
/** Feeds the merge applies to. Only `'forYou'` is supported; `'all'` is ignored with a warning. */
feeds?: ('forYou' | 'all')[];
}