Перейти к основному содержимому

fuelConsumedRevertedDataSchema

@mineflow/contracts


@mineflow/contracts / fuelConsumedRevertedDataSchema

Variable: fuelConsumedRevertedDataSchema

const fuelConsumedRevertedDataSchema: ZodObject<{
assetId: ZodUUID;
assetUsageId: ZodUUID;
fuelEntryId: ZodUUID;
fuelType: ZodEnum<{
diesel: "diesel";
gasoline: "gasoline";
lubricant: "lubricant";
}>;
litersConsumed: ZodNumber;
litersIssued: ZodNumber;
productionObjectId: ZodUUID;
reason: ZodString;
reversalSagaId: ZodUUID;
sagaId: ZodUUID;
shiftDate: ZodISODateTime;
shiftReportId: ZodUUID;
}, $strip>;

Defined in: events/scm/fuel.ts:108

scm.fuel.consumed-reverted — counter-event для сторно саги.