@admin-layout/timetracker-module-server 1.0.3-alpha.65 → 1.0.3-alpha.80

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.
@@ -1,5 +1,4 @@
1
1
  import { IPermissionType } from '@adminide-stack/core';
2
- import { IPreDefineAccountPermissions } from '../../constants';
3
2
  export declare const TimeTrackerRolesPermissionOverwrite: {
4
3
  OWNER: {
5
4
  "organization.timetracker.self.view": IPermissionType;
@@ -13,7 +13,7 @@ export declare class TimesheetService implements ITimesheetService {
13
13
  private settings;
14
14
  private logger;
15
15
  constructor(timesheetRepository: ITimesheetRepository, timeRecordRepository: ITimeRecordRepository, timeRecordService: ITimeRecordRepository, preferencesService: IPreferencesService, broker: ServiceBroker, settings: any, logger: ILogger);
16
- getTimesheets(orgId: string, userId?: string): Promise<import("../../../core/lib").ITimesheet[]>;
16
+ getTimesheets(orgId: string, userId?: string): Promise<import("@admin-layout/timetracker-core").ITimesheet[]>;
17
17
  getTimesheetsWithTotalHours(orgId: string, userId?: string): Promise<{
18
18
  id: string;
19
19
  startDate: any;
@@ -29,7 +29,7 @@ export declare class TimesheetService implements ITimesheetService {
29
29
  timeRecordsId: string[];
30
30
  totalDuration: number;
31
31
  }[]>;
32
- getDurationTimesheets(orgId: string, start: Date, end: Date): Promise<import("../../../core/lib").ITimesheet[]>;
32
+ getDurationTimesheets(orgId: string, start: Date, end: Date): Promise<import("@admin-layout/timetracker-core").ITimesheet[]>;
33
33
  createTimesheet(userId: string, orgId: string, request: ITimesheetCreateRequest): Promise<boolean>;
34
34
  updateTimesheet(userId: string, orgId: string, sheetId: string, request: ITimesheetCreateRequest, userContext?: any): Promise<boolean>;
35
35
  updateTimesheetStatus(orgId: string, sheetId: string, state: ITimesheetState): Promise<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admin-layout/timetracker-module-server",
3
- "version": "1.0.3-alpha.65",
3
+ "version": "1.0.3-alpha.80",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -38,13 +38,14 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@admin-layout/timetracker-core": "1.0.3-alpha.65",
41
+ "@admin-layout/timetracker-core": "1.0.3-alpha.78",
42
42
  "@container-stack/mailing-api": "^0.0.26-61",
43
43
  "humanize-duration": "^3.24.0",
44
44
  "moment": "^2.29.1"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@adminide-stack/core": "*",
48
+ "@adminide-stack/platform-server": "*",
48
49
  "@common-stack/core": "*",
49
50
  "@common-stack/server-core": ">=0.1.11",
50
51
  "@vscode-alt/monaco-editor": "*",
@@ -60,5 +61,5 @@
60
61
  "typescript": {
61
62
  "definition": "lib/index.d.ts"
62
63
  },
63
- "gitHead": "55ba5022f9f65d61bcbc8a34c1a5ccfdc1caada5"
64
+ "gitHead": "77faa50588fceb8284dda3ee760aac624aae62af"
64
65
  }