@sumaris-net/ngx-components 2.0.3 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "2.0.3",
4
+ "version": "2.0.5",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
package/public_api.d.ts CHANGED
@@ -204,8 +204,8 @@ export * from './src/app/social/user-event/user-event.model';
204
204
  export * from './src/app/social/user-event/user-event.service';
205
205
  export * from './src/app/social/user-event/notification/user-event-notification.icon';
206
206
  export * from './src/app/social/job/job.module';
207
- export * from './src/app/social/job/job.model';
208
207
  export * from './src/app/social/job/progression/job-progression.service';
208
+ export * from './src/app/social/job/progression/job-progression.model';
209
209
  export * from './src/app/social/job/progression/job-progression.icon';
210
210
  export * from './src/app/social/job/progression/job-progression.list';
211
211
  export * from './src/app/social/message/message.module';
@@ -5,4 +5,5 @@ export declare const SocialErrorCodes: {
5
5
  SEND_MESSAGE_ERROR: number;
6
6
  SUBSCRIBE_USER_EVENTS_ERROR: number;
7
7
  SUBSCRIBE_JOB_PROGRESSION_ERROR: number;
8
+ LOAD_JOB_PROGRESSIONS_ERROR: number;
8
9
  };
@@ -22,6 +22,7 @@ export declare class UserEventTest extends Entity<UserEventTest> implements IUse
22
22
  avatar?: string;
23
23
  avatarIcon?: IconRef;
24
24
  icon?: IconRef;
25
+ jobId?: number;
25
26
  actions?: IUserEventAction[];
26
27
  constructor();
27
28
  asObject(opts?: EntityAsObjectOptions): any;
@@ -36,6 +37,7 @@ export declare class UserEventTestFilter extends EntityFilter<UserEventTestFilte
36
37
  startDate: Moment;
37
38
  includedIds: number[];
38
39
  excludeRead: boolean;
40
+ jobId: number;
39
41
  fromObject(source: any, opts?: any): void;
40
42
  protected buildFilter(): FilterFn<UserEventTest>[];
41
43
  asObject(opts?: EntityAsObjectOptions): StoreObject;
@@ -17,6 +17,7 @@ export interface IUserEvent<E extends Entity<E, ID>, ID = number, U = string, L
17
17
  avatarIcon?: IconRef;
18
18
  avatarJdenticon?: any;
19
19
  icon?: IconRef;
20
+ jobId?: number;
20
21
  actions?: IUserEventAction[];
21
22
  }
22
23
  export interface IUserEventFilter<E extends IUserEvent<E, ID, U, L>, ID = number, U = string, L = EventLevel> extends IEntityFilter<any, E> {
@@ -27,6 +28,7 @@ export interface IUserEventFilter<E extends IUserEvent<E, ID, U, L>, ID = number
27
28
  startDate: Moment;
28
29
  includedIds: ID[];
29
30
  excludeRead: boolean;
31
+ jobId?: number;
30
32
  }
31
33
  export interface IUserEventAction {
32
34
  name: string | any;
@@ -1,4 +0,0 @@
1
- // todo use entity
2
- export class Job {
3
- }
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiam9iLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9zb2NpYWwvam9iL2pvYi5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFpQkEsa0JBQWtCO0FBQ2xCLE1BQU0sT0FBTyxHQUFHO0NBU2YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBNb21lbnQgfSBmcm9tICdtb21lbnQnO1xuaW1wb3J0IHsgRW50aXR5Q2xhc3MgfSBmcm9tICcuLi8uLi9jb3JlL3NlcnZpY2VzL21vZGVsL2VudGl0eS5kZWNvcmF0b3JzJztcbmltcG9ydCB7IEVudGl0eSB9IGZyb20gJy4uLy4uL2NvcmUvc2VydmljZXMvbW9kZWwvZW50aXR5Lm1vZGVsJztcblxuZXhwb3J0IHR5cGUgSm9iU3RhdHVzID0gJ1BFTkRJTkcnIHwgJ1JVTk5JTkcnIHwgJ1NVQ0NFU1MnIHwgJ0VSUk9SJyB8ICdGQUlMRUQnIHwgJ1dBUk5JTkcnIHwgJ0NBTkNFTExFRCc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUpvYiB7XG4gIGlkOiBudW1iZXI7XG4gIG5hbWU6IHN0cmluZztcbiAgdHlwZTogc3RyaW5nO1xuICBzdGF0dXM6IEpvYlN0YXR1cztcbiAgc3RhcnREYXRlOiBNb21lbnQ7XG4gIGVuZERhdGU6IE1vbWVudDtcbiAgY29uZmlndXJhdGlvbjogc3RyaW5nO1xuICByZXBvcnQ6IHN0cmluZztcbn1cblxuLy8gdG9kbyB1c2UgZW50aXR5XG5leHBvcnQgY2xhc3MgSm9iIGltcGxlbWVudHMgSUpvYiB7XG4gIGlkOiBudW1iZXI7XG4gIG5hbWU6IHN0cmluZztcbiAgdHlwZTogc3RyaW5nO1xuICBzdGF0dXM6IEpvYlN0YXR1cztcbiAgc3RhcnREYXRlOiBNb21lbnQ7XG4gIGVuZERhdGU6IE1vbWVudDtcbiAgY29uZmlndXJhdGlvbjogc3RyaW5nO1xuICByZXBvcnQ6IHN0cmluZztcbn1cbiJdfQ==
@@ -1,22 +0,0 @@
1
- import { Moment } from 'moment';
2
- export declare type JobStatus = 'PENDING' | 'RUNNING' | 'SUCCESS' | 'ERROR' | 'FAILED' | 'WARNING' | 'CANCELLED';
3
- export interface IJob {
4
- id: number;
5
- name: string;
6
- type: string;
7
- status: JobStatus;
8
- startDate: Moment;
9
- endDate: Moment;
10
- configuration: string;
11
- report: string;
12
- }
13
- export declare class Job implements IJob {
14
- id: number;
15
- name: string;
16
- type: string;
17
- status: JobStatus;
18
- startDate: Moment;
19
- endDate: Moment;
20
- configuration: string;
21
- report: string;
22
- }