This commit is contained in:
2025-01-26 22:30:31 +00:00
parent 037a7af2da
commit 5419805b68
21 changed files with 207 additions and 224 deletions
@@ -0,0 +1,11 @@
declare module '@entityseven/rage-fw-shared-types' {
export interface RageFW_ICustomClientEvent {}
export interface RageFW_ICustomServerEvent {
customServerEvent(greetings: string): string
}
export interface RageFW_ICustomBrowserEvent {
customBrowserEvent(greetings: string): string
}
}
-12
View File
@@ -1,12 +0,0 @@
export const events = {
server: {
customServerEvent: 'customServerEvent',
},
client: {
cefReady: 'cefReady',
customClientEvent: 'customClientEvent',
},
browser: {
customBrowserEvent: 'customBrowserEvent',
},
}
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@rage-fw/shared",
"description": "Shared data for Rage-FW example",
"version": "0.1.0",
"main": "index.ts"
"name": "@rage-fw/shared",
"description": "Shared data for Rage-FW example",
"version": "0.1.0",
"main": "index.ts"
}