turf-common 1.1.1-beta.41 → 1.1.1-beta.43

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,4 @@
1
+ import { ISportsEntity } from "../entity/sports-entity.interface";
2
+ export interface IGetSports {
3
+ [sportName: string]: ISportsEntity;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,4 @@
1
1
  import { PitchOperations } from "../../enums/pitch-operation.enum";
2
- import { PitchSports } from "../../enums/pitch-sports.enum";
3
2
  import { ITurfEntity } from "../entity";
4
3
  import { IModifyEntity } from "../../@type";
5
4
  export interface IUpdateTurfDetailsResponse extends IModifyEntity<ITurfEntity> {
@@ -17,5 +16,5 @@ export interface IUpdatePitches {
17
16
  sports?: IUpdateSports[];
18
17
  }
19
18
  export interface IUpdateSports {
20
- name: PitchSports;
19
+ name: string;
21
20
  }
@@ -0,0 +1,5 @@
1
+ import { IEntityAuditColumn } from "./entity-audit-column.interface";
2
+ export interface ISportsEntity extends IEntityAuditColumn {
3
+ id: number;
4
+ name: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turf-common",
3
- "version": "1.1.1-beta.41",
3
+ "version": "1.1.1-beta.43",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",