@oxyfoo/whymeet-types 0.0.1 → 0.0.2

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/README.md CHANGED
@@ -5,7 +5,7 @@ Shared TypeScript types for the WhyMeet project — used by both the client (Rea
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install @whymeet/types
8
+ npm install @oxyfoo/whymeet-types
9
9
  ```
10
10
 
11
11
  ## Development
@@ -36,6 +36,19 @@ export interface WSRequest_GetCandidateCounts {
36
36
  command: 'get-candidate-counts';
37
37
  payload: Record<string, never>;
38
38
  }
39
+ export interface WSRequest_GetSubIntentionCounts {
40
+ command: 'get-subintention-counts';
41
+ payload: {
42
+ intention: IntentionKey;
43
+ };
44
+ }
45
+ export interface WSRequest_GetPopularTags {
46
+ command: 'get-popular-tags';
47
+ payload: {
48
+ intention: IntentionKey;
49
+ subCategories: string[];
50
+ };
51
+ }
39
52
  export interface WSRequest_Like {
40
53
  command: 'like';
41
54
  payload: {
@@ -359,12 +372,6 @@ export interface WSResponse_GetCandidateCounts {
359
372
  error: string;
360
373
  };
361
374
  }
362
- export interface WSRequest_GetSubIntentionCounts {
363
- command: 'get-subintention-counts';
364
- payload: {
365
- intention: IntentionKey;
366
- };
367
- }
368
375
  export interface WSResponse_GetSubIntentionCounts {
369
376
  command: 'get-subintention-counts';
370
377
  payload: {
@@ -373,13 +380,6 @@ export interface WSResponse_GetSubIntentionCounts {
373
380
  error: string;
374
381
  };
375
382
  }
376
- export interface WSRequest_GetPopularTags {
377
- command: 'get-popular-tags';
378
- payload: {
379
- intention: IntentionKey;
380
- subCategories: string[];
381
- };
382
- }
383
383
  export interface WSResponse_GetPopularTags {
384
384
  command: 'get-popular-tags';
385
385
  payload: {
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@oxyfoo/whymeet-types",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "WhyMeet Types - Shared TypeScript types for the WhyMeet project.",
5
- "main": "./index.js",
6
- "types": "./index.d.ts",
5
+ "main": "./dist/index.js",
6
+ "types": "./dist/index.d.ts",
7
7
  "type": "module",
8
8
  "scripts": {
9
- "build": "tsc && tsc-alias && cp package.json README.md LICENSE ./dist/ && rm -f ./dist/tsconfig.tsbuildinfo",
9
+ "build": "tsc && tsc-alias && rm -f ./dist/tsconfig.tsbuildinfo",
10
10
  "lint": "eslint .",
11
11
  "lint:fix": "eslint . --fix",
12
12
  "format": "prettier --check '**/*.{ts,tsx}'",
@@ -27,19 +27,18 @@
27
27
  },
28
28
  "homepage": "https://github.com/Gerem66/WhyMeet-Types#readme",
29
29
  "files": [
30
- "**/*.js",
31
- "**/*.d.ts"
30
+ "dist"
32
31
  ],
33
32
  "exports": {
34
33
  ".": {
35
- "import": "./index.js",
36
- "require": "./index.js",
37
- "types": "./index.d.ts"
34
+ "import": "./dist/index.js",
35
+ "require": "./dist/index.js",
36
+ "types": "./dist/index.d.ts"
38
37
  },
39
38
  "./*": {
40
- "import": "./*.js",
41
- "require": "./*.js",
42
- "types": "./*.d.ts"
39
+ "import": "./dist/*.js",
40
+ "require": "./dist/*.js",
41
+ "types": "./dist/*.d.ts"
43
42
  }
44
43
  },
45
44
  "devDependencies": {