Kaizen
Browse modulesPeripheralsperipherals/serverTypes

Type Alias: PeripheralDeviceCreateRow

type PeripheralDeviceCreateRow = {
  connectionKind: string;
  deviceType: string;
  drawerPin?: number | null;
  host?: string | null;
  id?: string;
  make?: string | null;
  metadata?: Prisma.InputJsonValue;
  model?: string | null;
  name: string;
  organizationId: string;
  paperWidthChars?: number | null;
  port?: number | null;
  printerLanguage?: string | null;
  qzPrinterName?: string | null;
  stationId?: string | null;
  status?: string;
  storeId?: string | null;
  usbProductId?: number | null;
  usbSerialNumber?: string | null;
  usbVendorId?: number | null;
};

Defined in: server/peripherals/peripheral-device-repository.ts:11

Properties

connectionKind

connectionKind: string;

Defined in: server/peripherals/peripheral-device-repository.ts:19


deviceType

deviceType: string;

Defined in: server/peripherals/peripheral-device-repository.ts:18


drawerPin?

optional drawerPin?: number | null;

Defined in: server/peripherals/peripheral-device-repository.ts:29


host?

optional host?: string | null;

Defined in: server/peripherals/peripheral-device-repository.ts:23


id?

optional id?: string;

Defined in: server/peripherals/peripheral-device-repository.ts:13

Optional pre-generated UUID (seeders / imports); normally DB-generated.


make?

optional make?: string | null;

Defined in: server/peripherals/peripheral-device-repository.ts:21


metadata?

optional metadata?: Prisma.InputJsonValue;

Defined in: server/peripherals/peripheral-device-repository.ts:32


model?

optional model?: string | null;

Defined in: server/peripherals/peripheral-device-repository.ts:22


name

name: string;

Defined in: server/peripherals/peripheral-device-repository.ts:17


organizationId

organizationId: string;

Defined in: server/peripherals/peripheral-device-repository.ts:14


paperWidthChars?

optional paperWidthChars?: number | null;

Defined in: server/peripherals/peripheral-device-repository.ts:30


port?

optional port?: number | null;

Defined in: server/peripherals/peripheral-device-repository.ts:24


printerLanguage?

optional printerLanguage?: string | null;

Defined in: server/peripherals/peripheral-device-repository.ts:20


qzPrinterName?

optional qzPrinterName?: string | null;

Defined in: server/peripherals/peripheral-device-repository.ts:28


stationId?

optional stationId?: string | null;

Defined in: server/peripherals/peripheral-device-repository.ts:16


status?

optional status?: string;

Defined in: server/peripherals/peripheral-device-repository.ts:31


storeId?

optional storeId?: string | null;

Defined in: server/peripherals/peripheral-device-repository.ts:15


usbProductId?

optional usbProductId?: number | null;

Defined in: server/peripherals/peripheral-device-repository.ts:26


usbSerialNumber?

optional usbSerialNumber?: string | null;

Defined in: server/peripherals/peripheral-device-repository.ts:27


usbVendorId?

optional usbVendorId?: number | null;

Defined in: server/peripherals/peripheral-device-repository.ts:25

On this page