turf-common 1.0.18-beta.12 → 1.0.18-beta.13
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/build/interface/api/create-registration-interface.d.ts +12 -0
- package/build/interface/api/create-registration-interface.js +2 -0
- package/build/interface/api/create-registration-transaction-output.interface.d.ts +1 -10
- package/build/interface/api/index.d.ts +2 -0
- package/build/interface/api/index.js +2 -0
- package/build/interface/api/update-turf-details.interface.d.ts +20 -0
- package/build/interface/api/update-turf-details.interface.js +2 -0
- package/build/interface/api/update-turf-transaction-output.d.ts +1 -18
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OrganizationStatus } from "../../@enum";
|
|
2
|
+
import { IWithoutTokenRegistrationEntity } from "../without-token-registration-entity.types";
|
|
3
|
+
export interface ICreateRegistrationResponse extends IWithoutTokenRegistrationEntity {
|
|
4
|
+
}
|
|
5
|
+
export interface ICreateRegistrationRequest {
|
|
6
|
+
name: string;
|
|
7
|
+
contact: string;
|
|
8
|
+
email: string;
|
|
9
|
+
pitchPlan: string;
|
|
10
|
+
status: OrganizationStatus;
|
|
11
|
+
comments?: string;
|
|
12
|
+
}
|
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
import { OrganizationStatus } from "../../@enum";
|
|
2
1
|
import { IWithoutTokenRegistrationEntity } from "../without-token-registration-entity.types";
|
|
3
|
-
export type
|
|
4
|
-
export interface ICreateRegistrationRequest {
|
|
5
|
-
name: string;
|
|
6
|
-
contact: string;
|
|
7
|
-
email: string;
|
|
8
|
-
pitchPlan: string;
|
|
9
|
-
status: OrganizationStatus;
|
|
10
|
-
comments?: string;
|
|
11
|
-
}
|
|
2
|
+
export type ICreateRegistrationTransactionOutput = IWithoutTokenRegistrationEntity;
|
|
@@ -66,3 +66,5 @@ export * from "./create-turf.interface";
|
|
|
66
66
|
export * from "./set-price.interface";
|
|
67
67
|
export * from "./manual-trigger-cron-job.interface";
|
|
68
68
|
export * from "./create-user.interface";
|
|
69
|
+
export * from "./update-turf-details.interface";
|
|
70
|
+
export * from "./create-registration-interface";
|
|
@@ -84,3 +84,5 @@ __exportStar(require("./create-turf.interface"), exports);
|
|
|
84
84
|
__exportStar(require("./set-price.interface"), exports);
|
|
85
85
|
__exportStar(require("./manual-trigger-cron-job.interface"), exports);
|
|
86
86
|
__exportStar(require("./create-user.interface"), exports);
|
|
87
|
+
__exportStar(require("./update-turf-details.interface"), exports);
|
|
88
|
+
__exportStar(require("./create-registration-interface"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PitchOperations } from "../../enums/pitch-operation.enum";
|
|
2
|
+
import { PitchSports } from "../../enums/pitch-sports.enum";
|
|
3
|
+
import { ITurfEntity } from "../entity";
|
|
4
|
+
export interface IUpdateTurfDetailsResponse extends ITurfEntity {
|
|
5
|
+
}
|
|
6
|
+
export interface IUpdateTurfDetailsRequest {
|
|
7
|
+
turfName?: string;
|
|
8
|
+
pitches?: IUpdatePitches[];
|
|
9
|
+
address?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface IUpdatePitches {
|
|
12
|
+
number?: number;
|
|
13
|
+
name?: string;
|
|
14
|
+
operations?: PitchOperations;
|
|
15
|
+
status?: string;
|
|
16
|
+
sports?: IUpdateSports[];
|
|
17
|
+
}
|
|
18
|
+
export interface IUpdateSports {
|
|
19
|
+
name: PitchSports;
|
|
20
|
+
}
|
|
@@ -1,20 +1,3 @@
|
|
|
1
1
|
import { ITurfEntity } from "../../@type";
|
|
2
|
-
|
|
3
|
-
import { PitchSports } from "../../enums/pitch-sports.enum";
|
|
4
|
-
export interface UpdateTurfTransactionOutput extends ITurfEntity {
|
|
5
|
-
}
|
|
6
|
-
export interface UpdateTurfDetailsRequest {
|
|
7
|
-
turfName?: string;
|
|
8
|
-
pitches?: IUpdatePitches[];
|
|
9
|
-
address?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface IUpdatePitches {
|
|
12
|
-
number?: number;
|
|
13
|
-
name?: string;
|
|
14
|
-
operations?: PitchOperations;
|
|
15
|
-
status?: string;
|
|
16
|
-
sports?: IUpdateSports[];
|
|
17
|
-
}
|
|
18
|
-
export interface IUpdateSports {
|
|
19
|
-
name: PitchSports;
|
|
2
|
+
export interface IUpdateTurfTransactionOutput extends ITurfEntity {
|
|
20
3
|
}
|