@b01lers/ctfd-api 2.0.0 → 2.0.1

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/dist/types.d.ts CHANGED
@@ -288,4 +288,4 @@ declare class CTFdClient {
288
288
  }>;
289
289
  }
290
290
 
291
- export { type Award, CTFdClient, type Challenge, type ChallengeDetails, type ChallengeType, type ScoreboardEntry, type Solve, type User };
291
+ export { type Award, CTFdClient, type Challenge, type ChallengeDetails, type ChallengeType, type ScoreboardEntry, type Solve, type User, type UserSolve };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b01lers/ctfd-api",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "An API client for CTFd.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types.d.ts",
@@ -2,7 +2,7 @@ import type { CTFdClient } from '../client';
2
2
  import type { Award, User } from '../types/users';
3
3
 
4
4
 
5
- interface UserSolve {
5
+ export interface UserSolve {
6
6
  user: {
7
7
  name: string,
8
8
  id: number,
package/src/index.ts CHANGED
@@ -3,3 +3,6 @@ export { CTFdClient } from './client';
3
3
  export type { ChallengeType, Challenge, ChallengeDetails, Solve } from './types/challenges'
4
4
  export type { ScoreboardEntry } from './types/scoreboard';
5
5
  export type { User, Award } from './types/users';
6
+
7
+ // TODO
8
+ export type { UserSolve } from './endpoints/users'