@armoury/fivem-roleplay-gamemode-common 1.0.23 → 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/index.js +3 -1
- package/dist/esm/shared/models/authentication/account.js +10 -0
- package/dist/esm/shared/models/authentication/index.js +1 -0
- package/dist/types/shared/models/authentication/account.d.ts +11 -0
- package/dist/types/shared/models/authentication/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;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Authentication = void 0;
|
|
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; } });
|
|
4
6
|
var authentication_1 = require("./authentication");
|
|
5
7
|
Object.defineProperty(exports, "Authentication", { enumerable: true, get: function () { return authentication_1.Authentication; } });
|
|
@@ -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,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
|
+
}
|
package/package.json
CHANGED