@armoury/fivem-roleplay-gamemode-common 1.0.22 → 1.0.24
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/cjs/shared/models/authentication/account.js +13 -0
- package/dist/cjs/shared/models/authentication/authentication.js +13 -0
- package/dist/cjs/shared/models/authentication/index.js +7 -0
- package/dist/cjs/shared/models/index.js +1 -0
- package/dist/esm/shared/models/authentication/account.js +10 -0
- package/dist/esm/shared/models/authentication/authentication.js +10 -0
- package/dist/esm/shared/models/authentication/index.js +2 -0
- package/dist/esm/shared/models/index.js +1 -0
- package/dist/types/shared/models/authentication/account.d.ts +11 -0
- package/dist/types/shared/models/authentication/authentication.d.ts +13 -0
- package/dist/types/shared/models/authentication/index.d.ts +2 -0
- package/dist/types/shared/models/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Account = void 0;
|
|
4
|
+
var Account = /** @class */ (function () {
|
|
5
|
+
function Account(id, lastKnownName, platformId, email) {
|
|
6
|
+
this.id = id;
|
|
7
|
+
this.lastKnownName = lastKnownName;
|
|
8
|
+
this.platformId = platformId;
|
|
9
|
+
this.email = email;
|
|
10
|
+
}
|
|
11
|
+
return Account;
|
|
12
|
+
}());
|
|
13
|
+
exports.Account = Account;
|
|
@@ -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,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Authentication = exports.Account = void 0;
|
|
4
|
+
var account_1 = require("./account");
|
|
5
|
+
Object.defineProperty(exports, "Account", { enumerable: true, get: function () { return account_1.Account; } });
|
|
6
|
+
var authentication_1 = require("./authentication");
|
|
7
|
+
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 Account = /** @class */ (function () {
|
|
2
|
+
function Account(id, lastKnownName, platformId, email) {
|
|
3
|
+
this.id = id;
|
|
4
|
+
this.lastKnownName = lastKnownName;
|
|
5
|
+
this.platformId = platformId;
|
|
6
|
+
this.email = email;
|
|
7
|
+
}
|
|
8
|
+
return Account;
|
|
9
|
+
}());
|
|
10
|
+
export { Account };
|
|
@@ -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,11 @@
|
|
|
1
|
+
import { Authentication } from './authentication';
|
|
2
|
+
export interface Account extends Pick<Authentication, 'id' | 'lastKnownName' | 'platformId'> {
|
|
3
|
+
readonly email?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class Account {
|
|
6
|
+
readonly id: number;
|
|
7
|
+
readonly lastKnownName: string;
|
|
8
|
+
readonly platformId: string;
|
|
9
|
+
readonly email?: string;
|
|
10
|
+
constructor(id: number, lastKnownName: string, platformId: string, email?: string);
|
|
11
|
+
}
|
|
@@ -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
|
+
}
|
package/package.json
CHANGED