Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
Remove Dead Enums
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuyk committed Oct 16, 2023
1 parent d4de87e commit e0bf1ae
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 25 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "altv-athena",
"version": "5.2.0",
"version": "5.3.0",
"description": "a roleplay framework for alt:V",
"author": "stuyk",
"type": "module",
Expand Down Expand Up @@ -30,7 +30,7 @@
"@altv/types-webview": "^1.0.7",
"@altv/types-worker": "1.0.7",
"@babel/types": "^7.17.0",
"@stuyk/altv-config": "^4.0.1",
"@stuyk/altv-config": "^4.0.2",
"@swc/cli": "0.1.62",
"@swc/core": "1.3.92",
"@types/minimatch": "^3.0.5",
Expand Down
3 changes: 3 additions & 0 deletions scripts/buildresource/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ const defaults = {
'client-files': ['client/*', 'shared/*'],
deps: [],
'required-permissions': ['Screen Capture'],
'config.js-module-v2': {
compatabilityEnabled: true,
},
};

async function getClientPluginFolders() {
Expand Down
1 change: 0 additions & 1 deletion src/core/server/player/emit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import * as Athena from '@AthenaServer/api';
import * as alt from 'alt-server';
import { PLAYER_SYNCED_META } from '@AthenaShared/enums/playerSynced';
import { SYSTEM_EVENTS } from '@AthenaShared/enums/system';
import { View_Events_Input_Menu } from '@AthenaShared/enums/views';
import { ANIMATION_FLAGS } from '@AthenaShared/flags/animationFlags';
import IAttachable from '@AthenaShared/interfaces/iAttachable';
import ICredit from '@AthenaShared/interfaces/iCredit';
Expand Down
33 changes: 11 additions & 22 deletions src/core/shared/enums/views.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
export enum View_Events_Inventory {
Process = 'inventory:Process',
Use = 'inventory:Use',
Split = 'inventory:Split',
Pickup = 'inventory:Pickup',
}
export const VIEW_EVENTS_JOB_TRIGGER = {
OPEN: 'jobTrigger:Open',
CANCEL: 'jobTrigger:Cancel',
ACCEPT: 'jobTrigger:Accept',
};

export enum View_Events_Input_Menu {
SetMenu = 'inputmenu:Set',
}

export enum VIEW_EVENTS_JOB_TRIGGER {
OPEN = 'jobTrigger:Open',
CANCEL = 'jobTrigger:Cancel',
ACCEPT = 'jobTrigger:Accept',
}

export enum VIEW_EVENTS_WHEEL_MENU {
ADD_OPTIONS = 'wheelMenu:AddOptions',
READY = 'wheelMenu:Ready',
CLOSE = 'wheelMenu:Close',
EXECUTE = 'wheelMenu:Execute',
}
export const VIEW_EVENTS_WHEEL_MENU = {
ADD_OPTIONS: 'wheelMenu:AddOptions',
READY: 'wheelMenu:Ready',
CLOSE: 'wheelMenu:Close',
EXECUTE: 'wheelMenu:Execute',
};

0 comments on commit e0bf1ae

Please sign in to comment.