@expo/eas-build-job
Advanced tools
Comparing version 1.0.107 to 1.0.108
@@ -48,8 +48,8 @@ import Joi from 'joi'; | ||
repositoryUrl: string; | ||
/** A Git ref - points to a branch, tag, or commit. */ | ||
gitRef?: string; | ||
/** A Git ref - points to a branch head, tag head or a branch name. */ | ||
gitRef: string | null; | ||
/** | ||
* Git commit hash. | ||
*/ | ||
gitCommitHash?: string; | ||
gitCommitHash: string; | ||
}; | ||
@@ -60,14 +60,14 @@ export declare const ArchiveSourceSchema: Joi.ObjectSchema<ArchiveSource>; | ||
repositoryUrl: z.ZodString; | ||
gitRef: z.ZodOptional<z.ZodString>; | ||
gitCommitHash: z.ZodOptional<z.ZodString>; | ||
gitRef: z.ZodNullable<z.ZodString>; | ||
gitCommitHash: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
type: ArchiveSourceType.GIT; | ||
repositoryUrl: string; | ||
gitRef?: string | undefined; | ||
gitCommitHash?: string | undefined; | ||
gitRef: string | null; | ||
gitCommitHash: string; | ||
}, { | ||
type: ArchiveSourceType.GIT; | ||
repositoryUrl: string; | ||
gitRef?: string | undefined; | ||
gitCommitHash?: string | undefined; | ||
gitRef: string | null; | ||
gitCommitHash: string; | ||
}>, z.ZodObject<{ | ||
@@ -74,0 +74,0 @@ type: z.ZodLiteral<ArchiveSourceType.PATH>; |
@@ -61,4 +61,4 @@ "use strict"; | ||
repositoryUrl: joi_1.default.string().required(), | ||
gitCommitHash: joi_1.default.string().optional(), | ||
gitRef: joi_1.default.string().optional(), | ||
gitCommitHash: joi_1.default.string().required(), | ||
gitRef: joi_1.default.string().allow(null).required(), | ||
}), | ||
@@ -76,4 +76,4 @@ }) | ||
repositoryUrl: zod_1.z.string().url(), | ||
gitRef: zod_1.z.string().optional(), | ||
gitCommitHash: zod_1.z.string().optional(), | ||
gitRef: zod_1.z.string().nullable(), | ||
gitCommitHash: zod_1.z.string(), | ||
}), | ||
@@ -80,0 +80,0 @@ zod_1.z.object({ |
@@ -10,14 +10,14 @@ import { z } from 'zod'; | ||
repositoryUrl: z.ZodString; | ||
gitRef: z.ZodOptional<z.ZodString>; | ||
gitCommitHash: z.ZodOptional<z.ZodString>; | ||
gitRef: z.ZodNullable<z.ZodString>; | ||
gitCommitHash: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
type: import("./common").ArchiveSourceType.GIT; | ||
repositoryUrl: string; | ||
gitRef?: string | undefined; | ||
gitCommitHash?: string | undefined; | ||
gitRef: string | null; | ||
gitCommitHash: string; | ||
}, { | ||
type: import("./common").ArchiveSourceType.GIT; | ||
repositoryUrl: string; | ||
gitRef?: string | undefined; | ||
gitCommitHash?: string | undefined; | ||
gitRef: string | null; | ||
gitCommitHash: string; | ||
}>, z.ZodObject<{ | ||
@@ -147,4 +147,4 @@ type: z.ZodLiteral<import("./common").ArchiveSourceType.PATH>; | ||
repositoryUrl: string; | ||
gitRef?: string | undefined; | ||
gitCommitHash?: string | undefined; | ||
gitRef: string | null; | ||
gitCommitHash: string; | ||
} | { | ||
@@ -193,4 +193,4 @@ type: import("./common").ArchiveSourceType.PATH; | ||
repositoryUrl: string; | ||
gitRef?: string | undefined; | ||
gitCommitHash?: string | undefined; | ||
gitRef: string | null; | ||
gitCommitHash: string; | ||
} | { | ||
@@ -197,0 +197,0 @@ type: import("./common").ArchiveSourceType.PATH; |
{ | ||
"name": "@expo/eas-build-job", | ||
"version": "1.0.107", | ||
"version": "1.0.108", | ||
"main": "dist/index.js", | ||
@@ -38,3 +38,3 @@ "types": "dist/index.d.ts", | ||
}, | ||
"gitHead": "a5573062f84e2918b503e7e2758615a1172536c8" | ||
"gitHead": "74d8c65802f43a3e2419e6e4939d77b4135a2935" | ||
} |
Sorry, the diff of this file is not supported yet
128396