Type aliases
ArchivistDistributeCallback
ArchivistDistributeCallback: function
Type declaration
-
- (preDistributionErrors: Error[], distributionErrors: Error[]): void
-
Parameters
-
preDistributionErrors: Error[]
-
distributionErrors: Error[]
Returns void
ArchivistEncoding
ArchivistEncoding: "utf8" | "buffer" | "live"
ArchivistExistsCallback
ArchivistExistsCallback: function
Type declaration
-
- (error: Error | null, doesValueExist: boolean): void
-
Parameters
-
error: Error | null
-
doesValueExist: boolean
Returns void
ArchivistGetCallback
ArchivistGetCallback: function
Type declaration
-
- (error: Error | null, value: T): void
-
Parameters
-
error: Error | null
-
value: T
Returns void
ArchivistListCallback
ArchivistListCallback: function
ArchivistMGetCallback
ArchivistMGetCallback: function
Type declaration
-
- (error: Error | null, value: T[]): void
-
Parameters
-
error: Error | null
-
value: T[]
Returns void
ArchivistMediaType
ArchivistMediaType: "application/json" | "application/octet-stream" | "application/x-tome" | "text/plain" | string
ArchivistNamedMGetCallback
ArchivistNamedMGetCallback: function
Type declaration
-
- (error: Error | null, value: object): void
-
Parameters
-
error: Error | null
-
value: object
Returns void
Defines to what type of data structure a topic instance will be deserialized into. It is also used in some cases to specify to a serialization method what is the data type of the data we are feeding in.