@xyo-network/archivist-model
Advanced tools
Comparing version 2.53.20 to 2.53.21
@@ -0,1 +1,2 @@ | ||
import { WithAdditional } from '@xyo-network/core'; | ||
import { AddressString, ModuleConfig } from '@xyo-network/module-model'; | ||
@@ -10,3 +11,3 @@ import { Payload } from '@xyo-network/payload-model'; | ||
export declare const ArchivistConfigSchema: ArchivistConfigSchema; | ||
export type ArchivistConfig<TConfig extends Payload | undefined = undefined> = ModuleConfig<{ | ||
export type ArchivistConfig<TConfig extends Payload | undefined = undefined> = ModuleConfig<WithAdditional<{ | ||
/** @field address of one or more parent archivists to read from */ | ||
@@ -17,3 +18,3 @@ parents?: ArchivistParents; | ||
storeParentReads?: boolean; | ||
} & Omit<TConfig, 'schema'>>; | ||
}, Omit<TConfig, 'schema'>>>; | ||
//# sourceMappingURL=Config.d.ts.map |
@@ -13,8 +13,8 @@ { | ||
"dependencies": { | ||
"@xyo-network/boundwitness-model": "^2.53.20", | ||
"@xyo-network/core": "^2.53.20", | ||
"@xyo-network/module-events": "^2.53.20", | ||
"@xyo-network/module-model": "^2.53.20", | ||
"@xyo-network/payload-model": "^2.53.20", | ||
"@xyo-network/promise": "^2.53.20" | ||
"@xyo-network/boundwitness-model": "^2.53.21", | ||
"@xyo-network/core": "^2.53.21", | ||
"@xyo-network/module-events": "^2.53.21", | ||
"@xyo-network/module-model": "^2.53.21", | ||
"@xyo-network/payload-model": "^2.53.21", | ||
"@xyo-network/promise": "^2.53.21" | ||
}, | ||
@@ -59,3 +59,3 @@ "devDependencies": { | ||
"types": "dist/types/index.d.ts", | ||
"version": "2.53.20" | ||
"version": "2.53.21" | ||
} |
@@ -0,1 +1,2 @@ | ||
import { WithAdditional } from '@xyo-network/core' | ||
import { AddressString, ModuleConfig } from '@xyo-network/module-model' | ||
@@ -14,9 +15,12 @@ import { Payload } from '@xyo-network/payload-model' | ||
export type ArchivistConfig<TConfig extends Payload | undefined = undefined> = ModuleConfig< | ||
{ | ||
/** @field address of one or more parent archivists to read from */ | ||
parents?: ArchivistParents | ||
schema: TConfig extends Payload ? TConfig['schema'] : ArchivistConfigSchema | ||
/** @field should child store all reads from parents? */ | ||
storeParentReads?: boolean | ||
} & Omit<TConfig, 'schema'> | ||
WithAdditional< | ||
{ | ||
/** @field address of one or more parent archivists to read from */ | ||
parents?: ArchivistParents | ||
schema: TConfig extends Payload ? TConfig['schema'] : ArchivistConfigSchema | ||
/** @field should child store all reads from parents? */ | ||
storeParentReads?: boolean | ||
}, | ||
Omit<TConfig, 'schema'> | ||
> | ||
> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
223730
6368
0