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.
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +1,2 @@
1
- import { OrganizationStatus } from "../../@enum";
2
1
  import { IWithoutTokenRegistrationEntity } from "../without-token-registration-entity.types";
3
- export type CreateRegistrationTransactionOutput = IWithoutTokenRegistrationEntity;
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,20 +1,3 @@
1
1
  import { ITurfEntity } from "../../@type";
2
- import { PitchOperations } from "../../enums/pitch-operation.enum";
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turf-common",
3
- "version": "1.0.18-beta.12",
3
+ "version": "1.0.18-beta.13",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",