@dereekb/model 12.5.3 → 12.5.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 +1 -1
- package/src/lib/service/sync/sync.entity.d.ts +2 -2
- package/src/lib/service/sync/sync.entity.synchronizer.basic.d.ts +4 -4
- package/src/lib/service/sync/sync.entity.synchronizer.d.ts +2 -2
- package/src/lib/service/sync/sync.error.d.ts +1 -1
- package/src/lib/transform/transform.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FactoryWithRequiredInput, Maybe, UniqueModel } from '@dereekb/util';
|
|
2
|
-
import { SyncSourceInfo } from './sync.source';
|
|
1
|
+
import { type FactoryWithRequiredInput, type Maybe, type UniqueModel } from '@dereekb/util';
|
|
2
|
+
import { type SyncSourceInfo } from './sync.source';
|
|
3
3
|
/**
|
|
4
4
|
* A unique identifier for an entity on a specific server.
|
|
5
5
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Maybe } from '@dereekb/util';
|
|
2
|
-
import { SyncEntityCommonType, SyncEntityCommonTypeIdPair } from './sync.entity';
|
|
3
|
-
import { SyncEntityCommonTypeSynchronizationEntityResult, SyncEntityCommonTypeSynchronizer, SyncEntityCommonTypeSynchronizerSourceContextType, SyncEntityCommonTypeSynchronizerSourceFlowType } from './sync.entity.synchronizer';
|
|
4
|
-
import { SyncSourceClientContext, SyncSourceId, SyncSourceInfo } from './sync.source';
|
|
1
|
+
import { type Maybe } from '@dereekb/util';
|
|
2
|
+
import { type SyncEntityCommonType, type SyncEntityCommonTypeIdPair } from './sync.entity';
|
|
3
|
+
import { type SyncEntityCommonTypeSynchronizationEntityResult, type SyncEntityCommonTypeSynchronizer, type SyncEntityCommonTypeSynchronizerSourceContextType, type SyncEntityCommonTypeSynchronizerSourceFlowType } from './sync.entity.synchronizer';
|
|
4
|
+
import { type SyncSourceClientContext, type SyncSourceId, type SyncSourceInfo } from './sync.source';
|
|
5
5
|
/**
|
|
6
6
|
* BasicSyncEntityCommonTypeSynchronizerSourceSyncEntityFunction input
|
|
7
7
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SyncEntity, SyncEntityCommonType, SyncEntityCommonTypeIdPair, SyncEntityCommonTypeIdPairFactoryInput } from './sync.entity';
|
|
2
|
-
import { Maybe } from '@dereekb/util';
|
|
1
|
+
import { type SyncEntity, type SyncEntityCommonType, type SyncEntityCommonTypeIdPair, type SyncEntityCommonTypeIdPairFactoryInput } from './sync.entity';
|
|
2
|
+
import { type Maybe } from '@dereekb/util';
|
|
3
3
|
/**
|
|
4
4
|
* The context type of source for an entity.
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseError } from 'make-error';
|
|
2
|
-
import { SyncEntityCommonType, SyncEntityCommonTypeIdPair } from './sync.entity';
|
|
2
|
+
import { type SyncEntityCommonType, type SyncEntityCommonTypeIdPair } from './sync.entity';
|
|
3
3
|
/**
|
|
4
4
|
* Error thrown when the common type is not known/registered.
|
|
5
5
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Maybe, type ClassType } from '@dereekb/util';
|
|
1
|
+
import { type Maybe, type ClassType } from '@dereekb/util';
|
|
2
2
|
import { type ClassTransformOptions } from 'class-transformer';
|
|
3
3
|
import { type ValidationError, type ValidatorOptions } from 'class-validator';
|
|
4
4
|
export interface TransformAndValidateObjectOutput<T, O> {
|