@quesmed/types-rn 2.5.49 → 2.5.50
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/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Id, IUniversity } from '../../models';
|
|
2
2
|
import { graphqlNormalize, RootData } from '../types';
|
|
3
3
|
export interface IUniversitiesVar {
|
|
4
|
-
id
|
|
4
|
+
id?: Id;
|
|
5
|
+
order?: string;
|
|
5
6
|
}
|
|
6
7
|
export type IUniversitiesData = RootData<graphqlNormalize & IUniversity[], 'universities'>;
|
|
7
8
|
export declare const UNIVERSITIES: import("@apollo/client").DocumentNode;
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UNIVERSITIES = void 0;
|
|
4
4
|
const client_1 = require("@apollo/client");
|
|
5
5
|
exports.UNIVERSITIES = (0, client_1.gql) `
|
|
6
|
-
query universities($id: Int) {
|
|
7
|
-
universities(id: $id) {
|
|
6
|
+
query universities($id: Int, $order: String) {
|
|
7
|
+
universities(id: $id, order: $order) {
|
|
8
8
|
name
|
|
9
9
|
id
|
|
10
10
|
}
|