@claude-sync/cli 0.1.9 → 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/bin/claude-sync.js
CHANGED
|
@@ -4346,7 +4346,7 @@ var require_validation = __commonJS({
|
|
|
4346
4346
|
"use strict";
|
|
4347
4347
|
init_esm_shims();
|
|
4348
4348
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4349
|
-
exports.updateProfileSchema = exports.refreshTokenSchema = exports.syncCompleteSchema = exports.downloadUrlSchema = exports.uploadUrlSchema = exports.pullRequestSchema = exports.pushManifestSchema = exports.updateDeviceSchema = exports.createDeviceSchema = exports.registerSchema = exports.loginSchema = void 0;
|
|
4349
|
+
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;
|
|
4350
4350
|
var zod_1 = require_zod();
|
|
4351
4351
|
exports.loginSchema = zod_1.z.object({
|
|
4352
4352
|
email: zod_1.z.string().email(),
|
|
@@ -4408,6 +4408,10 @@ var require_validation = __commonJS({
|
|
|
4408
4408
|
exports.refreshTokenSchema = zod_1.z.object({
|
|
4409
4409
|
refreshToken: zod_1.z.string()
|
|
4410
4410
|
});
|
|
4411
|
+
exports.oauthExchangeSchema = zod_1.z.object({
|
|
4412
|
+
provider: zod_1.z.enum(["github", "google"]),
|
|
4413
|
+
accessToken: zod_1.z.string().min(1)
|
|
4414
|
+
});
|
|
4411
4415
|
exports.updateProfileSchema = zod_1.z.object({
|
|
4412
4416
|
name: zod_1.z.string().min(1).max(100).optional(),
|
|
4413
4417
|
avatarUrl: zod_1.z.string().url().nullable().optional()
|