Kaizen
Browse modulesFormsforms/serverClasses

Class: FormSchema

Defined in: server/forms/models.ts:12

Extended by

Constructors

Constructor

new FormSchema(record: {
  allowUserEditing: boolean;
  createdAt: Date;
  createdBy: string | null;
  currentVersionId: string | null;
  deletedAt: Date | null;
  deletedBy: string | null;
  id: string;
  isActive: boolean;
  name: string;
  organizationId: string | null;
  renderMode: string;
  type: string;
  updatedAt: Date;
  updatedBy: string | null;
}): FormSchema;

Defined in: server/forms/models.ts:15

Parameters

ParameterType
record{ allowUserEditing: boolean; createdAt: Date; createdBy: string | null; currentVersionId: string | null; deletedAt: Date | null; deletedBy: string | null; id: string; isActive: boolean; name: string; organizationId: string | null; renderMode: string; type: string; updatedAt: Date; updatedBy: string | null; }
record.allowUserEditingboolean
record.createdAtDate
record.createdBystring | null
record.currentVersionIdstring | null
record.deletedAtDate | null
record.deletedBystring | null
record.idstring
record.isActiveboolean
record.namestring
record.organizationIdstring | null
record.renderModestring
record.typestring
record.updatedAtDate
record.updatedBystring | null

Returns

FormSchema

Properties

record

readonly record: {
  allowUserEditing: boolean;
  createdAt: Date;
  createdBy: string | null;
  currentVersionId: string | null;
  deletedAt: Date | null;
  deletedBy: string | null;
  id: string;
  isActive: boolean;
  name: string;
  organizationId: string | null;
  renderMode: string;
  type: string;
  updatedAt: Date;
  updatedBy: string | null;
};

Defined in: server/forms/models.ts:13

allowUserEditing

allowUserEditing: boolean;

createdAt

createdAt: Date;

createdBy

createdBy: string | null;

currentVersionId

currentVersionId: string | null;

deletedAt

deletedAt: Date | null;

deletedBy

deletedBy: string | null;

id

id: string;

isActive

isActive: boolean;

name

name: string;

organizationId

organizationId: string | null;

renderMode

renderMode: string;

type

type: string;

updatedAt

updatedAt: Date;

updatedBy

updatedBy: string | null;

Accessors

allowUserEditing

Get Signature

get allowUserEditing(): boolean;

Defined in: server/forms/models.ts:35

Returns

boolean


createdAt

Get Signature

get createdAt(): Date;

Defined in: server/forms/models.ts:43

Returns

Date


createdBy

Get Signature

get createdBy(): string | null;

Defined in: server/forms/models.ts:51

Returns

string | null


currentVersionId

Get Signature

get currentVersionId(): string | null;

Defined in: server/forms/models.ts:39

Returns

string | null


hasCurrentVersion

Get Signature

get hasCurrentVersion(): boolean;

Defined in: server/forms/models.ts:63

Returns

boolean


id

Get Signature

get id(): string;

Defined in: server/forms/models.ts:19

Returns

string


isActive

Get Signature

get isActive(): boolean;

Defined in: server/forms/models.ts:31

Returns

boolean


isDeleted

Get Signature

get isDeleted(): boolean;

Defined in: server/forms/models.ts:59

Returns

boolean


name

Get Signature

get name(): string;

Defined in: server/forms/models.ts:27

Returns

string


type

Get Signature

get type(): string;

Defined in: server/forms/models.ts:23

Returns

string


updatedAt

Get Signature

get updatedAt(): Date;

Defined in: server/forms/models.ts:47

Returns

Date


updatedBy

Get Signature

get updatedBy(): string | null;

Defined in: server/forms/models.ts:55

Returns

string | null

Methods

toJSON()

toJSON(): {
  allowUserEditing: boolean;
  createdAt: Date;
  createdBy: string | null;
  currentVersionId: string | null;
  id: string;
  isActive: boolean;
  isDeleted: boolean;
  name: string;
  type: string;
  updatedAt: Date;
  updatedBy: string | null;
};

Defined in: server/forms/models.ts:71

Returns

{
  allowUserEditing: boolean;
  createdAt: Date;
  createdBy: string | null;
  currentVersionId: string | null;
  id: string;
  isActive: boolean;
  isDeleted: boolean;
  name: string;
  type: string;
  updatedAt: Date;
  updatedBy: string | null;
}
allowUserEditing
allowUserEditing: boolean;
createdAt
createdAt: Date;
createdBy
createdBy: string | null;
currentVersionId
currentVersionId: string | null;
id
id: string;
isActive
isActive: boolean;
isDeleted
isDeleted: boolean;
name
name: string;
type
type: string;
updatedAt
updatedAt: Date;
updatedBy
updatedBy: string | null;

toRaw()

toRaw(): {
  allowUserEditing: boolean;
  createdAt: Date;
  createdBy: string | null;
  currentVersionId: string | null;
  deletedAt: Date | null;
  deletedBy: string | null;
  id: string;
  isActive: boolean;
  name: string;
  organizationId: string | null;
  renderMode: string;
  type: string;
  updatedAt: Date;
  updatedBy: string | null;
};

Defined in: server/forms/models.ts:67

Returns

{
  allowUserEditing: boolean;
  createdAt: Date;
  createdBy: string | null;
  currentVersionId: string | null;
  deletedAt: Date | null;
  deletedBy: string | null;
  id: string;
  isActive: boolean;
  name: string;
  organizationId: string | null;
  renderMode: string;
  type: string;
  updatedAt: Date;
  updatedBy: string | null;
}
allowUserEditing
allowUserEditing: boolean;
createdAt
createdAt: Date;
createdBy
createdBy: string | null;
currentVersionId
currentVersionId: string | null;
deletedAt
deletedAt: Date | null;
deletedBy
deletedBy: string | null;
id
id: string;
isActive
isActive: boolean;
name
name: string;
organizationId
organizationId: string | null;
renderMode
renderMode: string;
type
type: string;
updatedAt
updatedAt: Date;
updatedBy
updatedBy: string | null;

On this page