@openbox/shared-types 0.2.43 → 0.2.44

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.
@@ -1,2 +1,4 @@
1
1
  import { SystemCitiesGetSingleResponse } from '../GetSingle/Response';
2
- export type SystemCitiesGetManyResponse = Array<SystemCitiesGetSingleResponse>;
2
+ export type SystemCitiesGetManyResponse = {
3
+ data: Array<SystemCitiesGetSingleResponse>;
4
+ };
@@ -1,2 +1,4 @@
1
- import { SystemCountriesGetSingleReponse } from '../GetSingle/Response';
2
- export type SystemCountriesGetManyReponse = Array<SystemCountriesGetSingleReponse>;
1
+ import { SystemCountriesGetSingleResponse } from '../GetSingle/Response';
2
+ export type SystemCountriesGetManyResponse = {
3
+ data: Array<SystemCountriesGetSingleResponse>;
4
+ };
@@ -1,2 +1,2 @@
1
1
  import { SystemCountriesResponse } from '../system.countries.types';
2
- export type SystemCountriesGetSingleReponse = SystemCountriesResponse;
2
+ export type SystemCountriesGetSingleResponse = SystemCountriesResponse;
@@ -1,2 +1,4 @@
1
1
  import { SystemStatesGetSingleResponse } from '../GetSingle/Response';
2
- export type SystemStatesGetManyResponse = Array<SystemStatesGetSingleResponse>;
2
+ export type SystemStatesGetManyResponse = {
3
+ data: Array<SystemStatesGetSingleResponse>;
4
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.43",
3
+ "version": "0.2.44",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,3 +1,5 @@
1
1
  import { SystemCitiesGetSingleResponse } from '../GetSingle/Response'
2
2
 
3
- export type SystemCitiesGetManyResponse = Array<SystemCitiesGetSingleResponse>
3
+ export type SystemCitiesGetManyResponse = {
4
+ data: Array<SystemCitiesGetSingleResponse>
5
+ }
@@ -1,3 +1,5 @@
1
- import { SystemCountriesGetSingleReponse } from '../GetSingle/Response'
1
+ import { SystemCountriesGetSingleResponse } from '../GetSingle/Response'
2
2
 
3
- export type SystemCountriesGetManyReponse = Array<SystemCountriesGetSingleReponse>
3
+ export type SystemCountriesGetManyResponse = {
4
+ data: Array<SystemCountriesGetSingleResponse>
5
+ }
@@ -1,3 +1,3 @@
1
1
  import { SystemCountriesResponse } from '../system.countries.types'
2
2
 
3
- export type SystemCountriesGetSingleReponse = SystemCountriesResponse
3
+ export type SystemCountriesGetSingleResponse = SystemCountriesResponse
@@ -1,3 +1,5 @@
1
1
  import { SystemStatesGetSingleResponse } from '../GetSingle/Response'
2
2
 
3
- export type SystemStatesGetManyResponse = Array<SystemStatesGetSingleResponse>
3
+ export type SystemStatesGetManyResponse = {
4
+ data: Array<SystemStatesGetSingleResponse>
5
+ }