@admin-layout/schedule-module-server 3.1.1-alpha.4 → 3.2.1-alpha.0
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/lib/config/config.d.ts +3 -0
- package/lib/config/config.d.ts.map +1 -0
- package/lib/config/env-config.d.ts +17 -0
- package/lib/config/env-config.d.ts.map +1 -0
- package/lib/config/index.d.ts +2 -0
- package/lib/config/index.d.ts.map +1 -0
- package/lib/constants/constants.d.ts +1 -0
- package/lib/constants/constants.d.ts.map +1 -0
- package/lib/constants/constants.js +8 -0
- package/lib/constants/constants.js.map +1 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/index.d.ts.map +1 -0
- package/lib/containers/containers.d.ts +1 -0
- package/lib/containers/containers.d.ts.map +1 -0
- package/lib/containers/containers.js +21 -0
- package/lib/containers/containers.js.map +1 -0
- package/lib/containers/index.d.ts +1 -0
- package/lib/containers/index.d.ts.map +1 -0
- package/lib/dataloader/cache.d.ts +1 -0
- package/lib/dataloader/cache.d.ts.map +1 -0
- package/lib/dataloader/counter-dataloader.d.ts +1 -0
- package/lib/dataloader/counter-dataloader.d.ts.map +1 -0
- package/lib/dataloader/index.d.ts +1 -0
- package/lib/dataloader/index.d.ts.map +1 -0
- package/lib/graphqlTypes/index.d.ts +4 -0
- package/lib/graphqlTypes/index.d.ts.map +1 -0
- package/lib/graphqlTypes/resolvers.d.ts +7 -0
- package/lib/graphqlTypes/resolvers.d.ts.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +2 -989
- package/lib/index.js.map +1 -1
- package/lib/interfaces/generated-models.d.ts +1 -0
- package/lib/interfaces/generated-models.d.ts.map +1 -0
- package/lib/interfaces/index.d.ts +1 -0
- package/lib/interfaces/index.d.ts.map +1 -0
- package/lib/interfaces/schedule-repository.d.ts +1 -0
- package/lib/interfaces/schedule-repository.d.ts.map +1 -0
- package/lib/interfaces/schedule-service.d.ts +1 -0
- package/lib/interfaces/schedule-service.d.ts.map +1 -0
- package/lib/interfaces/timeline-repository.d.ts +1 -0
- package/lib/interfaces/timeline-repository.d.ts.map +1 -0
- package/lib/interfaces/timeline-service.d.ts +1 -0
- package/lib/interfaces/timeline-service.d.ts.map +1 -0
- package/lib/interfaces/timesheet-repository.d.ts +1 -0
- package/lib/interfaces/timesheet-repository.d.ts.map +1 -0
- package/lib/interfaces/timesheet-service.d.ts +1 -0
- package/lib/interfaces/timesheet-service.d.ts.map +1 -0
- package/lib/module.d.ts +1 -0
- package/lib/module.d.ts.map +1 -0
- package/lib/module.js +18 -0
- package/lib/module.js.map +1 -0
- package/lib/resolvers/index.d.ts +1 -0
- package/lib/resolvers/index.d.ts.map +1 -0
- package/lib/resolvers/index.js +2 -0
- package/lib/resolvers/index.js.map +1 -0
- package/lib/resolvers/schedule-resolver.d.ts +1 -0
- package/lib/resolvers/schedule-resolver.d.ts.map +1 -0
- package/lib/resolvers/schedule-resolver.js +24 -0
- package/lib/resolvers/schedule-resolver.js.map +1 -0
- package/lib/resolvers/timeline-resolver.d.ts +20 -0
- package/lib/resolvers/timeline-resolver.d.ts.map +1 -0
- package/lib/schema/index.d.ts +1 -0
- package/lib/schema/index.d.ts.map +1 -0
- package/lib/schema/index.js +3 -0
- package/lib/schema/index.js.map +1 -0
- package/lib/schema/schedule-schema.graphql.js +1 -0
- package/lib/schema/schedule-schema.graphql.js.map +1 -0
- package/lib/schema/timeline-schema.graphql.js +1 -0
- package/lib/schema/timeline-schema.graphql.js.map +1 -0
- package/lib/services/index.d.ts +1 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/schedule-service.d.ts +1 -0
- package/lib/services/schedule-service.d.ts.map +1 -0
- package/lib/services/schedule-service.js +24 -0
- package/lib/services/schedule-service.js.map +1 -0
- package/lib/services/timeline-service.d.ts +1 -0
- package/lib/services/timeline-service.d.ts.map +1 -0
- package/lib/services/timeline-service.js +24 -0
- package/lib/services/timeline-service.js.map +1 -0
- package/lib/services/timesheet-service.d.ts +1 -0
- package/lib/services/timesheet-service.d.ts.map +1 -0
- package/lib/services/timesheet-service.js +24 -0
- package/lib/services/timesheet-service.js.map +1 -0
- package/lib/store/models/index.d.ts +1 -0
- package/lib/store/models/index.d.ts.map +1 -0
- package/lib/store/models/schedule-model.d.ts +1 -0
- package/lib/store/models/schedule-model.d.ts.map +1 -0
- package/lib/store/models/schedule-model.js +40 -0
- package/lib/store/models/schedule-model.js.map +1 -0
- package/lib/store/models/timeline-model.d.ts +1 -0
- package/lib/store/models/timeline-model.d.ts.map +1 -0
- package/lib/store/models/timeline-model.js +40 -0
- package/lib/store/models/timeline-model.js.map +1 -0
- package/lib/store/models/timesheet-model.d.ts +1 -0
- package/lib/store/models/timesheet-model.d.ts.map +1 -0
- package/lib/store/models/timesheet-model.js +42 -0
- package/lib/store/models/timesheet-model.js.map +1 -0
- package/lib/store/repository/index.d.ts +1 -0
- package/lib/store/repository/index.d.ts.map +1 -0
- package/lib/store/repository/schedule-repository.d.ts +1 -0
- package/lib/store/repository/schedule-repository.d.ts.map +1 -0
- package/lib/store/repository/schedule-repository.js +46 -0
- package/lib/store/repository/schedule-repository.js.map +1 -0
- package/lib/store/repository/timeline-repository.d.ts +1 -0
- package/lib/store/repository/timeline-repository.d.ts.map +1 -0
- package/lib/store/repository/timeline-repository.js +46 -0
- package/lib/store/repository/timeline-repository.js.map +1 -0
- package/lib/store/repository/timesheet-repository.d.ts +1 -0
- package/lib/store/repository/timesheet-repository.d.ts.map +1 -0
- package/lib/store/repository/timesheet-repository.js +46 -0
- package/lib/store/repository/timesheet-repository.js.map +1 -0
- package/package.json +4 -4
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAInC,eAAO,MAAM,MAAM,uCACjB,CAAC"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import * as envalid from 'envalid';
|
2
|
+
export declare const config: Readonly<{
|
3
|
+
NODE_ENV: string;
|
4
|
+
NATS_URL: string;
|
5
|
+
NATS_USER: string;
|
6
|
+
NATS_PW: string;
|
7
|
+
MONGO_URL: string;
|
8
|
+
HEMERA_LOG_LEVEL: string;
|
9
|
+
REDIS_CLUSTER_URL: string;
|
10
|
+
REDIS_URL: string;
|
11
|
+
REDIS_CLUSTER_ENABLED: boolean;
|
12
|
+
REDIS_SENTINEL_ENABLED: boolean;
|
13
|
+
CONNECTION_ID: string;
|
14
|
+
NAMESPACE: string;
|
15
|
+
LOG_LEVEL: string;
|
16
|
+
} & envalid.CleanedEnvAccessors>;
|
17
|
+
//# sourceMappingURL=env-config.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"env-config.d.ts","sourceRoot":"","sources":["../../src/config/env-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAMnC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;gCAcjB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;;;;CAOjB,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
const TYPES = {
|
2
|
+
IScheduleService: Symbol('IScheduleService'),
|
3
|
+
ITimelineService: Symbol('ITimelineService'),
|
4
|
+
ITimesheetService: Symbol('ITimesheetService'),
|
5
|
+
IScheduleRepository: Symbol('IScheduleRepository'),
|
6
|
+
ITimelineRepository: Symbol('ITimelineRepository'),
|
7
|
+
ITimesheetRepository: Symbol('ITimesheetRepository'),
|
8
|
+
};export{TYPES};//# sourceMappingURL=constants.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../src/constants/constants.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAa,MAAA,KAAK,GAAG;AACjB,IAAA,gBAAgB,EAAE,MAAM,CAAC,kBAAkB,CAAC;AAC5C,IAAA,gBAAgB,EAAE,MAAM,CAAC,kBAAkB,CAAC;AAC5C,IAAA,iBAAiB,EAAE,MAAM,CAAC,mBAAmB,CAAC;AAC9C,IAAA,mBAAmB,EAAE,MAAM,CAAC,qBAAqB,CAAC;AAClD,IAAA,mBAAmB,EAAE,MAAM,CAAC,qBAAqB,CAAC;AAClD,IAAA,oBAAoB,EAAE,MAAM,CAAC,sBAAsB,CAAC;"}
|
package/lib/constants/index.d.ts
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
@@ -2,3 +2,4 @@ import { ContainerModule } from 'inversify';
|
|
2
2
|
export declare const scheduleModule: (settings: any) => ContainerModule;
|
3
3
|
export declare const timelineModule: (settings: any) => ContainerModule;
|
4
4
|
export declare const timesheetModule: (settings: any) => ContainerModule;
|
5
|
+
//# sourceMappingURL=containers.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"containers.d.ts","sourceRoot":"","sources":["../../src/containers/containers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAc,MAAM,WAAW,CAAC;AAaxD,eAAO,MAAM,cAAc,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,eAQ1C,CAAC;AAEP,eAAO,MAAM,cAAc,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,eAQ1C,CAAC;AAEP,eAAO,MAAM,eAAe,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,eAQ3C,CAAC"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import {ContainerModule}from'inversify';import {TYPES}from'../constants/constants.js';import {ScheduleService}from'../services/schedule-service.js';import {TimesheetService}from'../services/timesheet-service.js';import {TimelineService}from'../services/timeline-service.js';import {ScheduleRepository}from'../store/repository/schedule-repository.js';import {TimelineRepository}from'../store/repository/timeline-repository.js';import {TimesheetRepository}from'../store/repository/timesheet-repository.js';const scheduleModule = (setting) => new ContainerModule((bind) => {
|
2
|
+
bind(TYPES.IScheduleRepository)
|
3
|
+
.to(ScheduleRepository)
|
4
|
+
.inSingletonScope()
|
5
|
+
.whenTargetIsDefault();
|
6
|
+
bind(TYPES.IScheduleService).to(ScheduleService).inSingletonScope().whenTargetIsDefault();
|
7
|
+
});
|
8
|
+
const timelineModule = (setting) => new ContainerModule((bind) => {
|
9
|
+
bind(TYPES.ITimelineRepository)
|
10
|
+
.to(TimelineRepository)
|
11
|
+
.inSingletonScope()
|
12
|
+
.whenTargetIsDefault();
|
13
|
+
bind(TYPES.ITimelineService).to(TimelineService).inSingletonScope().whenTargetIsDefault();
|
14
|
+
});
|
15
|
+
const timesheetModule = (setting) => new ContainerModule((bind) => {
|
16
|
+
bind(TYPES.ITimesheetRepository)
|
17
|
+
.to(TimesheetRepository)
|
18
|
+
.inSingletonScope()
|
19
|
+
.whenTargetIsDefault();
|
20
|
+
bind(TYPES.ITimesheetService).to(TimesheetService).inSingletonScope().whenTargetIsDefault();
|
21
|
+
});export{scheduleModule,timelineModule,timesheetModule};//# sourceMappingURL=containers.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"containers.js","sources":["../../src/containers/containers.ts"],"sourcesContent":[null],"names":[],"mappings":"wfAaO,MAAM,cAAc,GAAuC,CAAC,OAAO,KACtE,IAAI,eAAe,CAAC,CAAC,IAAqB,KAAI;AAC1C,IAAA,IAAI,CAAsB,KAAK,CAAC,mBAAmB,CAAC;SAC/C,EAAE,CAAC,kBAAkB,CAAC;AACtB,SAAA,gBAAgB,EAAE;AAClB,SAAA,mBAAmB,EAAE,CAAC;AAE3B,IAAA,IAAI,CAAmB,KAAK,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,gBAAgB,EAAE,CAAC,mBAAmB,EAAE,CAAC;AAChH,CAAC,EAAE;AAEA,MAAM,cAAc,GAAuC,CAAC,OAAO,KACtE,IAAI,eAAe,CAAC,CAAC,IAAqB,KAAI;AAC1C,IAAA,IAAI,CAAsB,KAAK,CAAC,mBAAmB,CAAC;SAC/C,EAAE,CAAC,kBAAkB,CAAC;AACtB,SAAA,gBAAgB,EAAE;AAClB,SAAA,mBAAmB,EAAE,CAAC;AAE3B,IAAA,IAAI,CAAmB,KAAK,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,gBAAgB,EAAE,CAAC,mBAAmB,EAAE,CAAC;AAChH,CAAC,EAAE;AAEA,MAAM,eAAe,GAAuC,CAAC,OAAO,KACvE,IAAI,eAAe,CAAC,CAAC,IAAqB,KAAI;AAC1C,IAAA,IAAI,CAAuB,KAAK,CAAC,oBAAoB,CAAC;SACjD,EAAE,CAAC,mBAAmB,CAAC;AACvB,SAAA,gBAAgB,EAAE;AAClB,SAAA,mBAAmB,EAAE,CAAC;AAE3B,IAAA,IAAI,CAAoB,KAAK,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,gBAAgB,EAAE,CAAC,mBAAmB,EAAE,CAAC;AACnH,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/containers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=cache.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../src/dataloader/cache.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=counter-dataloader.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"counter-dataloader.d.ts","sourceRoot":"","sources":["../../src/dataloader/counter-dataloader.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dataloader/index.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/graphqlTypes/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;;AAQpD,wBAAoF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../src/graphqlTypes/resolvers.ts"],"names":[],"mappings":";;;;;AAGA,wBAIG"}
|
package/lib/index.d.ts
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAGpD,cAAc,aAAa,CAAC;;AAE5B,wBAAoC"}
|