Renamed prefixes in angular.json
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
This commit is contained in:
6
projects/common/src/fm/models/event.message.ts
Normal file
6
projects/common/src/fm/models/event.message.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export interface IEventMessage {
|
||||
eventType: string;
|
||||
parentCode: string;
|
||||
itemCode: string;
|
||||
attributes: any;
|
||||
}
|
28
projects/common/src/fm/models/item.ts
Normal file
28
projects/common/src/fm/models/item.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import { IListItem } from './list.item';
|
||||
|
||||
export interface IItem extends IListItem {
|
||||
parentCode?: string;
|
||||
geometry?: any;
|
||||
tags:string[],
|
||||
data?:any
|
||||
}
|
||||
|
||||
export class Item implements IItem {
|
||||
public code?:string;
|
||||
public parentCode?:string;
|
||||
public tags:string[];
|
||||
public geometry?:any;
|
||||
public url?: string;
|
||||
public name?: string;
|
||||
public created?: Date;
|
||||
public updated?: Date;
|
||||
public dataDate?: Date;
|
||||
public itemType?: string;
|
||||
public sourceTask?: string;
|
||||
public size?: number;
|
||||
public state?: number;
|
||||
public data?:any;
|
||||
|
||||
constructor() {
|
||||
}
|
||||
}
|
7
projects/common/src/fm/models/item.type.ts
Normal file
7
projects/common/src/fm/models/item.type.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export interface IItemType {
|
||||
icon?: string;
|
||||
viewer?: string;
|
||||
editor?: string;
|
||||
isFolder?: boolean;
|
||||
iconColor?: string;
|
||||
}
|
5
projects/common/src/fm/models/item.types.ts
Normal file
5
projects/common/src/fm/models/item.types.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { IItemType } from './item.type';
|
||||
|
||||
export interface IItemTypes{
|
||||
[id: string]: IItemType;
|
||||
};
|
15
projects/common/src/fm/models/itemTask.ts
Normal file
15
projects/common/src/fm/models/itemTask.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
export interface IItemTask {
|
||||
code?: string;
|
||||
taskType?: string;
|
||||
attributes?:any
|
||||
}
|
||||
|
||||
export class ItemTask implements IItemTask {
|
||||
public code?:string;
|
||||
public taskType?: string;
|
||||
public attributes?: any;
|
||||
|
||||
constructor() {
|
||||
}
|
||||
}
|
13
projects/common/src/fm/models/list.item.ts
Normal file
13
projects/common/src/fm/models/list.item.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export interface IListItem {
|
||||
url?: string;
|
||||
code?: string;
|
||||
name?: string;
|
||||
created?: Date;
|
||||
updated?: Date;
|
||||
dataDate?: Date;
|
||||
itemType?: string;
|
||||
sourceTask?: string;
|
||||
size?: number;
|
||||
state?: number;
|
||||
thumbnail?: boolean;
|
||||
}
|
4
projects/common/src/fm/models/typeahead.item.ts
Normal file
4
projects/common/src/fm/models/typeahead.item.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export interface ITypeaheadItem {
|
||||
name: string;
|
||||
type: string;
|
||||
}
|
5
projects/common/src/fm/models/user.ts
Normal file
5
projects/common/src/fm/models/user.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export interface IUser {
|
||||
code?: string;
|
||||
name?: string;
|
||||
email?: string;
|
||||
}
|
Reference in New Issue
Block a user