@claude-sync/cli 0.1.8 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/src/index.js
CHANGED
|
@@ -4345,7 +4345,7 @@ var require_validation = __commonJS({
|
|
|
4345
4345
|
"use strict";
|
|
4346
4346
|
init_esm_shims();
|
|
4347
4347
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4348
|
-
exports.updateProfileSchema = exports.refreshTokenSchema = exports.syncCompleteSchema = exports.downloadUrlSchema = exports.uploadUrlSchema = exports.pullRequestSchema = exports.pushManifestSchema = exports.updateDeviceSchema = exports.createDeviceSchema = exports.registerSchema = exports.loginSchema = void 0;
|
|
4348
|
+
exports.updateProfileSchema = exports.oauthExchangeSchema = exports.refreshTokenSchema = exports.syncCompleteSchema = exports.downloadUrlSchema = exports.uploadUrlSchema = exports.pullRequestSchema = exports.pushManifestSchema = exports.updateDeviceSchema = exports.createDeviceSchema = exports.registerSchema = exports.loginSchema = void 0;
|
|
4349
4349
|
var zod_1 = require_zod();
|
|
4350
4350
|
exports.loginSchema = zod_1.z.object({
|
|
4351
4351
|
email: zod_1.z.string().email(),
|
|
@@ -4407,6 +4407,10 @@ var require_validation = __commonJS({
|
|
|
4407
4407
|
exports.refreshTokenSchema = zod_1.z.object({
|
|
4408
4408
|
refreshToken: zod_1.z.string()
|
|
4409
4409
|
});
|
|
4410
|
+
exports.oauthExchangeSchema = zod_1.z.object({
|
|
4411
|
+
provider: zod_1.z.enum(["github", "google"]),
|
|
4412
|
+
accessToken: zod_1.z.string().min(1)
|
|
4413
|
+
});
|
|
4410
4414
|
exports.updateProfileSchema = zod_1.z.object({
|
|
4411
4415
|
name: zod_1.z.string().min(1).max(100).optional(),
|
|
4412
4416
|
avatarUrl: zod_1.z.string().url().nullable().optional()
|