@fnlb-project/shared 1.5.115 → 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 -47
- 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,13 +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
|
-
}
|
|
80
89
|
export type ConnectionSchema = {
|
|
81
90
|
id?: string;
|
|
82
91
|
username?: string;
|
|
@@ -98,44 +107,38 @@ export interface IClientAccount {
|
|
|
98
107
|
bots?: IDBBot[];
|
|
99
108
|
categories?: IDBCategory[];
|
|
100
109
|
}
|
|
101
|
-
export interface
|
|
102
|
-
name: string;
|
|
103
|
-
type: CategoryConfigTriggerActionOutputType;
|
|
104
|
-
description?: string;
|
|
105
|
-
required?: boolean;
|
|
106
|
-
}
|
|
107
|
-
export declare enum CommandParamType {
|
|
108
|
-
RequiredParam = 0,
|
|
109
|
-
OptionalParam = 1,
|
|
110
|
-
RequiredSelect = 2,
|
|
111
|
-
OptionalSelect = 3,
|
|
112
|
-
RequiredNumericParam = 4,
|
|
113
|
-
OptionalNumericParam = 5
|
|
114
|
-
}
|
|
115
|
-
export interface ICommandBaseParam {
|
|
110
|
+
export interface IBaseActionInput {
|
|
116
111
|
id: string;
|
|
117
|
-
type:
|
|
112
|
+
type: ActionInputType;
|
|
113
|
+
dataType?: ActionDataType;
|
|
118
114
|
name: string;
|
|
119
115
|
description: string;
|
|
120
116
|
examples?: string[];
|
|
121
117
|
}
|
|
122
|
-
export interface
|
|
123
|
-
type:
|
|
118
|
+
export interface IStringInput extends IBaseActionInput {
|
|
119
|
+
type: ActionInputType.Required | ActionInputType.Optional;
|
|
124
120
|
extended: boolean;
|
|
125
121
|
}
|
|
126
|
-
export interface
|
|
127
|
-
type:
|
|
128
|
-
options:
|
|
122
|
+
export interface ISelectInput extends IBaseActionInput {
|
|
123
|
+
type: ActionInputType.RequiredSelect | ActionInputType.OptionalSelect;
|
|
124
|
+
options: ISelectInputOptions[];
|
|
129
125
|
}
|
|
130
|
-
export interface
|
|
126
|
+
export interface ISelectInputOptions {
|
|
131
127
|
id: string;
|
|
132
128
|
name: string;
|
|
133
129
|
alias?: string[];
|
|
134
130
|
}
|
|
135
|
-
export interface
|
|
136
|
-
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;
|
|
137
141
|
}
|
|
138
|
-
export type CommandParam = ICommandNormalParam | ICommandSelectParam | ICommandNumericParam;
|
|
139
142
|
export interface ISerializedActionFunction {
|
|
140
143
|
id: string;
|
|
141
144
|
config: {
|
|
@@ -143,10 +146,24 @@ export interface ISerializedActionFunction {
|
|
|
143
146
|
parent: string;
|
|
144
147
|
alias: string[];
|
|
145
148
|
description: string;
|
|
146
|
-
usage:
|
|
149
|
+
usage: ActionInput[];
|
|
147
150
|
outputs: IActionOutput[];
|
|
148
151
|
};
|
|
149
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
|
+
}
|
|
150
167
|
export interface IDBBot {
|
|
151
168
|
id: string;
|
|
152
169
|
owner: string;
|
|
@@ -342,20 +359,6 @@ export interface IDBCategory {
|
|
|
342
359
|
}
|
|
343
360
|
export interface ICategory extends IDBCategory {
|
|
344
361
|
}
|
|
345
|
-
export interface ISerializedCommand {
|
|
346
|
-
id: string;
|
|
347
|
-
config: {
|
|
348
|
-
name: string;
|
|
349
|
-
parent: string;
|
|
350
|
-
alias: string[];
|
|
351
|
-
usage: CommandParam[];
|
|
352
|
-
isHidden?: boolean;
|
|
353
|
-
description: string;
|
|
354
|
-
onlyLeader?: boolean;
|
|
355
|
-
onlyPrivate?: boolean;
|
|
356
|
-
onlyPartyMembers?: boolean;
|
|
357
|
-
};
|
|
358
|
-
}
|
|
359
362
|
export interface IAPICosmetic {
|
|
360
363
|
id: string;
|
|
361
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",
|