@drincs/nqtr 0.1.10 → 0.1.11
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/classes/Activity.js +4 -2
- package/dist/classes/Activity.js.map +1 -1
- package/dist/classes/Activity.mjs +4 -2
- package/dist/classes/Activity.mjs.map +1 -1
- package/dist/classes/index.js.map +1 -1
- package/dist/classes/index.mjs.map +1 -1
- package/dist/classes/navigation/ActivityRoom.js +4 -2
- package/dist/classes/navigation/ActivityRoom.js.map +1 -1
- package/dist/classes/navigation/ActivityRoom.mjs +4 -2
- package/dist/classes/navigation/ActivityRoom.mjs.map +1 -1
- package/dist/classes/navigation/Room.js +4 -2
- package/dist/classes/navigation/Room.js.map +1 -1
- package/dist/classes/navigation/Room.mjs +4 -2
- package/dist/classes/navigation/Room.mjs.map +1 -1
- package/dist/classes/navigation/index.js +4 -2
- package/dist/classes/navigation/index.js.map +1 -1
- package/dist/classes/navigation/index.mjs +4 -2
- package/dist/classes/navigation/index.mjs.map +1 -1
- package/dist/functions/ActivityFunctions.js.map +1 -1
- package/dist/functions/ActivityFunctions.mjs.map +1 -1
- package/dist/functions/NavigationFunctions.js.map +1 -1
- package/dist/functions/NavigationFunctions.mjs.map +1 -1
- package/dist/functions/index.js.map +1 -1
- package/dist/functions/index.mjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/dist/override/GraphicHTMLElement.d.mts +16 -0
- package/dist/override/GraphicHTMLElement.d.ts +16 -0
- package/dist/override/GraphicHTMLElement.js +4 -0
- package/dist/override/GraphicHTMLElement.js.map +1 -0
- package/dist/override/GraphicHTMLElement.mjs +3 -0
- package/dist/override/GraphicHTMLElement.mjs.map +1 -0
- package/dist/override/GraphicItemInterface.d.mts +19 -0
- package/dist/override/GraphicItemInterface.d.ts +19 -0
- package/dist/override/GraphicItemInterface.js +4 -0
- package/dist/override/GraphicItemInterface.js.map +1 -0
- package/dist/override/GraphicItemInterface.mjs +3 -0
- package/dist/override/GraphicItemInterface.mjs.map +1 -0
- package/dist/override/GraphicItemType.d.mts +6 -3
- package/dist/override/GraphicItemType.d.ts +6 -3
- package/dist/override/index.d.mts +2 -0
- package/dist/override/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { CanvasBase } from '@drincs/pixi-vn';
|
|
2
|
+
import GraphicHTMLElement from './GraphicHTMLElement.mjs';
|
|
3
|
+
import GraphicItemInterface from './GraphicItemInterface.mjs';
|
|
2
4
|
|
|
3
5
|
/**
|
|
4
6
|
* Grafic item type.
|
|
5
|
-
* You can override this type
|
|
7
|
+
* You can override this type you must override this the GraphicItemInterface and the GraphicHTMLElement interfaces.
|
|
6
8
|
* @example
|
|
7
9
|
* ```typescript
|
|
8
10
|
* // nqtr.types.ts
|
|
9
11
|
* declare module '@drincs/nqtr/dist/override' {
|
|
10
|
-
*
|
|
12
|
+
* interface GraphicItemInterface {}
|
|
13
|
+
* interface GraphicHTMLElement {}
|
|
11
14
|
* }
|
|
12
15
|
* ```
|
|
13
16
|
*/
|
|
14
|
-
type GraphicItemType = string |
|
|
17
|
+
type GraphicItemType = string | CanvasBase<any> | GraphicItemInterface | GraphicHTMLElement;
|
|
15
18
|
|
|
16
19
|
export type { GraphicItemType as default };
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { CanvasBase } from '@drincs/pixi-vn';
|
|
2
|
+
import GraphicHTMLElement from './GraphicHTMLElement.js';
|
|
3
|
+
import GraphicItemInterface from './GraphicItemInterface.js';
|
|
2
4
|
|
|
3
5
|
/**
|
|
4
6
|
* Grafic item type.
|
|
5
|
-
* You can override this type
|
|
7
|
+
* You can override this type you must override this the GraphicItemInterface and the GraphicHTMLElement interfaces.
|
|
6
8
|
* @example
|
|
7
9
|
* ```typescript
|
|
8
10
|
* // nqtr.types.ts
|
|
9
11
|
* declare module '@drincs/nqtr/dist/override' {
|
|
10
|
-
*
|
|
12
|
+
* interface GraphicItemInterface {}
|
|
13
|
+
* interface GraphicHTMLElement {}
|
|
11
14
|
* }
|
|
12
15
|
* ```
|
|
13
16
|
*/
|
|
14
|
-
type GraphicItemType = string |
|
|
17
|
+
type GraphicItemType = string | CanvasBase<any> | GraphicItemInterface | GraphicHTMLElement;
|
|
15
18
|
|
|
16
19
|
export type { GraphicItemType as default };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { default as GraphicHTMLElement } from './GraphicHTMLElement.mjs';
|
|
2
|
+
export { default as GraphicItemInterface } from './GraphicItemInterface.mjs';
|
|
1
3
|
export { default as GraphicItemType } from './GraphicItemType.mjs';
|
|
2
4
|
export { default as OnRenderGraphicItemProps } from './OnRenderGraphicItemProps.mjs';
|
|
3
5
|
export { default as OnRunActivityProps } from './OnRunActivityProps.mjs';
|
package/dist/override/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { default as GraphicHTMLElement } from './GraphicHTMLElement.js';
|
|
2
|
+
export { default as GraphicItemInterface } from './GraphicItemInterface.js';
|
|
1
3
|
export { default as GraphicItemType } from './GraphicItemType.js';
|
|
2
4
|
export { default as OnRenderGraphicItemProps } from './OnRenderGraphicItemProps.js';
|
|
3
5
|
export { default as OnRunActivityProps } from './OnRunActivityProps.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drincs/nqtr",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "A complete system introducing the concepts of location, time and event, producing the framework of a not-quite-point-and-click adventure game.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|