Skip to content

Commit

Permalink
fix: callback types for api
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuyk committed May 10, 2024
1 parent a1601a1 commit a5578fc
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/character-creator/client/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import * as alt from 'alt-client';
1 change: 1 addition & 0 deletions src/plugins/character-creator/server/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import * as alt from 'alt-server';
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export const CharacterCreatorEvents = {
toServer: {
submitUsername: 'character:creator:submit:username',
},
toClient: {
handleError: 'character:creator:username:handle:error',
},
};
7 changes: 7 additions & 0 deletions src/plugins/character-creator/webview/CharacterCreator.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<script lang="ts" setup>
//
</script>

<template>
<div></div>
</template>

0 comments on commit a5578fc

Please sign in to comment.