@timothyw/pat-common 1.0.51 → 1.0.53

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.
@@ -1,7 +1,7 @@
1
1
  export declare enum ModuleType {
2
2
  AGENDA = "agenda",
3
- TASKS = "tasks",
4
3
  INBOX = "inbox",
4
+ TASKS = "tasks",
5
5
  HABITS = "habits",
6
6
  PEOPLE = "people",
7
7
  SETTINGS = "settings",
@@ -4,8 +4,8 @@ exports.ModuleType = void 0;
4
4
  var ModuleType;
5
5
  (function (ModuleType) {
6
6
  ModuleType["AGENDA"] = "agenda";
7
- ModuleType["TASKS"] = "tasks";
8
7
  ModuleType["INBOX"] = "inbox";
8
+ ModuleType["TASKS"] = "tasks";
9
9
  ModuleType["HABITS"] = "habits";
10
10
  ModuleType["PEOPLE"] = "people";
11
11
  ModuleType["SETTINGS"] = "settings";
@@ -2,6 +2,7 @@ export * from './account';
2
2
  export * from './auth';
3
3
  export * from './habits';
4
4
  export * from './items';
5
+ export * from './misc';
5
6
  export * from './people';
6
7
  export * from './tasks';
7
8
  export * from './thoughts';
@@ -18,6 +18,7 @@ __exportStar(require("./account"), exports);
18
18
  __exportStar(require("./auth"), exports);
19
19
  __exportStar(require("./habits"), exports);
20
20
  __exportStar(require("./items"), exports);
21
+ __exportStar(require("./misc"), exports);
21
22
  __exportStar(require("./people"), exports);
22
23
  __exportStar(require("./tasks"), exports);
23
24
  __exportStar(require("./thoughts"), exports);
@@ -0,0 +1 @@
1
+ export * from './version-types';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./version-types"), exports);
@@ -0,0 +1,8 @@
1
+ export interface VersionRequest {
2
+ clientVersion: string;
3
+ }
4
+ export interface VersionResponse {
5
+ serverVersion: number;
6
+ minClientVersion: number;
7
+ updateRequired: boolean;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
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.51",
5
+ "version": "1.0.53",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {
@@ -1,7 +1,7 @@
1
1
  export enum ModuleType {
2
2
  AGENDA = 'agenda',
3
- TASKS = 'tasks',
4
3
  INBOX = 'inbox',
4
+ TASKS = 'tasks',
5
5
  HABITS = 'habits',
6
6
  PEOPLE = 'people',
7
7
  SETTINGS = 'settings',
@@ -2,6 +2,7 @@ export * from './account'
2
2
  export * from './auth'
3
3
  export * from './habits'
4
4
  export * from './items'
5
+ export * from './misc'
5
6
  export * from './people'
6
7
  export * from './tasks'
7
8
  export * from './thoughts'
@@ -0,0 +1 @@
1
+ export * from './version-types'
@@ -0,0 +1,9 @@
1
+ export interface VersionRequest {
2
+ clientVersion: string;
3
+ }
4
+
5
+ export interface VersionResponse {
6
+ serverVersion: number;
7
+ minClientVersion: number;
8
+ updateRequired: boolean;
9
+ }