Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/clever-carrots-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
1 change: 1 addition & 0 deletions .typedoc/custom-plugin.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ const LINK_REPLACEMENTS = [
['phone-number', '/docs/reference/backend/types/backend-phone-number'],
['saml-account', '/docs/reference/backend/types/backend-saml-account'],
['web3-wallet', '/docs/reference/backend/types/backend-web3-wallet'],
['invitation', '/docs/reference/backend/types/backend-invitation'],
['verify-token-options', '#verify-token-options'],
['localization-resource', '/docs/guides/customizing-clerk/localization'],
['confirm-checkout-params', '/docs/reference/javascript/types/billing-checkout-resource#parameters'],
Expand Down
24 changes: 24 additions & 0 deletions packages/backend/src/api/resources/WaitlistEntry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,38 @@ import type { WaitlistEntryStatus } from './Enums';
import { Invitation } from './Invitation';
import type { WaitlistEntryJSON } from './JSON';

/**
* The Backend `WaitlistEntry` object holds information about a waitlist entry for a given email address.
*/
export class WaitlistEntry {
constructor(
/**
* The unique identifier for this waitlist entry.
*/
readonly id: string,
/**
* The email address to add to the waitlist.
*/
readonly emailAddress: string,
/**
* The status of the waitlist entry.
*/
readonly status: WaitlistEntryStatus,
/**
* The invitation associated with this waitlist entry.
*/
readonly invitation: Invitation | null,
/**
* The date when the waitlist entry was first created.
*/
readonly createdAt: number,
/**
* The date when the waitlist entry was last updated.
*/
readonly updatedAt: number,
/**
* Whether the waitlist entry is locked or not.
*/
readonly isLocked?: boolean,
) {}

Expand Down
Loading