@nycu-sdc/core-system-sdk
    Preparing search index...

    Interface FormsFormResponse

    Response model for a form with creator and last editor user details.

    interface FormsFormResponse {
        allowEditResponse: boolean;
        coverImage?: string;
        createdAt: string;
        creator: UserProfileResponse;
        deadline: string;
        description: ProseMirrorDocument;
        descriptionHtml?: string;
        dressing?: FormsFormDressing;
        googleSheetUrl?: string;
        id: string;
        lastEditor: UserProfileResponse;
        messageAfterSubmission: string;
        previewMessage: string;
        publishTime?: string;
        status: FormsFormStatus;
        title: string;
        unitId: string;
        updatedAt: string;
        visibility: FormsFormVisibility;
    }
    Index

    Properties

    allowEditResponse: boolean

    Whether the current user can edit their responses to the form. This is true if the form is still open and the user has already started a response, allowing them to continue editing until the deadline.

    coverImage?: string

    The full URL to access the cover image.

    createdAt: string

    The creation timestamp of the form.

    The user who created the form.

    deadline: string

    The deadline of the form

    description: ProseMirrorDocument

    The form description as ProseMirror JSON, for admin editing in Tiptap.

    descriptionHtml?: string

    The form description rendered as HTML for frontend form display and preview.

    The dressing of the form.

    googleSheetUrl?: string

    The google sheet url this form's responses will be sent to.

    id: string

    The form's unique identifier.

    The user who last edited the form.

    messageAfterSubmission: string

    The message to show after user's submission.

    previewMessage: string

    Preview text. If not provided, fallback to first 25 characters of description.

    publishTime?: string

    When the form is available to be filled.

    The status of this form.

    title: string

    The title of the form.

    unitId: string

    The unit this form belongs to.

    updatedAt: string

    The last updated timestamp of the form

    The visibility setting of the form. Public forms are visible to all logged-in users. Private forms require a direct link to access.