@timothyw/pat-common 1.0.16 → 1.0.18

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.
@@ -3,5 +3,6 @@ export declare enum PanelType {
3
3
  TASKS = "tasks",
4
4
  INBOX = "inbox",
5
5
  PEOPLE = "people",
6
- SETTINGS = "settings"
6
+ SETTINGS = "settings",
7
+ DEV = "dev"
7
8
  }
@@ -8,4 +8,5 @@ var PanelType;
8
8
  PanelType["INBOX"] = "inbox";
9
9
  PanelType["PEOPLE"] = "people";
10
10
  PanelType["SETTINGS"] = "settings";
11
+ PanelType["DEV"] = "dev";
11
12
  })(PanelType || (exports.PanelType = PanelType = {}));
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import { PanelType } from "../../enums/panel-type";
2
+ import { PanelType } from "../../enums";
3
3
  declare const panelSchema: z.ZodObject<{
4
4
  type: z.ZodNativeEnum<typeof PanelType>;
5
5
  visible: z.ZodBoolean;
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.userConfigSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const id_types_1 = require("../id-types");
6
- const panel_type_1 = require("../../enums/panel-type");
6
+ const enums_1 = require("../../enums");
7
7
  const panelSchema = zod_1.z.object({
8
- type: zod_1.z.nativeEnum(panel_type_1.PanelType),
8
+ type: zod_1.z.nativeEnum(enums_1.PanelType),
9
9
  visible: zod_1.z.boolean()
10
10
  });
11
11
  exports.userConfigSchema = zod_1.z.object({
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@timothyw/pat-common",
3
3
  "description": "",
4
4
  "author": "Timothy Washburn",
5
- "version": "1.0.16",
5
+ "version": "1.0.18",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {
@@ -3,5 +3,6 @@ export enum PanelType {
3
3
  TASKS = 'tasks',
4
4
  INBOX = 'inbox',
5
5
  PEOPLE = 'people',
6
- SETTINGS = 'settings'
6
+ SETTINGS = 'settings',
7
+ DEV = 'dev'
7
8
  }
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { userIdSchema } from "../id-types";
3
- import { PanelType } from "../../enums/panel-type";
3
+ import { PanelType } from "../../enums";
4
4
 
5
5
  const panelSchema = z.object({
6
6
  type: z.nativeEnum(PanelType),
@@ -1,2 +0,0 @@
1
- export declare const PANEL_TYPES: readonly ["agenda", "tasks", "inbox", "people", "settings"];
2
- export type PanelType = (typeof PANEL_TYPES)[number];
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PANEL_TYPES = void 0;
4
- exports.PANEL_TYPES = ['agenda', 'tasks', 'inbox', 'people', 'settings'];