Skip to documentation

Design system / Sources & standards

Current repository source

types.ts

src/components/members/types.ts

This view contains the escaped source read during the deployment build. Code and policy text are unchanged. Markdown is shown as source, not rendered as a document. A new deployment refreshes the content.

export { parseMemberEmails } from "./memberEmails";

export type MemberEntry = {
  id: string;
  email: string;
  displayName?: string | null;
  userId: string | null;
  /** Server-resolved per-row hint; never used as server authorization. */
  canRemove?: boolean;
  context?: string;
  stats?: string;
  createdAt?: string;
  /** Display state only; never an authorization decision. */
  inactive?: boolean;
  /** An in-flight assignment is not a saved invitation or an unclaimed account. */
  pending?: boolean;
  /** Acknowledged assignment whose canonical account linkage could not be refreshed. */
  linkageUnknown?: boolean;
};

export type MemberManagerConfig = {
  memberTypeLabel: string;
  /** Explicit plural; reviewer terminology may be irregular or non-English. */
  memberTypeLabelPlural: string;
  addPlaceholder: string;
  addHelpText: string;
  emptyMessage: string;
  showContext?: boolean;
  showStats?: boolean;
  title?: string;
  listLabel?: string;
  headingLevel?: 2 | 3;
  inputLabel?: string;
  inputRows?: number;
  addButtonLabel?: string;
  savingLabel?: string;
  addButtonVariant?: "default" | "outline";
};
All sources and standards
Current components and theme tokens. Fictional example data. Source views refresh on deployment; authors maintain contract notes.