@plus45/types 1.2.14 → 1.2.16
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/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/types/{authorization/authorization.d.ts → authentication/authentication.d.ts} +1 -1
- package/dist/types/authentication/password_auth.d.ts +5 -0
- package/package.json +1 -1
- package/dist/types/authorization/password_auth.d.ts +0 -5
- /package/dist/types/{authorization/authorization.js → authentication/authentication.js} +0 -0
- /package/dist/types/{authorization → authentication}/password_auth.js +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -10,9 +10,9 @@ import { ScheduleRecurrence } from "./types/schedule/schedule_recurrence";
|
|
|
10
10
|
import { UserSessionInfo } from "./types/user/session_info";
|
|
11
11
|
import { CompletedExercise, WorkoutExecution } from "./types/workout/workout_execution";
|
|
12
12
|
import { WeekLayout } from "./types/generics/week_layout";
|
|
13
|
-
import {
|
|
13
|
+
import { AuthenticationActionData, AuthType } from "./types/authentication/authentication";
|
|
14
14
|
import Exercise from "./types/exercise/exercise";
|
|
15
|
-
import { ResetPasswordAuthorizationData } from "./types/
|
|
15
|
+
import { ResetPasswordAuthorizationData } from "./types/authentication/password_auth";
|
|
16
16
|
import { PublicUser } from "./types/user/public_user";
|
|
17
17
|
import { LastExerciseValue } from "./types/exercise/last_exercise";
|
|
18
|
-
export { type User, type UserSessionInfo, type AccessToken, type PublicUser, type Exercise, type CompletedExercise, type LastExerciseValue, type Workout, type WorkoutExecution, type Schedule, type AssignedSchedule, Post, BatchPost, PostMedia,
|
|
18
|
+
export { type User, type UserSessionInfo, type AccessToken, type PublicUser, type Exercise, type CompletedExercise, type LastExerciseValue, type Workout, type WorkoutExecution, type Schedule, type AssignedSchedule, Post, BatchPost, PostMedia, AuthenticationActionData, ResetPasswordAuthorizationData, WeekLayout, ExerciseType, ExerciseUnit, ScheduleDay, ScheduleRecurrence, AuthType, WeightUnits, DistanceUnits, TimeUnits };
|
package/dist/index.js
CHANGED
|
@@ -14,5 +14,5 @@ const schedule_recurrence_1 = require("./types/schedule/schedule_recurrence");
|
|
|
14
14
|
Object.defineProperty(exports, "ScheduleRecurrence", { enumerable: true, get: function () { return schedule_recurrence_1.ScheduleRecurrence; } });
|
|
15
15
|
const week_layout_1 = require("./types/generics/week_layout");
|
|
16
16
|
Object.defineProperty(exports, "WeekLayout", { enumerable: true, get: function () { return week_layout_1.WeekLayout; } });
|
|
17
|
-
const
|
|
18
|
-
Object.defineProperty(exports, "AuthType", { enumerable: true, get: function () { return
|
|
17
|
+
const authentication_1 = require("./types/authentication/authentication");
|
|
18
|
+
Object.defineProperty(exports, "AuthType", { enumerable: true, get: function () { return authentication_1.AuthType; } });
|
|
@@ -3,7 +3,7 @@ export declare const AuthType: {
|
|
|
3
3
|
readonly EMAIL_VERIFICATION: "VERIFY_EMAIL";
|
|
4
4
|
};
|
|
5
5
|
export type AuthType = (typeof AuthType)[keyof typeof AuthType];
|
|
6
|
-
export type
|
|
6
|
+
export type AuthenticationActionData<T = any> = {
|
|
7
7
|
action: AuthType;
|
|
8
8
|
data: T;
|
|
9
9
|
};
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|