fix: scheduler to predicates imports
This commit is contained in:
parent
ed62ed516f
commit
1b35cf7a39
19 changed files with 19 additions and 19 deletions
|
@ -1,7 +1,7 @@
|
|||
import 'reflect-metadata'
|
||||
|
||||
import { EmailMessageIdentifier, RoleName } from '@standardnotes/common'
|
||||
import { PredicateName, PredicateAuthority, PredicateVerificationResult } from '@standardnotes/scheduler'
|
||||
import { PredicateName, PredicateAuthority, PredicateVerificationResult } from '@standardnotes/predicates'
|
||||
import { TimerInterface } from '@standardnotes/time'
|
||||
|
||||
import { DomainEventFactory } from './DomainEventFactory'
|
||||
|
|
|
@ -16,7 +16,7 @@ import {
|
|||
DomainEventService,
|
||||
EmailMessageRequestedEvent,
|
||||
} from '@standardnotes/domain-events'
|
||||
import { Predicate, PredicateVerificationResult } from '@standardnotes/scheduler'
|
||||
import { Predicate, PredicateVerificationResult } from '@standardnotes/predicates'
|
||||
import { TimerInterface } from '@standardnotes/time'
|
||||
import { inject, injectable } from 'inversify'
|
||||
import TYPES from '../../Bootstrap/Types'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Uuid, RoleName, EmailMessageIdentifier } from '@standardnotes/common'
|
||||
import { Predicate, PredicateVerificationResult } from '@standardnotes/scheduler'
|
||||
import { Predicate, PredicateVerificationResult } from '@standardnotes/predicates'
|
||||
import {
|
||||
AccountDeletionRequestedEvent,
|
||||
CloudBackupRequestedEvent,
|
||||
|
|
|
@ -7,7 +7,7 @@ import {
|
|||
PredicateVerificationRequestedEventPayload,
|
||||
PredicateVerifiedEvent,
|
||||
} from '@standardnotes/domain-events'
|
||||
import { Predicate, PredicateVerificationResult } from '@standardnotes/scheduler'
|
||||
import { Predicate, PredicateVerificationResult } from '@standardnotes/predicates'
|
||||
import { Logger } from 'winston'
|
||||
|
||||
import { DomainEventFactoryInterface } from '../Event/DomainEventFactoryInterface'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import 'reflect-metadata'
|
||||
|
||||
import { PredicateName, PredicateVerificationResult, PredicateAuthority } from '@standardnotes/scheduler'
|
||||
import { PredicateName, PredicateVerificationResult, PredicateAuthority } from '@standardnotes/predicates'
|
||||
|
||||
import { Setting } from '../../Setting/Setting'
|
||||
import { SettingRepositoryInterface } from '../../Setting/SettingRepositoryInterface'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Uuid } from '@standardnotes/common'
|
||||
import { PredicateName, PredicateVerificationResult } from '@standardnotes/scheduler'
|
||||
import { PredicateName, PredicateVerificationResult } from '@standardnotes/predicates'
|
||||
import { EmailBackupFrequency, SettingName } from '@standardnotes/settings'
|
||||
import { inject, injectable } from 'inversify'
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Uuid } from '@standardnotes/common'
|
||||
import { Predicate } from '@standardnotes/scheduler'
|
||||
import { Predicate } from '@standardnotes/predicates'
|
||||
|
||||
export type VerifyPredicateDTO = {
|
||||
predicate: Predicate
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { PredicateVerificationResult } from '@standardnotes/scheduler'
|
||||
import { PredicateVerificationResult } from '@standardnotes/predicates'
|
||||
|
||||
export type VerifyPredicateResponse = {
|
||||
predicateVerificationResult: PredicateVerificationResult
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Predicate } from '@standardnotes/scheduler'
|
||||
import { Predicate } from '@standardnotes/predicates'
|
||||
|
||||
export interface PredicateVerificationRequestedEventPayload {
|
||||
predicate: Predicate
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Predicate, PredicateVerificationResult } from '@standardnotes/scheduler'
|
||||
import { Predicate, PredicateVerificationResult } from '@standardnotes/predicates'
|
||||
|
||||
export interface PredicateVerifiedEventPayload {
|
||||
predicate: Predicate
|
||||
|
|
|
@ -4,7 +4,7 @@ import { EmailMessageIdentifier } from '@standardnotes/common'
|
|||
import { TimerInterface } from '@standardnotes/time'
|
||||
|
||||
import { DomainEventFactory } from './DomainEventFactory'
|
||||
import { PredicateAuthority, PredicateName } from '@standardnotes/scheduler'
|
||||
import { PredicateAuthority, PredicateName } from '@standardnotes/predicates'
|
||||
import { Job } from '../Job/Job'
|
||||
import { Predicate } from '../Predicate/Predicate'
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
EmailMessageRequestedEvent,
|
||||
PredicateVerificationRequestedEvent,
|
||||
} from '@standardnotes/domain-events'
|
||||
import { PredicateAuthority } from '@standardnotes/scheduler'
|
||||
import { PredicateAuthority } from '@standardnotes/predicates'
|
||||
import { TimerInterface } from '@standardnotes/time'
|
||||
import { inject, injectable } from 'inversify'
|
||||
import TYPES from '../../Bootstrap/Types'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { PredicateVerifiedEvent } from '@standardnotes/domain-events'
|
||||
import { PredicateAuthority, PredicateName, PredicateVerificationResult } from '@standardnotes/scheduler'
|
||||
import { PredicateAuthority, PredicateName, PredicateVerificationResult } from '@standardnotes/predicates'
|
||||
import 'reflect-metadata'
|
||||
import { Logger } from 'winston'
|
||||
import { UpdatePredicateStatus } from '../UseCase/UpdatePredicateStatus/UpdatePredicateStatus'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { DomainEventHandlerInterface, UserRegisteredEvent } from '@standardnotes/domain-events'
|
||||
import { PredicateAuthority, PredicateName } from '@standardnotes/scheduler'
|
||||
import { PredicateAuthority, PredicateName } from '@standardnotes/predicates'
|
||||
import { TimerInterface } from '@standardnotes/time'
|
||||
import { inject, injectable } from 'inversify'
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { DomainEventPublisherInterface, EmailMessageRequestedEvent } from '@standardnotes/domain-events'
|
||||
import { PredicateName } from '@standardnotes/scheduler'
|
||||
import { PredicateName } from '@standardnotes/predicates'
|
||||
import 'reflect-metadata'
|
||||
import { DomainEventFactoryInterface } from '../Event/DomainEventFactoryInterface'
|
||||
import { Predicate } from '../Predicate/Predicate'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { EmailMessageIdentifier } from '@standardnotes/common'
|
||||
import { DomainEventPublisherInterface } from '@standardnotes/domain-events'
|
||||
import { PredicateName } from '@standardnotes/scheduler'
|
||||
import { PredicateName } from '@standardnotes/predicates'
|
||||
import { inject, injectable } from 'inversify'
|
||||
|
||||
import TYPES from '../../Bootstrap/Types'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* istanbul ignore file */
|
||||
import { PredicateAuthority, PredicateName } from '@standardnotes/scheduler'
|
||||
import { PredicateAuthority, PredicateName } from '@standardnotes/predicates'
|
||||
import { Column, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn } from 'typeorm'
|
||||
|
||||
import { Job } from '../Job/Job'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { PredicateAuthority, PredicateName, PredicateVerificationResult } from '@standardnotes/scheduler'
|
||||
import { PredicateAuthority, PredicateName, PredicateVerificationResult } from '@standardnotes/predicates'
|
||||
import 'reflect-metadata'
|
||||
|
||||
import { JobDoneInterpreterInterface } from '../../Job/JobDoneInterpreterInterface'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Predicate, PredicateVerificationResult } from '@standardnotes/scheduler'
|
||||
import { Predicate, PredicateVerificationResult } from '@standardnotes/predicates'
|
||||
|
||||
export type UpdatePredicateStatusDTO = {
|
||||
predicate: Predicate
|
||||
|
|
Loading…
Reference in a new issue