PURISTA API / @purista/core / CreateStreamContextMockInput
Type Alias: CreateStreamContextMockInput<TBuilder>
CreateStreamContextMockInput<
TBuilder> =object
Defined in: testing/createStreamContextMock.ts:35
Type Parameters
TBuilder
TBuilder extends StreamDefinitionBuilder<any, any>
Properties
message?
optionalmessage?:Partial<StreamOpenRequest<Infer<StreamContextMockBuilderTypes<TBuilder>["PayloadSchema"]>,Infer<StreamContextMockBuilderTypes<TBuilder>["ParamsSchema"]>>>
Defined in: testing/createStreamContextMock.ts:40
parameter
parameter:
InferIn<StreamContextMockBuilderTypes<TBuilder>["ParamsSchema"]>
Defined in: testing/createStreamContextMock.ts:37
payload
payload:
InferIn<StreamContextMockBuilderTypes<TBuilder>["PayloadSchema"]>
Defined in: testing/createStreamContextMock.ts:36
resources?
optionalresources?:Partial<StreamContextMockBuilderTypes<TBuilder>["Resources"]>
Defined in: testing/createStreamContextMock.ts:39
sandbox?
optionalsandbox?:SinonSandbox
Defined in: testing/createStreamContextMock.ts:38
