@fnlb-project/shared 1.5.116 → 1.5.117
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/actions/index.d.ts +59 -0
- package/dist/actions/index.js +1 -0
- package/dist/types/index.d.ts +50 -48
- package/dist/types/index.js +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// Generated by dts-bundle-generator v9.5.1
|
|
2
|
+
|
|
3
|
+
declare enum ActionDataType {
|
|
4
|
+
String = "string",
|
|
5
|
+
Number = "number",
|
|
6
|
+
Boolean = "boolean",
|
|
7
|
+
Array = "array",
|
|
8
|
+
Object = "object",
|
|
9
|
+
Exec = "exec"
|
|
10
|
+
}
|
|
11
|
+
declare enum ActionInputType {
|
|
12
|
+
Required = 0,
|
|
13
|
+
Optional = 1,
|
|
14
|
+
RequiredSelect = 2,
|
|
15
|
+
OptionalSelect = 3,
|
|
16
|
+
RequiredNumeric = 4,
|
|
17
|
+
OptionalNumeric = 5
|
|
18
|
+
}
|
|
19
|
+
export interface IBaseActionInput {
|
|
20
|
+
id: string;
|
|
21
|
+
type: ActionInputType;
|
|
22
|
+
dataType?: ActionDataType;
|
|
23
|
+
name: string;
|
|
24
|
+
description: string;
|
|
25
|
+
examples?: string[];
|
|
26
|
+
}
|
|
27
|
+
export interface IStringInput extends IBaseActionInput {
|
|
28
|
+
type: ActionInputType.Required | ActionInputType.Optional;
|
|
29
|
+
extended: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface ISelectInput extends IBaseActionInput {
|
|
32
|
+
type: ActionInputType.RequiredSelect | ActionInputType.OptionalSelect;
|
|
33
|
+
options: ISelectInputOptions[];
|
|
34
|
+
}
|
|
35
|
+
export interface ISelectInputOptions {
|
|
36
|
+
id: string;
|
|
37
|
+
name: string;
|
|
38
|
+
alias?: string[];
|
|
39
|
+
}
|
|
40
|
+
export interface INumericInput extends IBaseActionInput {
|
|
41
|
+
type: ActionInputType.RequiredNumeric | ActionInputType.OptionalNumeric;
|
|
42
|
+
}
|
|
43
|
+
export type ActionInput = IStringInput | ISelectInput | INumericInput;
|
|
44
|
+
export declare class ActionUsageClient {
|
|
45
|
+
params: ActionInput[];
|
|
46
|
+
constructor(params?: ActionInput[]);
|
|
47
|
+
addParam(id: string, name: string, description: string, extended?: boolean, examples?: string[]): this;
|
|
48
|
+
addOptionalParam(id: string, name: string, description: string, extended?: boolean, examples?: string[]): this;
|
|
49
|
+
addSelect(id: string, name: string, description: string, options: ISelectInputOptions[], examples?: string[]): this;
|
|
50
|
+
addOptionalSelect(id: string, name: string, description: string, options: ISelectInputOptions[], examples?: string[]): this;
|
|
51
|
+
addNumericParam(id: string, name: string, description: string, examples?: string[]): this;
|
|
52
|
+
addNumericOptionalParam(id: string, name: string, description: string, examples?: string[]): this;
|
|
53
|
+
getUsage(): string;
|
|
54
|
+
getExample(): string;
|
|
55
|
+
static getParamUsage(param: ActionInput): string;
|
|
56
|
+
static getParamExample(param: ActionInput): string | number | undefined;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
class w{params;constructor(f){this.params=f??[]}addParam(f,b,h,j,v){return this.params.push({id:f,type:0,name:b,description:h,extended:j??!1,examples:v}),this}addOptionalParam(f,b,h,j,v){return this.params.push({id:f,type:1,name:b,description:h,extended:j??!1,examples:v}),this}addSelect(f,b,h,j,v){return this.params.push({id:f,type:2,name:b,description:h,options:j,examples:v}),this}addOptionalSelect(f,b,h,j,v){return this.params.push({id:f,type:3,name:b,description:h,options:j,examples:v}),this}addNumericParam(f,b,h,j){return this.params.push({id:f,type:4,name:b,description:h,examples:j}),this}addNumericOptionalParam(f,b,h,j){return this.params.push({id:f,type:5,name:b,description:h,examples:j}),this}getUsage(){return this.params.map((f)=>w.getParamUsage(f)).join(" ")}getExample(){return this.params.map((f)=>w.getParamExample(f)).join(" ")}static getParamUsage(f){switch(f.type){case 0:return`<${f.extended?"...":""}${f.name}>`;case 1:return`[${f.extended?"...":""}${f.name}]`;case 2:return`<${f.options.map((b)=>b.name).join(" | ")}>`;case 3:return`[${f.options.map((b)=>b.name).join(" | ")}]`;case 4:return`<$${f.name}>`;case 5:return`[$${f.name}]`;default:return""}}static getParamExample(f){let b=(q)=>q[Math.floor(Math.random()*q.length)],h=(q)=>q?b(q):b(["Angel","Brian","Catherine","David","Emma","Frank","Grace","Hannah","Ian","Julia","Josefina"]),j=(q)=>q?b(q):b(["Brian Stronghold","Catherine Joyful","David Noble","Emma Graceful","Frank Fearless","Grace Serene","Hannah Bold","Ian Clever","Julia Kindhearted","Romana Einstein"]),v=(q)=>b(q)?.name,z=(q)=>q?b(q):Math.floor(Math.random()*1000);switch(f.type){case 1:case 0:return f.extended?j(f.examples):h(f.examples);case 2:case 3:return v(f.options);case 4:case 5:return z(f.examples);default:return""}}}export{w as ActionUsageClient};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
|
+
export declare enum ActionDataType {
|
|
4
|
+
String = "string",
|
|
5
|
+
Number = "number",
|
|
6
|
+
Boolean = "boolean",
|
|
7
|
+
Array = "array",
|
|
8
|
+
Object = "object",
|
|
9
|
+
Exec = "exec"
|
|
10
|
+
}
|
|
11
|
+
export declare enum ActionInputType {
|
|
12
|
+
Required = 0,
|
|
13
|
+
Optional = 1,
|
|
14
|
+
RequiredSelect = 2,
|
|
15
|
+
OptionalSelect = 3,
|
|
16
|
+
RequiredNumeric = 4,
|
|
17
|
+
OptionalNumeric = 5
|
|
18
|
+
}
|
|
3
19
|
export declare enum BotStatus {
|
|
4
20
|
Offline = 0,
|
|
5
21
|
Booting = 1,
|
|
@@ -70,14 +86,6 @@ export declare enum CategoryConfigTriggerEventType {
|
|
|
70
86
|
UserUnblocked = 21,
|
|
71
87
|
PartyMemberInParty = 22
|
|
72
88
|
}
|
|
73
|
-
export declare enum CategoryConfigTriggerActionOutputType {
|
|
74
|
-
String = "string",
|
|
75
|
-
Number = "number",
|
|
76
|
-
Boolean = "boolean",
|
|
77
|
-
Array = "array",
|
|
78
|
-
Object = "object",
|
|
79
|
-
Exec = "exec"
|
|
80
|
-
}
|
|
81
89
|
export type ConnectionSchema = {
|
|
82
90
|
id?: string;
|
|
83
91
|
username?: string;
|
|
@@ -99,44 +107,38 @@ export interface IClientAccount {
|
|
|
99
107
|
bots?: IDBBot[];
|
|
100
108
|
categories?: IDBCategory[];
|
|
101
109
|
}
|
|
102
|
-
export interface
|
|
103
|
-
name: string;
|
|
104
|
-
type: CategoryConfigTriggerActionOutputType;
|
|
105
|
-
description?: string;
|
|
106
|
-
required?: boolean;
|
|
107
|
-
}
|
|
108
|
-
export declare enum CommandParamType {
|
|
109
|
-
RequiredParam = 0,
|
|
110
|
-
OptionalParam = 1,
|
|
111
|
-
RequiredSelect = 2,
|
|
112
|
-
OptionalSelect = 3,
|
|
113
|
-
RequiredNumericParam = 4,
|
|
114
|
-
OptionalNumericParam = 5
|
|
115
|
-
}
|
|
116
|
-
export interface ICommandBaseParam {
|
|
110
|
+
export interface IBaseActionInput {
|
|
117
111
|
id: string;
|
|
118
|
-
type:
|
|
112
|
+
type: ActionInputType;
|
|
113
|
+
dataType?: ActionDataType;
|
|
119
114
|
name: string;
|
|
120
115
|
description: string;
|
|
121
116
|
examples?: string[];
|
|
122
117
|
}
|
|
123
|
-
export interface
|
|
124
|
-
type:
|
|
118
|
+
export interface IStringInput extends IBaseActionInput {
|
|
119
|
+
type: ActionInputType.Required | ActionInputType.Optional;
|
|
125
120
|
extended: boolean;
|
|
126
121
|
}
|
|
127
|
-
export interface
|
|
128
|
-
type:
|
|
129
|
-
options:
|
|
122
|
+
export interface ISelectInput extends IBaseActionInput {
|
|
123
|
+
type: ActionInputType.RequiredSelect | ActionInputType.OptionalSelect;
|
|
124
|
+
options: ISelectInputOptions[];
|
|
130
125
|
}
|
|
131
|
-
export interface
|
|
126
|
+
export interface ISelectInputOptions {
|
|
132
127
|
id: string;
|
|
133
128
|
name: string;
|
|
134
129
|
alias?: string[];
|
|
135
130
|
}
|
|
136
|
-
export interface
|
|
137
|
-
type:
|
|
131
|
+
export interface INumericInput extends IBaseActionInput {
|
|
132
|
+
type: ActionInputType.RequiredNumeric | ActionInputType.OptionalNumeric;
|
|
133
|
+
}
|
|
134
|
+
export type ActionInput = IStringInput | ISelectInput | INumericInput;
|
|
135
|
+
export interface IActionOutput {
|
|
136
|
+
id: string;
|
|
137
|
+
name: string;
|
|
138
|
+
type: ActionDataType;
|
|
139
|
+
description?: string;
|
|
140
|
+
required?: boolean;
|
|
138
141
|
}
|
|
139
|
-
export type CommandParam = ICommandNormalParam | ICommandSelectParam | ICommandNumericParam;
|
|
140
142
|
export interface ISerializedActionFunction {
|
|
141
143
|
id: string;
|
|
142
144
|
config: {
|
|
@@ -144,10 +146,24 @@ export interface ISerializedActionFunction {
|
|
|
144
146
|
parent: string;
|
|
145
147
|
alias: string[];
|
|
146
148
|
description: string;
|
|
147
|
-
usage:
|
|
149
|
+
usage: ActionInput[];
|
|
148
150
|
outputs: IActionOutput[];
|
|
149
151
|
};
|
|
150
152
|
}
|
|
153
|
+
export interface ISerializedCommand {
|
|
154
|
+
id: string;
|
|
155
|
+
config: {
|
|
156
|
+
name: string;
|
|
157
|
+
parent: string;
|
|
158
|
+
alias: string[];
|
|
159
|
+
usage: ActionInput[];
|
|
160
|
+
isHidden?: boolean;
|
|
161
|
+
description: string;
|
|
162
|
+
onlyLeader?: boolean;
|
|
163
|
+
onlyPrivate?: boolean;
|
|
164
|
+
onlyPartyMembers?: boolean;
|
|
165
|
+
};
|
|
166
|
+
}
|
|
151
167
|
export interface IDBBot {
|
|
152
168
|
id: string;
|
|
153
169
|
owner: string;
|
|
@@ -343,20 +359,6 @@ export interface IDBCategory {
|
|
|
343
359
|
}
|
|
344
360
|
export interface ICategory extends IDBCategory {
|
|
345
361
|
}
|
|
346
|
-
export interface ISerializedCommand {
|
|
347
|
-
id: string;
|
|
348
|
-
config: {
|
|
349
|
-
name: string;
|
|
350
|
-
parent: string;
|
|
351
|
-
alias: string[];
|
|
352
|
-
usage: CommandParam[];
|
|
353
|
-
isHidden?: boolean;
|
|
354
|
-
description: string;
|
|
355
|
-
onlyLeader?: boolean;
|
|
356
|
-
onlyPrivate?: boolean;
|
|
357
|
-
onlyPartyMembers?: boolean;
|
|
358
|
-
};
|
|
359
|
-
}
|
|
360
362
|
export interface IAPICosmetic {
|
|
361
363
|
id: string;
|
|
362
364
|
type: string;
|
package/dist/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var D;((u)=>{u.String="string";u.Number="number";u.Boolean="boolean";u.Array="array";u.Object="object";u.Exec="exec"})(D||={});var w;((u)=>{u[u.Required=0]="Required";u[u.Optional=1]="Optional";u[u.RequiredSelect=2]="RequiredSelect";u[u.OptionalSelect=3]="OptionalSelect";u[u.RequiredNumeric=4]="RequiredNumeric";u[u.OptionalNumeric=5]="OptionalNumeric"})(w||={});var B;((i)=>{i[i.Offline=0]="Offline";i[i.Booting=1]="Booting";i[i.Available=2]="Available";i[i.Busy=3]="Busy";i[i.Disconnected=4]="Disconnected"})(B||={});var M;((i)=>{i[i.Neutral=0]="Neutral";i[i.Success=1]="Success";i[i.Info=2]="Info";i[i.Warn=3]="Warn";i[i.Error=4]="Error"})(M||={});var W;((x)=>{x.Win="WIN";x.Mac="MAC";x.Psn="PSN";x.Xbl="XBL";x.Swt="SWT";x.Swt2="SWT2";x.Ios="IOS";x.And="AND";x.Ps5="PS5";x.Xsx="XSX"})(W||={});var q;((t)=>{t[t.Public=0]="Public";t[t.Private=1]="Private"})(q||={});var J;((n)=>{n[n.Auto=0]="Auto";n[n.Online=1]="Online";n[n.Away=2]="Away"})(J||={});var j;((n)=>{n[n.Event=0]="Event";n[n.CustomCommand=1]="CustomCommand";n[n.Scheduled=2]="Scheduled"})(j||={});var I;((n)=>{n[n.RunCommand=0]="RunCommand";n[n.RunFunction=1]="RunFunction";n[n.ControlFlow=2]="ControlFlow"})(I||={});var H;((d)=>{d[d.Ready=0]="Ready";d[d.Disconnected=1]="Disconnected";d[d.PartyInvite=2]="PartyInvite";d[d.PartyJoinRequest=3]="PartyJoinRequest";d[d.PartyMemberJoined=4]="PartyMemberJoined";d[d.PartyMemberLeft=5]="PartyMemberLeft";d[d.PartyMemberKicked=6]="PartyMemberKicked";d[d.PartyMemberMessage=7]="PartyMemberMessage";d[d.PartyMemberPromoted=8]="PartyMemberPromoted";d[d.PartyMemberReady=9]="PartyMemberReady";d[d.PartyMemberSitOut=10]="PartyMemberSitOut";d[d.PartyMemberUnready=11]="PartyMemberUnready";d[d.PartyMemberMatch=12]="PartyMemberMatch";d[d.PartyMemberCosmeticUpdated=13]="PartyMemberCosmeticUpdated";d[d.FriendAdded=14]="FriendAdded";d[d.FriendRemoved=15]="FriendRemoved";d[d.FriendRequest=16]="FriendRequest";d[d.FriendMessage=17]="FriendMessage";d[d.FriendOnline=18]="FriendOnline";d[d.FriendOffline=19]="FriendOffline";d[d.UserBlocked=20]="UserBlocked";d[d.UserUnblocked=21]="UserUnblocked";d[d.PartyMemberInParty=22]="PartyMemberInParty"})(H||={});var a;((e)=>{e.Default="en";e.EnUS="en-US";e.Es="es";e.Es419="es-419";e.Ar="ar";e.De="de";e.Fr="fr";e.He="he";e.Id="id";e.It="it";e.Ja="ja";e.Ko="ko";e.Pl="pl";e.Pt="pt";e.PtBR="pt-BR";e.Ru="ru";e.Th="th";e.Tr="tr";e.Vi="vi";e.Zh="zh";e.ZhHant="zh-Hant"})(a||={});var N;((h)=>{h.Default="en";h.Ar="ar";h.De="de";h.Es="es";h.Es419="es-419";h.Fr="fr";h.Id="id";h.It="it";h.Ja="ja";h.Ko="ko";h.Pl="pl";h.PtBR="pt-BR";h.Ru="ru";h.Th="th";h.Tr="tr";h.Vi="vi";h.ZhHans="zh-Hans";h.ZhHant="zh-Hant"})(N||={});var L={searchLangs:["en"],platform:["AND"],privacy:1,prefixes:["!",".","/"],statusType:0,statusText:[],statusInterval:2,level:[-999999999],bpLevel:[999999999],extraOwners:[],admins:[],whitelistUsers:[],blacklistUsers:[],excludedAutoAddFriends:[],otherBots:[],inviteTimeout:60,maxBotsPerLobby:8,maxBotsPerLobbyWithOwner:16,maxBotsPerLobbyWithAdmin:16,maxBotsPerLobbyWithWhitelistUser:16,allowMatchmaking:!0,leaveAfterMatchmaking:!1,disableMatchmakingChecks:!0,disablePlaylistChecks:!1,disableJoinMessages:!1,disableAutomaticMessages:!1,acceptFriendRequests:!0,sendFriendRequestOnJoinParty:!0,sendFriendRequestOnMemberJoinParty:!0,runCommandsWithoutPrefix:!0,setCosmeticsWithoutCommands:!0,setCosmeticsWithPrefix:!0,acceptInvites:!0,startBannedBots:!0,triggers:[],onlyOwnerCommands:["send_number","send_all","send_category","remove_all_friends","decline_all_friends","accept_all_friends","unblock_all_users","restart_bot","restart_category","restart_shard"],onlyAdminCommands:["add_friend","remove_friend","block_user","unblock_user"],onlyWhitelistUsersCommands:["send_party","send_shard","kick","kick_all","hide_all","message","whisper","accept_friend","decline_friend","set_status","say"],onlyFriendsCommands:[],onlyPartyMembersCommands:[],onlyWhisperCommands:[],startOutfit:[{id:"CID_030_Athena_Commando_M_Halloween",variants:[1,0]},{id:"CID_029_Athena_Commando_F_Halloween",variants:[2]},{id:"CID_434_Athena_Commando_F_StealthHonor",variants:[]},{id:"CID_175_Athena_Commando_M_Celestial",variants:[]}],startBackpack:[{id:"BID_138_Celestial",variants:[]},{id:"BID_004_BlackKnight",variants:[]}],startPickaxe:[{id:"Pickaxe_ID_116_Celestial",variants:[]},{id:"Pickaxe_ID_013_Teslacoil",variants:[]}],startShoes:[],startBanner:[{id:"BRSeason01"}],startBannerColor:[{id:"DefaultColor17"},{id:"DefaultColor14"}],joinOutfit:[],joinBackpack:[],joinPickaxe:[],joinEmote:[{id:"EID_KPopDance03"}],joinShoes:[],joinBanner:[],joinBannerColor:[],memberJoinOutfit:[],memberJoinBackpack:[],memberJoinPickaxe:[],memberJoinEmote:[{id:"EID_KPopDance03"}],memberJoinShoes:[],memberJoinBanner:[],memberJoinBannerColor:[]};var c;((_)=>{_.GenericUnknown="net.fnlb.errors.generic.unknown";_.GenericInternalError="net.fnlb.errors.generic.internal_error";_.GenericValidationFailed="net.fnlb.errors.generic.validation_failed";_.GenericParseFailed="net.fnlb.errors.generic.parse_failed";_.GenericNotFound="net.fnlb.errors.generic.not_found";_.GenericAlreadyExists="net.fnlb.errors.generic.already_exists";_.CommonInvalidRequest="net.fnlb.errors.common.invalid_request";_.CommonUnableToProcessRequest="net.fnlb.errors.common.unable_to_process_request";_.CommonInvalidFieldsLength="net.fnlb.errors.common.invalid_body_fields_length";_.CommonRateLimitExceeded="net.fnlb.errors.common.rate_limit_exceeded";_.CommonLimitExceeded="net.fnlb.errors.common.limit_exceeded";_.CommonUnableToSaveToDatabase="net.fnlb.errors.common.unable_to_save_to_database";_.CommonUpdateRequired="net.fnlb.errors.common.update_required";_.CommonMaintenanceMode="net.fnlb.errors.common.maintenance_mode";_.AuthInvalidToken="net.fnlb.errors.auth.invalid_token";_.AuthInvalidAPIToken="net.fnlb.errors.auth.invalid_api_token";_.AuthInvalidCaptchaToken="net.fnlb.errors.auth.invalid_captcha_token";_.AuthUnauthorized="net.fnlb.errors.auth.unauthorized";_.AuthForbidden="net.fnlb.errors.auth.forbidden";_.AuthUserBanned="net.fnlb.errors.auth.user_banned";_.Oauth2InvalidCode="net.fnlb.errors.oauth2.invalid_code";_.Oauth2InvalidScope="net.fnlb.errors.oauth2.invalid_scope";_.Oauth2TokenInvalid="net.fnlb.errors.oauth2.token_invalid";_.Oauth2UnableToFetchUser="net.fnlb.errors.oauth2.unable_to_fetch_user";_.Oauth2UnableToFetchConnections="net.fnlb.errors.oauth2.unable_to_fetch_connections";_.Oauth2UserWithoutConnection="net.fnlb.errors.oauth2.user_without_connection";_.Oauth2ConnectionNotVerified="net.fnlb.errors.oauth2.connection_not_verified";_.ReleaseNotFound="net.fnlb.errors.release.no_release_found";_.ReleaseVersionAlreadyExists="net.fnlb.errors.release.version_already_exists"})(c||={});var l;((s)=>{s.LoginInvalidCredentials="net.fnlb.errors.login.invalid_credentials";s.LoginInvalidEmail="net.fnlb.errors.login.invalid_email";s.LoginInvalidOrUsedEmail="net.fnlb.errors.login.invalid_or_used_email";s.AuthPasswordConfirmationInvalid="net.fnlb.errors.auth.invalid_password_confirmation"})(l||={});var A={...c,...l};var R;((s)=>{s.Username="username";s.Email="email";s.Password="password";s.Shared="shared"})(R||={});var V;((t)=>{t.General="general";t.Input="input"})(V||={});var z;((n)=>{n[n.Disabled=1]="Disabled";n[n.Verified=2]="Verified";n[n.VerificationPending=4]="VerificationPending"})(z||={});var f;((n)=>{n[n.Disabled=1]="Disabled";n[n.Public=2]="Public";n[n.InvalidAuth=4]="InvalidAuth"})(f||={});var K;((t)=>{t[t.Disabled=1]="Disabled";t[t.Managed=2]="Managed"})(K||={});var O;((k)=>k[k.NotWearable=1]="NotWearable")(O||={});var Z;((n)=>{n[n.identify=1]="identify";n[n.email=2]="email";n[n.connections=4]="connections";n[n["bots.read"]=8]="bots.read";n[n["bots.write"]=16]="bots.write";n[n["bots.run"]=32]="bots.run";n[n["categories.read"]=64]="categories.read";n[n["categories.write"]=128]="categories.write";n[n["commands.run"]=256]="commands.run"})(Z||={});var v;((b)=>{b[b.Disabled=1]="Disabled";b[b.IgnoreSelf=2]="IgnoreSelf";b[b.IgnoreBots=4]="IgnoreBots";b[b.IgnoreLeader=8]="IgnoreLeader";b[b.IgnoreOwners=16]="IgnoreOwners";b[b.IgnoreAdmins=32]="IgnoreAdmins";b[b.IgnoreWhitelistUsers=64]="IgnoreWhitelistUsers";b[b.IgnoreBlacklistUsers=128]="IgnoreBlacklistUsers";b[b.IgnoreExcludedAutoAddFriends=256]="IgnoreExcludedAutoAddFriends";b[b.IgnoreFriends=512]="IgnoreFriends";b[b.IgnoreOtherBots=1024]="IgnoreOtherBots";b[b.IgnorePartyMembers=2048]="IgnorePartyMembers"})(v||={});var Q;((m)=>{m[m.Staff=1]="Staff";m[m.Admin=2]="Admin";m[m.Vip=4]="Vip";m[m.Verified=8]="Verified";m[m.Banned=16]="Banned";m[m.Tester=32]="Tester";m[m.Developer=64]="Developer";m[m.Partner=128]="Partner";m[m.Management=256]="Management";m[m.Moderation=512]="Moderation";m[m.Support=1024]="Support";m[m.IncreasedLimits=2048]="IncreasedLimits";m[m.Disabled=4096]="Disabled"})(Q||={});export{L as defaultCategoryConfig,Q as UserFlags,v as TriggerFlags,Z as OAuth2ScopeFlags,a as Locales,l as InputErrorCodes,c as GeneralErrorCodes,V as ErrorTypes,R as ErrorInputTypes,A as ErrorCodes,O as CosmeticFlags,M as CommandReplyFormat,K as CategoryFlags,j as CategoryConfigTriggerType,H as CategoryConfigTriggerEventType,I as CategoryConfigTriggerActionType,W as CategoryConfigSupportedPlatforms,J as CategoryConfigStatusType,q as CategoryConfigPartyPrivacy,B as BotStatus,f as BotFlags,z as ApplicationFlags,w as ActionInputType,D as ActionDataType,N as APILocales};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fnlb-project/shared",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.117",
|
|
4
4
|
"description": "FNLB Shared Library",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"typescript": "^5.9.3"
|
|
15
15
|
},
|
|
16
16
|
"exports": {
|
|
17
|
-
"./
|
|
18
|
-
"types": "./dist/
|
|
19
|
-
"default": "./dist/
|
|
17
|
+
"./actions": {
|
|
18
|
+
"types": "./dist/actions/index.d.ts",
|
|
19
|
+
"default": "./dist/actions/index.js"
|
|
20
20
|
},
|
|
21
21
|
"./errors": {
|
|
22
22
|
"types": "./dist/errors/index.d.ts",
|