magicrealmsshared 1.0.0 → 1.0.1

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.
@@ -0,0 +1,18 @@
1
+ import { ObjectWithId, WorldObject } from "./types";
2
+ declare const POIType: {
3
+ readonly TEST: "TEST";
4
+ };
5
+ export type POIType = typeof POIType[keyof typeof POIType];
6
+ export type POI<IDFormat> = WorldObject<IDFormat> & {
7
+ name: string;
8
+ type: POIType;
9
+ flags?: Record<string, number>;
10
+ };
11
+ export type POI_Character<IdFormat, DateFormat> = ObjectWithId<IdFormat> & {
12
+ chararacter: IdFormat;
13
+ poi: IdFormat;
14
+ firstVisit: DateFormat;
15
+ lastInteraction: DateFormat;
16
+ flags?: Record<string, number>;
17
+ };
18
+ export {};
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const POIType = {
4
+ TEST: "TEST",
5
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magicrealmsshared",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -48,6 +48,10 @@
48
48
  "types": "./dist/types/junk.d.ts",
49
49
  "default": "./dist/types/junk.js"
50
50
  },
51
+ "./poi": {
52
+ "types": "./dist/types/poi.d.ts",
53
+ "default": "./dist/types/poi.js"
54
+ },
51
55
  "./types": {
52
56
  "types": "./dist/types/types.d.ts",
53
57
  "default": "./dist/types/types.js"