Skip to content

Coalition Builder Frontend Components v0.1.0


Coalition Builder Frontend Components / types / Campaign

Interface: Campaign

Defined in: shared/types/api.ts:7

Shared API types used across frontend and SSR This ensures consistency between client and server-side code

Properties

id

id: number

Defined in: shared/types/api.ts:8


name

name: string

Defined in: shared/types/api.ts:9


title

title: string

Defined in: shared/types/api.ts:10


summary

summary: string

Defined in: shared/types/api.ts:11


description?

optional description: string

Defined in: shared/types/api.ts:12


image_url?

optional image_url: string

Defined in: shared/types/api.ts:13


image_alt_text?

optional image_alt_text: string

Defined in: shared/types/api.ts:14


image_author?

optional image_author: string

Defined in: shared/types/api.ts:15


image_license?

optional image_license: string

Defined in: shared/types/api.ts:16


image_source_url?

optional image_source_url: string

Defined in: shared/types/api.ts:17


endorsement_statement?

optional endorsement_statement: string

Defined in: shared/types/api.ts:18


allow_endorsements?

optional allow_endorsements: boolean

Defined in: shared/types/api.ts:19


endorsement_form_instructions?

optional endorsement_form_instructions: string

Defined in: shared/types/api.ts:20


active?

optional active: boolean

Defined in: shared/types/api.ts:21


created_at?

optional created_at: string

Defined in: shared/types/api.ts:22