@arkstack/contract 0.19.1 → 0.19.3

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/global.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Arkstack } from '.'
2
2
 
3
3
  declare global {
4
- function app (): Arkstack<never, never>
4
+ function app(): Arkstack<never, never>
5
5
  var arkctx: {
6
6
  runtime: 'CLI' | 'HTTP' | 'Worker'
7
7
  command?: string
@@ -22,4 +22,4 @@ declare module '@arkstack/foundry' {
22
22
  after: (dir: string) => void
23
23
  }
24
24
  }
25
- }
25
+ }
package/dist/index.js CHANGED
@@ -7,31 +7,31 @@ var Arkstack = class Arkstack {
7
7
  driver;
8
8
  /**
9
9
  * Gets the driver application instance.
10
- *
11
- * @returns
10
+ *
11
+ * @returns
12
12
  */
13
13
  getAppInstance() {
14
14
  return this.app;
15
15
  }
16
16
  /**
17
17
  * Gets the static driver application instance.
18
- *
19
- * @returns
18
+ *
19
+ * @returns
20
20
  */
21
21
  static getAppInstance() {
22
22
  return Arkstack.app;
23
23
  }
24
24
  /**
25
25
  * Gets the ArkstackKitDriver instance used by the application.
26
- *
27
- * @returns
26
+ *
27
+ * @returns
28
28
  */
29
29
  getDriver() {
30
30
  return this.driver;
31
31
  }
32
32
  /**
33
33
  * Boostrap the app and start up the server
34
- *
34
+ *
35
35
  * @param defaultPort start the server with this port if neither PORT nor APP_PORT env variable is set
36
36
  * @param defer Set to true to skip server startup
37
37
  */
@@ -49,7 +49,7 @@ var Arkstack = class Arkstack {
49
49
  }
50
50
  /**
51
51
  * Get the current app root directory
52
- *
52
+ *
53
53
  * @alias getRootDir()
54
54
  * @returns
55
55
  */
@@ -58,7 +58,7 @@ var Arkstack = class Arkstack {
58
58
  }
59
59
  /**
60
60
  * Get the current app root directory
61
- *
61
+ *
62
62
  * @alias getRootDir()
63
63
  * @returns
64
64
  */
@@ -67,7 +67,7 @@ var Arkstack = class Arkstack {
67
67
  }
68
68
  /**
69
69
  * Get the current app root directory
70
- *
70
+ *
71
71
  * @returns
72
72
  */
73
73
  static getRootDir() {
@@ -75,7 +75,7 @@ var Arkstack = class Arkstack {
75
75
  }
76
76
  /**
77
77
  * Set the current app root directory
78
- *
78
+ *
79
79
  * @param dir The prefered app root directory
80
80
  * @returns
81
81
  */
@@ -84,7 +84,7 @@ var Arkstack = class Arkstack {
84
84
  }
85
85
  /**
86
86
  * Set the current app root directory
87
- *
87
+ *
88
88
  * @param dir The prefered app root directory
89
89
  * @returns
90
90
  */
@@ -98,14 +98,14 @@ var Arkstack = class Arkstack {
98
98
  //#endregion
99
99
  //#region src/kits.ts
100
100
  /**
101
- * The ArkstackKitDriver class defines the contract for a driver
102
- * that can be used with the ArkstackKitContract.
101
+ * The ArkstackKitDriver class defines the contract for a driver
102
+ * that can be used with the ArkstackKitContract.
103
103
  */
104
104
  var ArkstackKitDriver = class {
105
105
  registerErrorHandler(_app) {}
106
106
  };
107
107
  /**
108
- * The ArkstackKitContract class defines the contract for an
108
+ * The ArkstackKitContract class defines the contract for an
109
109
  * application that uses the ArkstackKitDriver.
110
110
  */
111
111
  var ArkstackKitContract = class {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkstack/contract",
3
- "version": "0.19.1",
3
+ "version": "0.19.3",
4
4
  "type": "module",
5
5
  "description": "Contract module for Arkstack, providing shared interfaces and type contracts used across the framework.",
6
6
  "homepage": "https://arkstack.toneflix.net",
@@ -29,7 +29,7 @@
29
29
  "./package.json": "./package.json"
30
30
  },
31
31
  "dependencies": {
32
- "@arkstack/foundry": "^0.19.1"
32
+ "@arkstack/foundry": "^0.19.3"
33
33
  },
34
34
  "scripts": {
35
35
  "build": "tsdown --config-loader unrun",