types updated

main
emehmet 3 years ago
parent 10e48a7575
commit b3a598bc59

@ -1,4 +1,7 @@
export type TakipGps = {
import { ObjectId } from "https://deno.land/x/mongo@v0.31.2/mod.ts";
export type MongoTakipGpsYeni = {
_id: string
IMEI: string
GSM: string
@ -54,3 +57,145 @@ export type TakipGps = {
FOLLOWERS: Array<any>
MOTORBLOKAJ: number
}
export type MongoTakipGpsDataByday = {
_id: ObjectId
AID: number
D: string
LOG: Array<{
IS: number
TKMT: number
S: number
DT: Date
DI: string
L: {
type: string
coordinates: Array<number>
}
}>
UDT: Date
}
export type MongoAssetAlarmKomut = {
_id: ObjectId
AID: number
SAVED: boolean
aas_id: ObjectId
ALARM_TYPE: string
DATA_PROPS: {
SPEED_LIMIT: number
}
KID: number
MID: number
RETRIES: number
SAVED_AT: Date
SENT: boolean
SENT_AT: Date
UPDATED_AT: Date
}
export type MongoAracAyarlar = {
_id: ObjectId
AID: number
CREATEDAT: Date
FCICL: number
KULLANICIID: number
MUSTERIID: number
UPDATEDAT: Date
FCOCL: number
}
export type MongoSuruculer = {
_id: string
ID: number
KULLANICIID: number
MUSTERIID: number
ADSOYAD: string
KARTNO: string
EMAIL: string
EHLIYETTIP: string
TEL1: string
TEL2: string
TEL3: string
ADRES: string
IL: string
ILCE: string
SSKNO: string
TCKIMLIK: string
KAYITTARIH: Date
UPDATETARIH: string
ALAN1: string
ALAN2: string
ALAN3: string
AKTIF: number
}
export type MongoCanBusData = {
_id: ObjectId
AID: number
WS: string
ES: string
ECT: string
HRVD: string
VT: string
X: string
Y: string
}
export type ReportInput = {
_id: ObjectId
NAME: string
TYPE: string
QUERY: string
SORTER_I: Array<{
field: string
order: string
}>
FILTER: Array<{
field: string
operator: string
value: Array<any>
}>
}
export type MongoSessions = {
_id: string
expires: Date
session: {
cookie: {
originalMaxAge: number
expires: Date
secure: any
httpOnly: boolean
domain: any
path: string
sameSite: any
}
user: {
_id: string
username: string
pushToken: string
profile: {
IP: string
EMAIL: string
KULLANICIID: number
MUSTERIID: number
ADSOYAD: string
TEL1: string
TEL2: string
APP_GENERAL_DATA: {
APP_NAME: string
LANG: string
}
}
}
}
}

Loading…
Cancel
Save