From 1905ff7da0b455d43c2503eb171f7ec9ddd70561 Mon Sep 17 00:00:00 2001 From: Torben Pi Jensen Date: Sun, 5 Nov 2023 09:04:22 +0100 Subject: [PATCH] Common stuff initial --- .idea/.gitignore | 8 ++++++++ .idea/common.iml | 8 ++++++++ .idea/modules.xml | 8 ++++++++ .idea/php.xml | 19 +++++++++++++++++++ .idea/vcs.xml | 6 ++++++ common.ts | 4 ++++ dataTypes.ts | 1 + package.json | 1 + 8 files changed, 55 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/common.iml create mode 100644 .idea/modules.xml create mode 100644 .idea/php.xml create mode 100644 .idea/vcs.xml create mode 100644 common.ts diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/common.iml b/.idea/common.iml new file mode 100644 index 0000000..c956989 --- /dev/null +++ b/.idea/common.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..12ac4bd --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml new file mode 100644 index 0000000..f324872 --- /dev/null +++ b/.idea/php.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/common.ts b/common.ts new file mode 100644 index 0000000..1860dfa --- /dev/null +++ b/common.ts @@ -0,0 +1,4 @@ +export * as DataTypes from './dataTypes'; +export * as MessageTypes from './messageTypes'; + + diff --git a/dataTypes.ts b/dataTypes.ts index 582090d..7d5110a 100644 --- a/dataTypes.ts +++ b/dataTypes.ts @@ -20,3 +20,4 @@ export enum SongType { YouTube, Spotify } + diff --git a/package.json b/package.json index 7825c45..4535fe0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "stuen-common", "version": "1.0.0", + "main": "common.ts", "dependencies": { } }