@afriapps/fs-client
Version:
React Native FileServer Client SDK for file synchronization and data management. Requires React Native environment with SQLite and File System support.
43 lines (41 loc) • 1.08 kB
text/typescript
import { FS_Field } from './FS_Field';
export class FS_FileDefinition {
id: number;
applicationName: string;
storageType: string;
serverFormat: string;
applicationFormat: string;
name: string;
description: string;
version: string;
readRoles: string;
updateRoles: string;
deleteRoles: string;
producerOrConsumer: string;
fileDate: Date;
downloadDate: Date;
createDate: Date;
lastUpdateDate: Date;
fields: FS_Field[];
indexes: string;
constructor() {
this.id = 0;
this.applicationName = '';
this.storageType = '';
this.serverFormat = '';
this.applicationFormat = '';
this.name = '';
this.description = '';
this.version = '0.0';
this.readRoles = 'admin,user,producer';
this.updateRoles = 'admin';
this.deleteRoles = 'admin';
this.producerOrConsumer = 'System';
this.fileDate = new Date();
this.downloadDate = new Date();
this.createDate = new Date();
this.lastUpdateDate = new Date();
this.fields = [];
this.indexes = '';
}
}