UNPKG

@datr.tech/cargo-router-validation-schemas-dolomite

Version:
408 lines (407 loc) 8.56 kB
export declare const hopValidationSchemaCreateHop: { adminStatusId: { default: string; in: string; isMongoId: boolean; notEmpty: boolean; optional: { values: string; }; }; adminUserId: { in: string; isMongoId: boolean; notEmpty: boolean; }; description: { default: string; in: string; isString: boolean; isLength: { options: { min: number; max: number; }; }; notEmpty: boolean; optional: { values: string; }; }; journeyId: { in: string; isMongoId: boolean; notEmpty: boolean; }; name: { in: string; isString: boolean; isLength: { options: { min: number; max: number; }; }; notEmpty: boolean; }; order: { default: number; in: string; isInt: boolean; notEmpty: boolean; optional: { values: string; }; }; resourceId: { in: string; isMongoId: boolean; notEmpty: boolean; }; }; export declare const hopValidationSchemaUpdateHop: { adminStatusId: { default: string; in: string; isMongoId: boolean; notEmpty: boolean; optional: { values: string; }; }; adminUserId: { in: string; isMongoId: boolean; notEmpty: boolean; default: string; optional: { values: string; }; }; description: { default: string; in: string; isString: boolean; isLength: { options: { min: number; max: number; }; }; notEmpty: boolean; optional: { values: string; }; }; hopId: { in: string; isMongoId: boolean; notEmpty: boolean; }; journeyId: { in: string; isMongoId: boolean; notEmpty: boolean; default: string; optional: { values: string; }; }; name: { in: string; isString: boolean; isLength: { options: { min: number; max: number; }; }; notEmpty: boolean; default: string; optional: { values: string; }; }; order: { default: number; in: string; isInt: boolean; notEmpty: boolean; optional: { values: string; }; }; resourceId: { in: string; isMongoId: boolean; notEmpty: boolean; default: string; optional: { values: string; }; }; }; export declare const hopValidationSchemaReadHop: { hopId: { in: string; isMongoId: boolean; notEmpty: boolean; }; }; export declare const hopValidationSchemaDeleteHop: { hopId: { in: string; isMongoId: boolean; notEmpty: boolean; }; }; export declare const journeyValidationSchemaCreateJourney: { adminStatusId: { default: string; in: string; isMongoId: boolean; notEmpty: boolean; optional: { values: string; }; }; adminUserId: { in: string; isMongoId: boolean; notEmpty: boolean; }; description: { default: string; in: string; isString: boolean; isLength: { options: { min: number; max: number; }; }; notEmpty: boolean; optional: { values: string; }; }; frameworkId: { in: string; isMongoId: boolean; notEmpty: boolean; }; journeyTypeId: { in: string; isMongoId: boolean; notEmpty: boolean; }; name: { in: string; isString: boolean; isLength: { options: { min: number; max: number; }; }; notEmpty: boolean; }; }; export declare const journeyValidationSchemaUpdateJourney: { adminStatusId: { default: string; in: string; isMongoId: boolean; notEmpty: boolean; optional: { values: string; }; }; adminUserId: { in: string; isMongoId: boolean; notEmpty: boolean; default: string; optional: { values: string; }; }; description: { default: string; in: string; isString: boolean; isLength: { options: { min: number; max: number; }; }; notEmpty: boolean; optional: { values: string; }; }; frameworkId: { in: string; isMongoId: boolean; notEmpty: boolean; default: string; optional: { values: string; }; }; journeyId: { in: string; isMongoId: boolean; notEmpty: boolean; }; journeyTypeId: { in: string; isMongoId: boolean; notEmpty: boolean; default: string; optional: { values: string; }; }; name: { in: string; isString: boolean; isLength: { options: { min: number; max: number; }; }; notEmpty: boolean; default: string; optional: { values: string; }; }; }; export declare const journeyValidationSchemaReadJourney: { journeyId: { in: string; isMongoId: boolean; notEmpty: boolean; }; }; export declare const journeyValidationSchemaDeleteJourney: { journeyId: { in: string; isMongoId: boolean; notEmpty: boolean; }; }; export declare const journeyTypeValidationSchemaCreateJourneyType: { adminStatusId: { default: string; in: string; isMongoId: boolean; notEmpty: boolean; optional: { values: string; }; }; adminUserId: { in: string; isMongoId: boolean; notEmpty: boolean; }; description: { default: string; in: string; isString: boolean; isLength: { options: { min: number; max: number; }; }; notEmpty: boolean; optional: { values: string; }; }; name: { in: string; isString: boolean; isLength: { options: { min: number; max: number; }; }; notEmpty: boolean; }; }; export declare const journeyTypeValidationSchemaUpdateJourneyType: { adminStatusId: { default: string; in: string; isMongoId: boolean; notEmpty: boolean; optional: { values: string; }; }; adminUserId: { in: string; isMongoId: boolean; notEmpty: boolean; default: string; optional: { values: string; }; }; description: { default: string; in: string; isString: boolean; isLength: { options: { min: number; max: number; }; }; notEmpty: boolean; optional: { values: string; }; }; journeyTypeId: { in: string; isMongoId: boolean; notEmpty: boolean; }; name: { in: string; isString: boolean; isLength: { options: { min: number; max: number; }; }; notEmpty: boolean; default: string; optional: { values: string; }; }; }; export declare const journeyTypeValidationSchemaReadJourneyType: { journeyTypeId: { in: string; isMongoId: boolean; notEmpty: boolean; }; }; export declare const journeyTypeValidationSchemaDeleteJourneyType: { journeyTypeId: { in: string; isMongoId: boolean; notEmpty: boolean; }; };