<const Tag extends QueueStoreTag>(tag: Tag): ReturnType<
typeof facetStoreRegistration<Tag, QueueStoreAnalyticsContract<Tag>>
>
<const Tag extends QueueStoreTag, const Shapes extends StoreShapes>(
tag: Tag,
extended: Shapes
): ReturnType<
typeof facetStoreRegistration<
Tag,
QueueStoreAnalyticsContract<Tag>,
Shapes
>
>Register this custom queue on an app Store.Service — built-in analytics spec with the tag's
itemSchema injected. Pass a bare spec object to add app-specific methods (merged with built-in):
CustomQueueHyperlink.store(Jobs)
CustomQueueHyperlink.store(Jobs, {
laneAudit: laneAuditSchema,
}, ({ laneAudit, event }) => ({
appendLaneAudit: laneAudit.append,
}))export function function store<const Tag extends QueueStoreTag>(tag: Tag): ReturnType<typeof facetStoreRegistration<Tag, QueueStoreAnalyticsContract<Tag>>> (+1 overload)Register this custom queue on an app
Store.Service
— built-in analytics spec with the tag's
itemSchema injected. Pass a bare spec object to add app-specific methods (merged with built-in):
CustomQueueHyperlink.store(Jobs)
CustomQueueHyperlink.store(Jobs, {
laneAudit: laneAuditSchema,
}, ({ laneAudit, event }) => ({
appendLaneAudit: laneAudit.append,
}))
store<const function (type parameter) Tag in store<const Tag extends QueueStoreTag>(tag: Tag): ReturnType<typeof facetStoreRegistration<Tag, QueueStoreAnalyticsContract<Tag>>>Tag extends import QueueStoreTagQueueStoreTag>(tag: const Tag extends QueueStoreTagtag: function (type parameter) Tag in store<const Tag extends QueueStoreTag>(tag: Tag): ReturnType<typeof facetStoreRegistration<Tag, QueueStoreAnalyticsContract<Tag>>>Tag): type ReturnType<
T extends (...args: any) => any
> = T extends (...args: any) => infer R ? R : any
Obtain the return type of a function type
ReturnType<
typeof import facetStoreRegistrationfacetStoreRegistration<function (type parameter) Tag in store<const Tag extends QueueStoreTag>(tag: Tag): ReturnType<typeof facetStoreRegistration<Tag, QueueStoreAnalyticsContract<Tag>>>Tag, import QueueStoreAnalyticsContractQueueStoreAnalyticsContract<function (type parameter) Tag in store<const Tag extends QueueStoreTag>(tag: Tag): ReturnType<typeof facetStoreRegistration<Tag, QueueStoreAnalyticsContract<Tag>>>Tag>>
>;
export function function store<const Tag extends QueueStoreTag, const Shapes extends StoreShapes>(tag: Tag, extended: Shapes): ReturnType<typeof facetStoreRegistration<Tag, QueueStoreAnalyticsContract<Tag>, Shapes>> (+1 overload)Register this custom queue on an app
Store.Service
— built-in analytics spec with the tag's
itemSchema injected. Pass a bare spec object to add app-specific methods (merged with built-in):
CustomQueueHyperlink.store(Jobs)
CustomQueueHyperlink.store(Jobs, {
laneAudit: laneAuditSchema,
}, ({ laneAudit, event }) => ({
appendLaneAudit: laneAudit.append,
}))
store<
const function (type parameter) Tag in store<const Tag extends QueueStoreTag, const Shapes extends StoreShapes>(tag: Tag, extended: Shapes): ReturnType<typeof facetStoreRegistration<Tag, QueueStoreAnalyticsContract<Tag>, Shapes>>Tag extends import QueueStoreTagQueueStoreTag,
const function (type parameter) Shapes in store<const Tag extends QueueStoreTag, const Shapes extends StoreShapes>(tag: Tag, extended: Shapes): ReturnType<typeof facetStoreRegistration<Tag, QueueStoreAnalyticsContract<Tag>, Shapes>>Shapes extends import StoreShapesStoreShapes,
>(tag: const Tag extends QueueStoreTagtag: function (type parameter) Tag in store<const Tag extends QueueStoreTag, const Shapes extends StoreShapes>(tag: Tag, extended: Shapes): ReturnType<typeof facetStoreRegistration<Tag, QueueStoreAnalyticsContract<Tag>, Shapes>>Tag, extended: const Shapes extends StoreShapesextended: function (type parameter) Shapes in store<const Tag extends QueueStoreTag, const Shapes extends StoreShapes>(tag: Tag, extended: Shapes): ReturnType<typeof facetStoreRegistration<Tag, QueueStoreAnalyticsContract<Tag>, Shapes>>Shapes): type ReturnType<
T extends (...args: any) => any
> = T extends (...args: any) => infer R ? R : any
Obtain the return type of a function type
ReturnType<
typeof import facetStoreRegistrationfacetStoreRegistration<function (type parameter) Tag in store<const Tag extends QueueStoreTag, const Shapes extends StoreShapes>(tag: Tag, extended: Shapes): ReturnType<typeof facetStoreRegistration<Tag, QueueStoreAnalyticsContract<Tag>, Shapes>>Tag, import QueueStoreAnalyticsContractQueueStoreAnalyticsContract<function (type parameter) Tag in store<const Tag extends QueueStoreTag, const Shapes extends StoreShapes>(tag: Tag, extended: Shapes): ReturnType<typeof facetStoreRegistration<Tag, QueueStoreAnalyticsContract<Tag>, Shapes>>Tag>, function (type parameter) Shapes in store<const Tag extends QueueStoreTag, const Shapes extends StoreShapes>(tag: Tag, extended: Shapes): ReturnType<typeof facetStoreRegistration<Tag, QueueStoreAnalyticsContract<Tag>, Shapes>>Shapes>
>;
export function function store<const Tag extends QueueStoreTag>(tag: Tag): ReturnType<typeof facetStoreRegistration<Tag, QueueStoreAnalyticsContract<Tag>>> (+1 overload)Register this custom queue on an app
Store.Service
— built-in analytics spec with the tag's
itemSchema injected. Pass a bare spec object to add app-specific methods (merged with built-in):
CustomQueueHyperlink.store(Jobs)
CustomQueueHyperlink.store(Jobs, {
laneAudit: laneAuditSchema,
}, ({ laneAudit, event }) => ({
appendLaneAudit: laneAudit.append,
}))
store(tag: QueueStoreTagtag: import QueueStoreTagQueueStoreTag, extended: anyextended?: import StoreShapesStoreShapes) {
const const contract: anycontract = import makeQueueStoreAnalyticsContractmakeQueueStoreAnalyticsContract(tag: QueueStoreTagtag);
return extended: anyextended === var undefinedundefined
? import facetStoreRegistrationfacetStoreRegistration(tag: QueueStoreTagtag, const contract: anycontract)
: import facetStoreRegistrationfacetStoreRegistration(tag: QueueStoreTagtag, const contract: anycontract, extended: anyextended);
}