@postonus/cli 0.1.30 → 0.1.32

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/index.js CHANGED
@@ -226,6 +226,16 @@ var FILE_TYPE_EXTENSIONS = {
226
226
  var FILE_SCENARIOS = ["post_attachments", "user_avatar"];
227
227
  var MAX_FILE_SIZE_BYTES = Math.max(...Object.values(scenarios).map((s) => s.maxSize));
228
228
 
229
+ // ../../packages/app-config/src/timezone.ts
230
+ var isValidTimezone = (timezone) => {
231
+ try {
232
+ Intl.DateTimeFormat(void 0, { timeZone: timezone });
233
+ return true;
234
+ } catch {
235
+ return false;
236
+ }
237
+ };
238
+
229
239
  // src/index.ts
230
240
  import { Command, Option } from "commander";
231
241
 
@@ -7833,7 +7843,6 @@ var MediaSourceSchema = object({
7833
7843
  id: MediaSourceIdSchema,
7834
7844
  label: string2(),
7835
7845
  description: string2(),
7836
- icon: string2(),
7837
7846
  category: literal("media-storage"),
7838
7847
  requiresEnv: array(string2()),
7839
7848
  comingSoon: boolean2().optional(),
@@ -9459,14 +9468,6 @@ var AnalyticsPreferences = object({
9459
9468
  dataRetentionDays: number2().min(30).max(365).default(90)
9460
9469
  });
9461
9470
  var TimezoneSource = _enum(["auto", "manual"]);
9462
- var isValidTimezone = (timezone) => {
9463
- try {
9464
- Intl.DateTimeFormat(void 0, { timeZone: timezone });
9465
- return true;
9466
- } catch {
9467
- return false;
9468
- }
9469
- };
9470
9471
  var TimezoneSchema = string2().refine(isValidTimezone, { error: "Invalid timezone identifier" });
9471
9472
  var UserPreferencesSchema = object({
9472
9473
  locale: string2().default("en"),
@@ -12335,7 +12336,7 @@ function formatTable(headers, rows) {
12335
12336
  }
12336
12337
 
12337
12338
  // src/version.ts
12338
- var CLI_VERSION = "0.1.30";
12339
+ var CLI_VERSION = "0.1.32";
12339
12340
 
12340
12341
  // src/client.ts
12341
12342
  var DEVICE_CODE_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:device_code";