@armoury/fivem-roleplay-gamemode-common 1.0.22 → 1.0.23

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,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Authentication = void 0;
4
+ var Authentication = /** @class */ (function () {
5
+ function Authentication(id, platformId, lastKnownName, sessionId) {
6
+ this.id = id;
7
+ this.platformId = platformId;
8
+ this.lastKnownName = lastKnownName;
9
+ this.sessionId = sessionId;
10
+ }
11
+ return Authentication;
12
+ }());
13
+ exports.Authentication = Authentication;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Authentication = void 0;
4
+ var authentication_1 = require("./authentication");
5
+ Object.defineProperty(exports, "Authentication", { enumerable: true, get: function () { return authentication_1.Authentication; } });
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./authentication"), exports);
17
18
  __exportStar(require("./businesses"), exports);
18
19
  __exportStar(require("./items"), exports);
@@ -0,0 +1,10 @@
1
+ var Authentication = /** @class */ (function () {
2
+ function Authentication(id, platformId, lastKnownName, sessionId) {
3
+ this.id = id;
4
+ this.platformId = platformId;
5
+ this.lastKnownName = lastKnownName;
6
+ this.sessionId = sessionId;
7
+ }
8
+ return Authentication;
9
+ }());
10
+ export { Authentication };
@@ -0,0 +1 @@
1
+ export { Authentication } from './authentication';
@@ -1,2 +1,3 @@
1
+ export * from './authentication';
1
2
  export * from './businesses';
2
3
  export * from './items';
@@ -0,0 +1,13 @@
1
+ export interface Authentication {
2
+ readonly id: number;
3
+ readonly platformId: string;
4
+ readonly lastKnownName: string;
5
+ readonly sessionId: number;
6
+ }
7
+ export declare class Authentication {
8
+ readonly id: number;
9
+ readonly platformId: string;
10
+ readonly lastKnownName: string;
11
+ readonly sessionId: number;
12
+ constructor(id: number, platformId: string, lastKnownName: string, sessionId: number);
13
+ }
@@ -0,0 +1 @@
1
+ export { Authentication } from './authentication';
@@ -1,2 +1,3 @@
1
+ export * from './authentication';
1
2
  export * from './businesses';
2
3
  export * from './items';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@armoury/fivem-roleplay-gamemode-common",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "Shared APIs for the Armoury FiveM roleplay gamemode",
5
5
  "main": "dist/cjs/shared/index.js",
6
6
  "module": "dist/esm/shared/index.js",