@admin-layout/schedule-module-server 5.0.1-alpha.0 → 5.1.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
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","mappings":";;;;;;;;;;;;;;AAAA,iEAAe,qCAAqC,8QAA8Q,iCAAiC,gQAAgQ,uBAAuB,oDAAoD,0BAA0B,kMAAkM,GAAG;;;;;;;;;;;;;;ACA74B,iEAAe,qCAAqC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AAC,CAAC;SAC9B;IACL,CAAC;CACJ;AAnDY,mBAAmB;IAD/B,0BAAU,GAAE;IAOJ,iCAAM,EAAC,mBAAmB,CAAC;IAG3B,iCAAM,EAAC,QAAQ,CAAC;IAGhB,iCAAM,EAAC,cAAc,CAAC;IACtB,mCAAQ,GAAE;GAbN,mBAAmB,CAmD/B;AAnDY,kDAAmB;;;;;;;;;;;ACThC;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;UENA;UACA;UACA;UACA","sources":["webpack://@admin-layout/schedule-module-server/./src/schema/schedule-schema.graphql","webpack://@admin-layout/schedule-module-server/./src/schema/timeline-schema.graphql","webpack://@admin-layout/schedule-module-server/./src/constants/constants.ts","webpack://@admin-layout/schedule-module-server/./src/constants/index.ts","webpack://@admin-layout/schedule-module-server/./src/containers/containers.ts","webpack://@admin-layout/schedule-module-server/./src/containers/index.ts","webpack://@admin-layout/schedule-module-server/./src/index.ts","webpack://@admin-layout/schedule-module-server/./src/module.ts","webpack://@admin-layout/schedule-module-server/./src/resolvers/index.ts","webpack://@admin-layout/schedule-module-server/./src/resolvers/schedule-resolver.ts","webpack://@admin-layout/schedule-module-server/./src/schema/index.ts","webpack://@admin-layout/schedule-module-server/./src/services/index.ts","webpack://@admin-layout/schedule-module-server/./src/services/schedule-service.ts","webpack://@admin-layout/schedule-module-server/./src/services/timeline-service.ts","webpack://@admin-layout/schedule-module-server/./src/services/timesheet-service.ts","webpack://@admin-layout/schedule-module-server/./src/store/models/index.ts","webpack://@admin-layout/schedule-module-server/./src/store/models/schedule-model.ts","webpack://@admin-layout/schedule-module-server/./src/store/models/timeline-model.ts","webpack://@admin-layout/schedule-module-server/./src/store/models/timesheet-model.ts","webpack://@admin-layout/schedule-module-server/./src/store/repository/index.ts","webpack://@admin-layout/schedule-module-server/./src/store/repository/schedule-repository.ts","webpack://@admin-layout/schedule-module-server/./src/store/repository/timeline-repository.ts","webpack://@admin-layout/schedule-module-server/./src/store/repository/timesheet-repository.ts","webpack://@admin-layout/schedule-module-server/external commonjs \"@common-stack/server-core\"","webpack://@admin-layout/schedule-module-server/external commonjs \"inversify\"","webpack://@admin-layout/schedule-module-server/external commonjs \"mongoose\"","webpack://@admin-layout/schedule-module-server/webpack/bootstrap","webpack://@admin-layout/schedule-module-server/webpack/runtime/define property getters","webpack://@admin-layout/schedule-module-server/webpack/runtime/hasOwnProperty shorthand","webpack://@admin-layout/schedule-module-server/webpack/runtime/make namespace object","webpack://@admin-layout/schedule-module-server/webpack/before-startup","webpack://@admin-layout/schedule-module-server/webpack/startup","webpack://@admin-layout/schedule-module-server/webpack/after-startup"],"sourcesContent":["export default \"# scalar DateTime\\n\\ntype Schedule {\\n id: String\\n title: String\\n allDay: Boolean\\n start: DateTime\\n end: DateTime\\n desc: String\\n userId: String\\n resourceId: String\\n tooltip: String\\n isBillable: Boolean\\n submittedOn: DateTime\\n reason: String\\n note: String\\n approvedOn: DateTime\\n}\\n\\ninput ScheduleCreateRequest {\\n title: String\\n allDay: Boolean\\n start: DateTime\\n end: DateTime\\n desc: String\\n userId: String\\n resourceId: String\\n tooltip: String\\n isBillable: Boolean\\n submittedOn: DateTime\\n reason: String\\n note: String\\n approvedOn: DateTime\\n}\\n\\nextend type Query {\\n getScheduleEvents(userId: String): [Schedule]\\n}\\n\\nextend type Mutation {\\n addScheduleEvent(request: ScheduleCreateRequest): Boolean\\n updateScheduleEvent(eventId: String, request: ScheduleCreateRequest): Boolean\\n removeScheduleEvent(eventId: String): Boolean\\n}\\n\";","export default \"# scalar DateTime\\n\\ntype Timeline {\\n id: String\\n title: String\\n allDay: Boolean\\n start: DateTime\\n end: DateTime\\n desc: String\\n userId: String\\n resourceId: String\\n tooltip: String\\n isBillable: Boolean\\n submittedOn: DateTime\\n reason: String\\n note: String\\n approvedOn: DateTime\\n}\\n\\ninput TimelineCreateRequest {\\n title: String\\n allDay: Boolean\\n start: DateTime\\n end: DateTime\\n desc: String\\n userId: String\\n resourceId: String\\n tooltip: String\\n isBillable: Boolean\\n submittedOn: DateTime\\n reason: String\\n note: String\\n approvedOn: DateTime\\n}\\n\\nextend type Query {\\n getTimelineEvents(userId: String): [Timeline]\\n}\\n\\nextend type Mutation {\\n addTimelineEvent(request: TimelineCreateRequest): Boolean\\n updateTimelineEvent(eventId: String, request: TimelineCreateRequest): Boolean\\n removeTimelineEvent(eventId: String): Boolean\\n}\\n\";","export const TYPES = {\n IScheduleService: Symbol('IScheduleService'),\n ITimelineService: Symbol('ITimelineService'),\n ITimesheetService: Symbol('ITimesheetService'),\n IScheduleRepository: Symbol('IScheduleRepository'),\n ITimelineRepository: Symbol('ITimelineRepository'),\n ITimesheetRepository: Symbol('ITimesheetRepository'),\n};\n","export * from './constants';\n","import { ContainerModule, interfaces } from 'inversify';\nimport { TYPES } from '../constants';\nimport {\n IScheduleRepository,\n ITimelineRepository,\n ITimesheetRepository,\n IScheduleService,\n ITimelineService,\n ITimesheetService,\n} from '../interfaces';\nimport { ScheduleService, TimelineService, TimesheetService } from '../services';\nimport { ScheduleRepository, TimelineRepository, TimesheetRepository } from '../store/repository';\n\nexport const scheduleModule: (settings: any) => ContainerModule = (setting) =>\n new ContainerModule((bind: interfaces.Bind) => {\n bind<IScheduleRepository>(TYPES.IScheduleRepository)\n .to(ScheduleRepository)\n .inSingletonScope()\n .whenTargetIsDefault();\n\n bind<IScheduleService>(TYPES.IScheduleService).to(ScheduleService).inSingletonScope().whenTargetIsDefault();\n });\n\nexport const timelineModule: (settings: any) => ContainerModule = (setting) =>\n new ContainerModule((bind: interfaces.Bind) => {\n bind<ITimelineRepository>(TYPES.ITimelineRepository)\n .to(TimelineRepository)\n .inSingletonScope()\n .whenTargetIsDefault();\n\n bind<ITimelineService>(TYPES.ITimelineService).to(TimelineService).inSingletonScope().whenTargetIsDefault();\n });\n\nexport const timesheetModule: (settings: any) => ContainerModule = (setting) =>\n new ContainerModule((bind: interfaces.Bind) => {\n bind<ITimesheetRepository>(TYPES.ITimesheetRepository)\n .to(TimesheetRepository)\n .inSingletonScope()\n .whenTargetIsDefault();\n\n bind<ITimesheetService>(TYPES.ITimesheetService).to(TimesheetService).inSingletonScope().whenTargetIsDefault();\n });\n","export * from './containers';\n","/* eslint-disable import/no-extraneous-dependencies */\nimport { Feature } from '@common-stack/server-core';\nimport counter from './module';\n\nexport * from './constants';\n\nexport default new Feature(counter);\n","/* eslint-disable import/no-extraneous-dependencies */\nimport { Feature } from '@common-stack/server-core';\nimport { interfaces } from 'inversify';\nimport { schema } from './schema';\nimport { resolvers } from './resolvers';\nimport { scheduleModule, timelineModule, timesheetModule } from './containers';\nimport { TYPES } from './constants';\n\nconst dataSources: (container: interfaces.Container) => any = () => ({\n // counterCache: new CounterDataSource(),\n});\n\nconst createServiceFunc = (container: interfaces.Container) => ({\n scheduleService: container.get(TYPES.IScheduleService),\n timelineService: container.get(TYPES.ITimelineService),\n timesheetService: container.get(TYPES.ITimesheetService),\n});\n\nexport default new Feature({\n schema,\n createContainerFunc: [scheduleModule, timelineModule, timesheetModule],\n createResolversFunc: resolvers,\n createServiceFunc,\n // createContextFunc: () => ({ counterMock: counterMock }), // note anything set here should be singleton.\n createDataSourceFunc: dataSources,\n addBrokerMainServiceClass: [],\n});\n","import { resolver as scheduleResolver } from './schedule-resolver';\n// import { resolver as timelineResolver } from './timeline-resolver'\n\nexport const resolvers = [scheduleResolver];\n","// TODO:\nexport const resolver = (options) => ({\n Query: {\n getScheduleEvents: (root, args, { scheduleService }) => {\n options.logger.trace('(Query.getScheduleEvents) args %j', args);\n return scheduleService.getScheduleEvents(args.userId);\n },\n },\n Mutation: {\n addScheduleEvent: (root, args, { scheduleService }) => {\n options.logger.trace('(Mutation.addScheduleEvent) args %j', args);\n return scheduleService.createScheduleEvent(args.request);\n },\n updateScheduleEvent: (root, args, { scheduleService }) => {\n options.logger.trace('(Mutation.updateScheduleEvent) args %j', args);\n return scheduleService.updateScheduleEvent(args.eventId, args.request);\n },\n removeScheduleEvent: (root, args, { scheduleService }) => {\n options.logger.trace('(Mutation.removeScheduleEvent) args %j', args);\n return scheduleService.removeScheduleEvent(args.eventId);\n },\n },\n Subscription: {},\n});\n","/* eslint-disable import/no-extraneous-dependencies */\n/* eslint-disable @typescript-eslint/no-unused-vars */\nimport * as _ from 'lodash';\nimport scheduleSchema from './schedule-schema.graphql';\nimport timelineSchema from './timeline-schema.graphql';\n\nconst schema = [scheduleSchema, timelineSchema].join('\\n');\n\nexport { schema };\n","export * from './schedule-service';\nexport * from './timesheet-service';\nexport * from './timeline-service';\n","/* eslint-disable import/no-extraneous-dependencies */\nimport { CdmLogger } from '@cdm-logger/core';\n\nimport { inject, injectable } from 'inversify';\nimport { ISchedule, IScheduleCreateRequest } from '@admin-layout/schedule-module-core';\nimport { IScheduleService, IScheduleRepository } from '../interfaces';\nimport { TYPES } from '../constants';\n\ntype ILogger = CdmLogger.ILogger;\n@injectable()\nexport class ScheduleService implements IScheduleService {\n private logger: ILogger;\n\n constructor(\n @inject(TYPES.IScheduleRepository)\n protected scheduleRepository: IScheduleRepository,\n\n @inject('Logger')\n logger: ILogger,\n ) {\n this.logger = logger;\n }\n\n public async getScheduleEvents(userId: string): Promise<Array<ISchedule>> {\n return this.scheduleRepository.getScheduleEvents(userId);\n }\n\n public async createScheduleEvent(newEvent: IScheduleCreateRequest): Promise<boolean> {\n return this.scheduleRepository.createScheduleEvent(newEvent);\n }\n\n public async updateScheduleEvent(eventId: string, newEvent: ISchedule): Promise<boolean> {\n return this.scheduleRepository.updateScheduleEvent(eventId, newEvent);\n }\n\n public async removeScheduleEvent(eventId: string): Promise<boolean> {\n return this.scheduleRepository.removeScheduleEvent(eventId);\n }\n}\n","/* eslint-disable import/no-extraneous-dependencies */\nimport { CdmLogger } from '@cdm-logger/core';\n\nimport { inject, injectable } from 'inversify';\nimport { ITimeline, ITimelineCreateRequest } from '@admin-layout/schedule-module-core';\nimport { ITimelineService, ITimelineRepository } from '../interfaces';\nimport { TYPES } from '../constants';\n\n@injectable()\nexport class TimelineService implements ITimelineService {\n private logger: CdmLogger.ILogger;\n\n constructor(\n @inject(TYPES.ITimelineRepository)\n protected timelineRepository: ITimelineRepository,\n\n @inject('Logger')\n logger: CdmLogger.ILogger,\n ) {\n this.logger = logger;\n }\n\n public async getTimelineEvents(userId: string): Promise<Array<ITimeline>> {\n return this.timelineRepository.getTimelineEvents(userId);\n }\n\n public async createTimelineEvent(newEvent: ITimelineCreateRequest): Promise<boolean> {\n return this.timelineRepository.createTimelineEvent(newEvent);\n }\n\n public async updateTimelineEvent(eventId: string, newEvent: ITimeline): Promise<boolean> {\n return this.timelineRepository.updateTimelineEvent(eventId, newEvent);\n }\n\n public async removeTimelineEvent(eventId: string): Promise<boolean> {\n return this.timelineRepository.removeTimelineEvent(eventId);\n }\n}\n","/* eslint-disable import/no-extraneous-dependencies */\nimport * as ILogger from 'bunyan';\nimport { inject, injectable } from 'inversify';\nimport { ITimesheetService, ITimesheetRepository } from '../interfaces';\nimport { TYPES } from '../constants';\n\n@injectable()\nexport class TimesheetService implements ITimesheetService {\n private logger: ILogger;\n\n constructor(\n @inject(TYPES.ITimesheetRepository)\n protected timesheetRepository: ITimesheetRepository,\n\n @inject('Logger')\n logger: ILogger,\n ) {\n this.logger = logger;\n }\n\n public async getTimesheetEvents(userId: string): Promise<Array<any>> {\n return this.timesheetRepository.getTimesheetEvents(userId);\n }\n\n public async createTimesheetEvent(newEvent: any): Promise<boolean> {\n return this.timesheetRepository.createTimesheetEvent(newEvent);\n }\n\n public async updateTimesheetEvent(eventId: string, newEvent: any): Promise<boolean> {\n return this.timesheetRepository.updateTimesheetEvent(eventId, newEvent);\n }\n\n public async removeTimesheetEvent(eventId: string): Promise<boolean> {\n return this.timesheetRepository.removeTimesheetEvent(eventId);\n }\n}\n","export * from './schedule-model'\nexport * from './timeline-model'\nexport * from './timesheet-model'","/* eslint-disable no-underscore-dangle */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { Schema, Model, Document, Connection } from 'mongoose';\nimport { ISchedule } from '@admin-layout/schedule-module-core';\n\nexport interface IScheduleModel extends ISchedule, Document {\n id: any;\n}\n\nconst ScheduleSchema = new Schema({\n // Event title\n title: { type: String, required: true },\n // all day event ? true: false\n allDay: { type: Boolean, default: false },\n // start date\n start: { type: Date },\n // end date\n end: { type: Date },\n // description\n desc: { type: String },\n // userId\n userId: { type: String },\n // resouceId\n resourceId: { type: String },\n // tip\n tooltip: { type: String },\n // isBillable\n isBillable: { type: Boolean, default: false },\n // submitted date\n submittedOn: { type: Date },\n // reason\n reason: { type: String },\n // note\n note: { type: String },\n // approved date\n approvedOn: { type: Date },\n});\n\nScheduleSchema.virtual('id').get(function () {\n return this._id.toHexString();\n});\n\nScheduleSchema.set('toJSON', {\n virtuals: true,\n});\n\nScheduleSchema.set('toObject', {\n virtuals: true,\n});\n\nexport type ScheduleModelType = Model<IScheduleModel>;\n\nexport const ScheduleModelFunc: (db: Connection) => ScheduleModelType = (db) =>\n db.model<IScheduleModel>('schedule', ScheduleSchema);\n","/* eslint-disable no-underscore-dangle */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { Schema, Model, Document, Connection } from 'mongoose';\nimport { ITimeline } from '@admin-layout/schedule-module-core';\n\nexport interface ITimelineModel extends ITimeline, Document {\n id: any;\n}\n\nconst TimelineSchema = new Schema({\n // Event title\n title: { type: String, required: true },\n // all day event ? true: false\n allDay: { type: Boolean, default: false },\n // start date\n start: { type: Date },\n // end date\n end: { type: Date },\n // description\n desc: { type: String },\n // userId\n userId: { type: String },\n // resouceId\n resourceId: { type: String },\n // tip\n tooltip: { type: String },\n // isBillable\n isBillable: { type: Boolean, default: false },\n // submitted date\n submittedOn: { type: Date },\n // reason\n reason: { type: String },\n // note\n note: { type: String },\n // approved date\n approvedOn: { type: Date },\n});\n\nTimelineSchema.virtual('id').get(function () {\n return this._id.toHexString();\n});\n\nTimelineSchema.set('toJSON', {\n virtuals: true,\n});\n\nTimelineSchema.set('toObject', {\n virtuals: true,\n});\n\nexport type TimelineModelType = Model<ITimelineModel>;\n\nexport const TimelineModelFunc: (db: Connection) => TimelineModelType = (db) =>\n db.model<ITimelineModel>('timeline', TimelineSchema);\n","/* eslint-disable no-underscore-dangle */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { Schema, Model, Document, Connection } from 'mongoose';\n\nexport interface ITimesheetModel extends Document {\n id: any;\n}\n\nconst TimesheetSchema = new Schema({\n // Event title\n title: { type: String, required: true },\n // all day event ? true: false\n allDay: { type: Boolean, default: false },\n // start date\n start: { type: Date },\n // end date\n end: { type: Date },\n // description\n desc: { type: String },\n // userId\n userId: { type: String },\n // resourceId\n resourceId: { type: String },\n // projectId\n projectId: { type: String },\n // tip\n tooltip: { type: String },\n // isBillable\n isBillable: { type: Boolean, default: false },\n // submitted date\n submittedOn: { type: Date },\n // reason\n reason: { type: String },\n // note\n note: { type: String },\n // approved date\n approvedOn: { type: Date },\n});\n\nTimesheetSchema.virtual('id').get(function () {\n return this._id.toHexString();\n});\n\nTimesheetSchema.set('toJSON', {\n virtuals: true,\n});\n\nTimesheetSchema.set('toObject', {\n virtuals: true,\n});\n\nexport type TimesheetModelType = Model<ITimesheetModel>;\n\nexport const TimesheetModelFunc: (db: Connection) => TimesheetModelType = (db) =>\n db.model<ITimesheetModel>('timesheet', TimesheetSchema);\n","export * from './schedule-repository';\nexport * from './timeline-repository';\nexport * from './timesheet-repository';\n","/* eslint-disable no-return-await */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { ISchedule, IScheduleCreateRequest } from '@admin-layout/schedule-module-core';\nimport * as Logger from 'bunyan';\nimport { injectable, inject, optional } from 'inversify';\nimport * as mongoose from 'mongoose';\nimport { IScheduleRepository } from '../../interfaces';\nimport { ScheduleModelType, ScheduleModelFunc } from '../models/schedule-model';\n\n@injectable()\nexport class ScheduleRepository implements IScheduleRepository {\n private scheduleModel: ScheduleModelType;\n\n private logger: Logger;\n\n constructor(\n @inject('MongoDBConnection')\n db: mongoose.Connection,\n\n @inject('Logger')\n logger: Logger,\n\n @inject('MongoOptions')\n @optional()\n options?: any,\n ) {\n this.logger = logger.child({ className: 'ScheduleRepository' });\n this.scheduleModel = ScheduleModelFunc(db);\n }\n\n public async getScheduleEvents(userId: string): Promise<Array<ISchedule>> {\n if (userId === undefined) return await this.scheduleModel.find({}).exec();\n return await this.scheduleModel.find({ resourceId: userId }).exec();\n }\n\n public async createScheduleEvent(newEvent: IScheduleCreateRequest): Promise<boolean> {\n try {\n await this.scheduleModel.create({ ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async updateScheduleEvent(eventId: string, newEvent: IScheduleCreateRequest): Promise<boolean> {\n try {\n await this.scheduleModel.update({ _id: eventId }, { ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async removeScheduleEvent(eventId: string): Promise<boolean> {\n try {\n await this.scheduleModel.remove({ _id: eventId });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n}\n","/* eslint-disable no-return-await */\n/* eslint-disable import/no-extraneous-dependencies */\nimport { ITimeline, ITimelineCreateRequest } from '@admin-layout/schedule-module-core';\nimport * as Logger from 'bunyan';\nimport { injectable, inject, optional } from 'inversify';\nimport * as mongoose from 'mongoose';\nimport { ITimelineRepository } from '../../interfaces';\nimport { TimelineModelType, TimelineModelFunc } from '../models';\n\n@injectable()\nexport class TimelineRepository implements ITimelineRepository {\n private timelineModel: TimelineModelType;\n\n private logger: Logger;\n\n constructor(\n @inject('MongoDBConnection')\n db: mongoose.Connection,\n\n @inject('Logger')\n logger: Logger,\n\n @inject('MongoOptions')\n @optional()\n options?: any,\n ) {\n this.logger = logger.child({ className: 'TimelineRepository' });\n this.timelineModel = TimelineModelFunc(db);\n }\n\n public async getTimelineEvents(userId: string): Promise<Array<ITimeline>> {\n if (userId === undefined) return await this.timelineModel.find({}).exec();\n return await this.timelineModel.find({ resourceId: userId }).exec();\n }\n\n public async createTimelineEvent(newEvent: ITimelineCreateRequest): Promise<boolean> {\n try {\n await this.timelineModel.create({ ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async updateTimelineEvent(eventId: string, newEvent: ITimelineCreateRequest): Promise<boolean> {\n try {\n await this.timelineModel.update({ _id: eventId }, { ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async removeTimelineEvent(eventId: string): Promise<boolean> {\n try {\n await this.timelineModel.remove({ _id: eventId });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n}\n","/* eslint-disable no-return-await */\n/* eslint-disable import/no-extraneous-dependencies */\nimport * as Logger from 'bunyan';\nimport { injectable, inject, optional } from 'inversify';\nimport * as mongoose from 'mongoose';\nimport { ITimesheetRepository } from '../../interfaces';\nimport { TimesheetModelType, TimesheetModelFunc } from '../models';\n\n@injectable()\nexport class TimesheetRepository implements ITimesheetRepository {\n private timesheetModel: TimesheetModelType;\n\n private logger: Logger;\n\n constructor(\n @inject('MongoDBConnection')\n db: mongoose.Connection,\n\n @inject('Logger')\n logger: Logger,\n\n @inject('MongoOptions')\n @optional()\n options?: any,\n ) {\n this.logger = logger.child({ className: 'TimesheetRepository' });\n this.timesheetModel = TimesheetModelFunc(db);\n }\n\n public async getTimesheetEvents(userId: string): Promise<Array<any>> {\n if (userId === undefined) return await this.timesheetModel.find({}).exec();\n return await this.timesheetModel.find({ resourceId: userId }).exec();\n }\n\n public async createTimesheetEvent(newEvent: any): Promise<boolean> {\n try {\n await this.timesheetModel.create({ ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async updateTimesheetEvent(eventId: string, newEvent: any): Promise<boolean> {\n try {\n await this.timesheetModel.update({ _id: eventId }, { ...newEvent });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n\n public async removeTimesheetEvent(eventId: string): Promise<boolean> {\n try {\n await this.timesheetModel.remove({ _id: eventId });\n return true;\n } catch (e) {\n throw new Error(e.message);\n }\n }\n}\n","module.exports = require(\"@common-stack/server-core\");","module.exports = require(\"inversify\");","module.exports = require(\"mongoose\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(\"./src/index.ts\");\n",""],"names":[],"sourceRoot":""}
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":[null],"names":[],"mappings":"6HAAA;AAMA,YAAe,IAAI,OAAO,CAAC,OAA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
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schedule-repository.d.ts","sourceRoot":"","sources":["../../src/interfaces/schedule-repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAEvF,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,mBAAmB,CAAC,QAAQ,EAAE,sBAAsB,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAExE;;OAEG;IACH,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;IAE7D;;OAEG;IACH,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,sBAAsB,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEzF;;OAEG;IACH,mBAAmB,CAAC,OAAO,EAAE,MAAM,OAAE;CACxC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schedule-service.d.ts","sourceRoot":"","sources":["../../src/interfaces/schedule-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAEvF,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,mBAAmB,CAAC,QAAQ,EAAE,sBAAsB,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAExE;;OAEG;IACH,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;IAE7D;;OAEG;IACH,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,sBAAsB,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEzF;;OAEG;IACH,mBAAmB,CAAC,OAAO,EAAE,MAAM,OAAE;CACxC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"timeline-repository.d.ts","sourceRoot":"","sources":["../../src/interfaces/timeline-repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAEvF,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,mBAAmB,CAAC,QAAQ,EAAE,sBAAsB,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAExE;;OAEG;IACH,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;IAE7D;;OAEG;IACH,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,sBAAsB,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEzF;;OAEG;IACH,mBAAmB,CAAC,OAAO,EAAE,MAAM,OAAE;CACxC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"timeline-service.d.ts","sourceRoot":"","sources":["../../src/interfaces/timeline-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAEvF,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,mBAAmB,CAAC,QAAQ,EAAE,sBAAsB,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAExE;;OAEG;IACH,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;IAE7D;;OAEG;IACH,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,sBAAsB,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEzF;;OAEG;IACH,mBAAmB,CAAC,OAAO,EAAE,MAAM,OAAE;CACxC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"timesheet-repository.d.ts","sourceRoot":"","sources":["../../src/interfaces/timesheet-repository.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,oBAAoB,CAAC,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEtD;;OAEG;IACH,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IAExD;;OAEG;IACH,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEvE;;OAEG;IACH,oBAAoB,CAAC,OAAO,EAAE,MAAM,OAAE;CACzC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"timesheet-service.d.ts","sourceRoot":"","sources":["../../src/interfaces/timesheet-service.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,oBAAoB,CAAC,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEtD;;OAEG;IACH,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IAExD;;OAEG;IACH,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEvE;;OAEG;IACH,oBAAoB,CAAC,OAAO,EAAE,MAAM,OAAE;CACzC"}
|
package/lib/module.d.ts
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;;AAiBpD,wBAQG"}
|
package/lib/module.js
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
import {Feature}from'@common-stack/server-core';import {schema}from'./schema/index.js';import {resolvers}from'./resolvers/index.js';import {scheduleModule,timelineModule,timesheetModule}from'./containers/containers.js';import {TYPES}from'./constants/constants.js';/* eslint-disable import/no-extraneous-dependencies */
|
2
|
+
const dataSources = () => ({
|
3
|
+
// counterCache: new CounterDataSource(),
|
4
|
+
});
|
5
|
+
const createServiceFunc = (container) => ({
|
6
|
+
scheduleService: container.get(TYPES.IScheduleService),
|
7
|
+
timelineService: container.get(TYPES.ITimelineService),
|
8
|
+
timesheetService: container.get(TYPES.ITimesheetService),
|
9
|
+
});
|
10
|
+
var counter = new Feature({
|
11
|
+
schema,
|
12
|
+
createContainerFunc: [scheduleModule, timelineModule, timesheetModule],
|
13
|
+
createResolversFunc: resolvers,
|
14
|
+
createServiceFunc,
|
15
|
+
// createContextFunc: () => ({ counterMock: counterMock }), // note anything set here should be singleton.
|
16
|
+
createDataSourceFunc: dataSources,
|
17
|
+
addBrokerMainServiceClass: [],
|
18
|
+
});export{counter as default};//# sourceMappingURL=module.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../src/module.ts"],"sourcesContent":[null],"names":[],"mappings":"wQAAA;AAQA,MAAM,WAAW,GAA6C,OAAO;AACjE;AACH,CAAA,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,CAAC,SAA+B,MAAM;IAC5D,eAAe,EAAE,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,gBAAgB,CAAC;IACtD,eAAe,EAAE,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,gBAAgB,CAAC;IACtD,gBAAgB,EAAE,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,iBAAiB,CAAC;AAC3D,CAAA,CAAC,CAAC;AAEH,cAAe,IAAI,OAAO,CAAC;IACvB,MAAM;AACN,IAAA,mBAAmB,EAAE,CAAC,cAAc,EAAE,cAAc,EAAE,eAAe,CAAC;AACtE,IAAA,mBAAmB,EAAE,SAAS;IAC9B,iBAAiB;;AAEjB,IAAA,oBAAoB,EAAE,WAAW;AACjC,IAAA,yBAAyB,EAAE,EAAE;AAChC,CAAA,CAAC"}
|
package/lib/resolvers/index.d.ts
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resolvers/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;IAAqB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/resolvers/index.ts"],"sourcesContent":[null],"names":["scheduleResolver"],"mappings":"8CACA;AAEa,MAAA,SAAS,GAAG,CAACA,QAAgB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schedule-resolver.d.ts","sourceRoot":"","sources":["../../src/resolvers/schedule-resolver.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;CAsBnB,CAAC"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
// TODO:
|
2
|
+
const resolver = (options) => ({
|
3
|
+
Query: {
|
4
|
+
getScheduleEvents: (root, args, { scheduleService }) => {
|
5
|
+
options.logger.trace('(Query.getScheduleEvents) args %j', args);
|
6
|
+
return scheduleService.getScheduleEvents(args.userId);
|
7
|
+
},
|
8
|
+
},
|
9
|
+
Mutation: {
|
10
|
+
addScheduleEvent: (root, args, { scheduleService }) => {
|
11
|
+
options.logger.trace('(Mutation.addScheduleEvent) args %j', args);
|
12
|
+
return scheduleService.createScheduleEvent(args.request);
|
13
|
+
},
|
14
|
+
updateScheduleEvent: (root, args, { scheduleService }) => {
|
15
|
+
options.logger.trace('(Mutation.updateScheduleEvent) args %j', args);
|
16
|
+
return scheduleService.updateScheduleEvent(args.eventId, args.request);
|
17
|
+
},
|
18
|
+
removeScheduleEvent: (root, args, { scheduleService }) => {
|
19
|
+
options.logger.trace('(Mutation.removeScheduleEvent) args %j', args);
|
20
|
+
return scheduleService.removeScheduleEvent(args.eventId);
|
21
|
+
},
|
22
|
+
},
|
23
|
+
Subscription: {},
|
24
|
+
});export{resolver};//# sourceMappingURL=schedule-resolver.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schedule-resolver.js","sources":["../../src/resolvers/schedule-resolver.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA;MACa,QAAQ,GAAG,CAAC,OAAO,MAAM;AAClC,IAAA,KAAK,EAAE;QACH,iBAAiB,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,eAAe,EAAE,KAAI;YACnD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,mCAAmC,EAAE,IAAI,CAAC,CAAC;YAChE,OAAO,eAAe,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SACzD;AACJ,KAAA;AACD,IAAA,QAAQ,EAAE;QACN,gBAAgB,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,eAAe,EAAE,KAAI;YAClD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,qCAAqC,EAAE,IAAI,CAAC,CAAC;YAClE,OAAO,eAAe,CAAC,mBAAmB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;SAC5D;QACD,mBAAmB,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,eAAe,EAAE,KAAI;YACrD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,wCAAwC,EAAE,IAAI,CAAC,CAAC;AACrE,YAAA,OAAO,eAAe,CAAC,mBAAmB,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;SAC1E;QACD,mBAAmB,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,eAAe,EAAE,KAAI;YACrD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,wCAAwC,EAAE,IAAI,CAAC,CAAC;YACrE,OAAO,eAAe,CAAC,mBAAmB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;SAC5D;AACJ,KAAA;AACD,IAAA,YAAY,EAAE,EAAE;AACnB,CAAA"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export declare const resolver: (options: any) => {
|
2
|
+
Query: {
|
3
|
+
getTimelineEvents: (root: any, args: any, { timelineService }: {
|
4
|
+
timelineService: any;
|
5
|
+
}) => any;
|
6
|
+
};
|
7
|
+
Mutation: {
|
8
|
+
addTimelineEvent: (root: any, args: any, { timelineService }: {
|
9
|
+
timelineService: any;
|
10
|
+
}) => any;
|
11
|
+
updateTimelineEvent: (root: any, args: any, { timelineService }: {
|
12
|
+
timelineService: any;
|
13
|
+
}) => any;
|
14
|
+
removeTimelineEvent: (root: any, args: any, { timelineService }: {
|
15
|
+
timelineService: any;
|
16
|
+
}) => any;
|
17
|
+
};
|
18
|
+
Subscription: {};
|
19
|
+
};
|
20
|
+
//# sourceMappingURL=timeline-resolver.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"timeline-resolver.d.ts","sourceRoot":"","sources":["../../src/resolvers/timeline-resolver.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;CAsBnB,CAAC"}
|
package/lib/schema/index.d.ts
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schema/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,MAAM,QAA8C,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import scheduleSchema from'./schedule-schema.graphql.js';import timelineSchema from'./timeline-schema.graphql.js';/* eslint-disable import/no-extraneous-dependencies */
|
2
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
3
|
+
const schema = [scheduleSchema, timelineSchema].join('\n');export{schema};//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/schema/index.ts"],"sourcesContent":[null],"names":[],"mappings":"kHAAA;AACA;AAKA,MAAM,MAAM,GAAG,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC,IAAI,CAAC,IAAI"}
|
@@ -0,0 +1 @@
|
|
1
|
+
var scheduleSchema = "# scalar DateTime\n\ntype Schedule {\n id: String\n title: String\n allDay: Boolean\n start: DateTime\n end: DateTime\n desc: String\n userId: String\n resourceId: String\n tooltip: String\n isBillable: Boolean\n submittedOn: DateTime\n reason: String\n note: String\n approvedOn: DateTime\n}\n\ninput ScheduleCreateRequest {\n title: String\n allDay: Boolean\n start: DateTime\n end: DateTime\n desc: String\n userId: String\n resourceId: String\n tooltip: String\n isBillable: Boolean\n submittedOn: DateTime\n reason: String\n note: String\n approvedOn: DateTime\n}\n\nextend type Query {\n getScheduleEvents(userId: String): [Schedule]\n}\n\nextend type Mutation {\n addScheduleEvent(request: ScheduleCreateRequest): Boolean\n updateScheduleEvent(eventId: String, request: ScheduleCreateRequest): Boolean\n removeScheduleEvent(eventId: String): Boolean\n}\n";export{scheduleSchema as default};//# sourceMappingURL=schedule-schema.graphql.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schedule-schema.graphql.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
var timelineSchema = "# scalar DateTime\n\ntype Timeline {\n id: String\n title: String\n allDay: Boolean\n start: DateTime\n end: DateTime\n desc: String\n userId: String\n resourceId: String\n tooltip: String\n isBillable: Boolean\n submittedOn: DateTime\n reason: String\n note: String\n approvedOn: DateTime\n}\n\ninput TimelineCreateRequest {\n title: String\n allDay: Boolean\n start: DateTime\n end: DateTime\n desc: String\n userId: String\n resourceId: String\n tooltip: String\n isBillable: Boolean\n submittedOn: DateTime\n reason: String\n note: String\n approvedOn: DateTime\n}\n\nextend type Query {\n getTimelineEvents(userId: String): [Timeline]\n}\n\nextend type Mutation {\n addTimelineEvent(request: TimelineCreateRequest): Boolean\n updateTimelineEvent(eventId: String, request: TimelineCreateRequest): Boolean\n removeTimelineEvent(eventId: String): Boolean\n}\n";export{timelineSchema as default};//# sourceMappingURL=timeline-schema.graphql.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"timeline-schema.graphql.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/lib/services/index.d.ts
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schedule-service.d.ts","sourceRoot":"","sources":["../../src/services/schedule-service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAGtE,KAAK,OAAO,GAAG,SAAS,CAAC,OAAO,CAAC;AACjC,qBACa,eAAgB,YAAW,gBAAgB;IAKhD,SAAS,CAAC,kBAAkB,EAAE,mBAAmB;IAJrD,OAAO,CAAC,MAAM,CAAU;gBAIV,kBAAkB,EAAE,mBAAmB,EAGjD,MAAM,EAAE,OAAO;IAKN,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IAI5D,mBAAmB,CAAC,QAAQ,EAAE,sBAAsB,GAAG,OAAO,CAAC,OAAO,CAAC;IAIvE,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC;IAI3E,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAGtE"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import {__decorate,__param,__metadata}from'tslib';import {injectable,inject}from'inversify';import {TYPES}from'../constants/constants.js';let ScheduleService = class ScheduleService {
|
2
|
+
constructor(scheduleRepository, logger) {
|
3
|
+
this.scheduleRepository = scheduleRepository;
|
4
|
+
this.logger = logger;
|
5
|
+
}
|
6
|
+
async getScheduleEvents(userId) {
|
7
|
+
return this.scheduleRepository.getScheduleEvents(userId);
|
8
|
+
}
|
9
|
+
async createScheduleEvent(newEvent) {
|
10
|
+
return this.scheduleRepository.createScheduleEvent(newEvent);
|
11
|
+
}
|
12
|
+
async updateScheduleEvent(eventId, newEvent) {
|
13
|
+
return this.scheduleRepository.updateScheduleEvent(eventId, newEvent);
|
14
|
+
}
|
15
|
+
async removeScheduleEvent(eventId) {
|
16
|
+
return this.scheduleRepository.removeScheduleEvent(eventId);
|
17
|
+
}
|
18
|
+
};
|
19
|
+
ScheduleService = __decorate([
|
20
|
+
injectable(),
|
21
|
+
__param(0, inject(TYPES.IScheduleRepository)),
|
22
|
+
__param(1, inject('Logger')),
|
23
|
+
__metadata("design:paramtypes", [Object, Object])
|
24
|
+
], ScheduleService);export{ScheduleService};//# sourceMappingURL=schedule-service.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schedule-service.js","sources":["../../src/services/schedule-service.ts"],"sourcesContent":[null],"names":[],"mappings":"0IAUa,IAAA,eAAe,GAArB,MAAM,eAAe,CAAA;IAGxB,WAEc,CAAA,kBAAuC,EAGjD,MAAe,EAAA;QAHL,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB,CAAqB;AAKjD,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;KACxB;IAEM,MAAM,iBAAiB,CAAC,MAAc,EAAA;QACzC,OAAO,IAAI,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;KAC5D;IAEM,MAAM,mBAAmB,CAAC,QAAgC,EAAA;QAC7D,OAAO,IAAI,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC;KAChE;AAEM,IAAA,MAAM,mBAAmB,CAAC,OAAe,EAAE,QA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G,OAAO,CAAC,OAAO,CAAC;CAGtE"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import {__decorate,__param,__metadata}from'tslib';import {injectable,inject}from'inversify';import {TYPES}from'../constants/constants.js';let TimelineService = class TimelineService {
|
2
|
+
constructor(timelineRepository, logger) {
|
3
|
+
this.timelineRepository = timelineRepository;
|
4
|
+
this.logger = logger;
|
5
|
+
}
|
6
|
+
async getTimelineEvents(userId) {
|
7
|
+
return this.timelineRepository.getTimelineEvents(userId);
|
8
|
+
}
|
9
|
+
async createTimelineEvent(newEvent) {
|
10
|
+
return this.timelineRepository.createTimelineEvent(newEvent);
|
11
|
+
}
|
12
|
+
async updateTimelineEvent(eventId, newEvent) {
|
13
|
+
return this.timelineRepository.updateTimelineEvent(eventId, newEvent);
|
14
|
+
}
|
15
|
+
async removeTimelineEvent(eventId) {
|
16
|
+
return this.timelineRepository.removeTimelineEvent(eventId);
|
17
|
+
}
|
18
|
+
};
|
19
|
+
TimelineService = __decorate([
|
20
|
+
injectable(),
|
21
|
+
__param(0, inject(TYPES.ITimelineRepository)),
|
22
|
+
__param(1, inject('Logger')),
|
23
|
+
__metadata("design:paramtypes", [Object, Object])
|
24
|
+
], TimelineService);export{TimelineService};//# sourceMappingURL=timeline-service.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"timeline-service.js","sources":["../../src/services/timeline-service.ts"],"sourcesContent":[null],"names":[],"mappings":"0IASa,IAAA,eAAe,GAArB,MAAM,eAAe,CAAA;IAGxB,WAEc,CAAA,kBAAuC,EAGjD,MAAyB,EAAA;QAHf,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB,CAAqB;AAKjD,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;KACxB;IAEM,MAAM,iBAAiB,CAAC,MAAc,EAAA;QACzC,OAAO,IAAI,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;KAC5D;IAEM,MAAM,mBAAmB,CAAC,QAAgC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C;IAItE,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAGvE"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import {__decorate,__param,__metadata}from'tslib';import'bunyan';import {injectable,inject}from'inversify';import {TYPES}from'../constants/constants.js';let TimesheetService = class TimesheetService {
|
2
|
+
constructor(timesheetRepository, logger) {
|
3
|
+
this.timesheetRepository = timesheetRepository;
|
4
|
+
this.logger = logger;
|
5
|
+
}
|
6
|
+
async getTimesheetEvents(userId) {
|
7
|
+
return this.timesheetRepository.getTimesheetEvents(userId);
|
8
|
+
}
|
9
|
+
async createTimesheetEvent(newEvent) {
|
10
|
+
return this.timesheetRepository.createTimesheetEvent(newEvent);
|
11
|
+
}
|
12
|
+
async updateTimesheetEvent(eventId, newEvent) {
|
13
|
+
return this.timesheetRepository.updateTimesheetEvent(eventId, newEvent);
|
14
|
+
}
|
15
|
+
async removeTimesheetEvent(eventId) {
|
16
|
+
return this.timesheetRepository.removeTimesheetEvent(eventId);
|
17
|
+
}
|
18
|
+
};
|
19
|
+
TimesheetService = __decorate([
|
20
|
+
injectable(),
|
21
|
+
__param(0, inject(TYPES.ITimesheetRepository)),
|
22
|
+
__param(1, inject('Logger')),
|
23
|
+
__metadata("design:paramtypes", [Object, Object])
|
24
|
+
], TimesheetService);export{TimesheetService};//# sourceMappingURL=timesheet-service.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"timesheet-service.js","sources":["../../src/services/timesheet-service.ts"],"sourcesContent":[null],"names":[],"mappings":"yJAOa,IAAA,gBAAgB,GAAtB,MAAM,gBAAgB,CAAA;IAGzB,WAEc,CAAA,mBAAyC,EAGnD,MAAe,EAAA;QAHL,IAAmB,CAAA,mBAAA,GAAnB,mBAAmB,CAAsB;AAKnD,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;KACxB;IAEM,MAAM,kBAAkB,CAAC,MAAc,EAAA;QAC1C,OAAO,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;KAC9D;IAEM,MAAM,oBAAoB,CAAC,QAAa,EAAA;QAC3C,OAAO,IAAI,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;KAClE;AAEM,IAAA,MAAM,oBAAoB,CAAC,OAAe,EAAE,QAAa,EAAA;QAC5D,OAAO,IAAI,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;KAC3E;IAEM,MAAM,oBAAoB,CAAC,OAAe,EAAA;QAC7C,OAAO,IAAI,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;KACjE;EACJ;AA5BY,gBAAgB,GAAA,UAAA,CAAA;AAD5B,IAAA,UAAU,EAAE;AAKJ,IAAA,OAAA,CAAA,CAAA,EAAA,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAA;AAGlC,IAAA,OAAA,CAAA,CAAA,EAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;;AAPZ,CAAA,EAAA,gBAAgB,CA4B5B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/store/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schedule-model.d.ts","sourceRoot":"","sources":["../../../src/store/models/schedule-model.ts"],"names":[],"mappings":"AAEA,OAAO,EAAU,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAE/D,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,QAAQ;IACvD,EAAE,EAAE,GAAG,CAAC;CACX;AA2CD,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,iBAAiB,EAAE,CAAC,EAAE,EAAE,UAAU,KAAK,iBACI,CAAC"}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import {Schema}from'mongoose';/* eslint-disable no-underscore-dangle */
|
2
|
+
/* eslint-disable import/no-extraneous-dependencies */
|
3
|
+
const ScheduleSchema = new Schema({
|
4
|
+
// Event title
|
5
|
+
title: { type: String, required: true },
|
6
|
+
// all day event ? true: false
|
7
|
+
allDay: { type: Boolean, default: false },
|
8
|
+
// start date
|
9
|
+
start: { type: Date },
|
10
|
+
// end date
|
11
|
+
end: { type: Date },
|
12
|
+
// description
|
13
|
+
desc: { type: String },
|
14
|
+
// userId
|
15
|
+
userId: { type: String },
|
16
|
+
// resouceId
|
17
|
+
resourceId: { type: String },
|
18
|
+
// tip
|
19
|
+
tooltip: { type: String },
|
20
|
+
// isBillable
|
21
|
+
isBillable: { type: Boolean, default: false },
|
22
|
+
// submitted date
|
23
|
+
submittedOn: { type: Date },
|
24
|
+
// reason
|
25
|
+
reason: { type: String },
|
26
|
+
// note
|
27
|
+
note: { type: String },
|
28
|
+
// approved date
|
29
|
+
approvedOn: { type: Date },
|
30
|
+
});
|
31
|
+
ScheduleSchema.virtual('id').get(function () {
|
32
|
+
return this._id.toHexString();
|
33
|
+
});
|
34
|
+
ScheduleSchema.set('toJSON', {
|
35
|
+
virtuals: true,
|
36
|
+
});
|
37
|
+
ScheduleSchema.set('toObject', {
|
38
|
+
virtuals: true,
|
39
|
+
});
|
40
|
+
const ScheduleModelFunc = (db) => db.model('schedule', ScheduleSchema);export{ScheduleModelFunc};//# sourceMappingURL=schedule-model.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schedule-model.js","sources":["../../../src/store/models/schedule-model.ts"],"sourcesContent":[null],"names":[],"mappings":"8BAAA;AACA;AAQA,MAAM,cAAc,GAAG,IAAI,MAAM,CAAC;;IAE9B,KAAK,EAAE,EAAE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