phx-react 1.3.984 → 1.3.985
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/dist/cjs/query/school-year-v3/index.d.ts +2 -2
- package/dist/cjs/query/school-year-v3/index.js +2 -2
- package/dist/cjs/query/school-year-v3/index.js.map +1 -1
- package/dist/cjs/utils/types/types.d.ts +0 -1
- package/dist/esm/query/school-year-v3/index.d.ts +2 -2
- package/dist/esm/query/school-year-v3/index.js +2 -2
- package/dist/esm/query/school-year-v3/index.js.map +1 -1
- package/dist/esm/utils/types/types.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n
|
|
2
|
-
export declare const getActiveAndNextSchoolYearV3 = "\n query GetActiveAndNextSchoolYear($startAt: timestamptz, $endAt: timestamptz, $school_id: Int) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n start_at: { _lte: $startAt }\n end_at: { _gte: $endAt }\n school_course: { school_id: { _eq: $school_id } }\n }\n order_by: { id: asc }\n ) {\n code\n end_at\n id\n name\n start_at\n school_terms(where: { deleted_at: { _is_null: true } }, order_by: { id: asc }) {\n name\n code\n id\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n
|
|
1
|
+
export declare const querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n name\n start_date\n end_date\n }\n }\n }\n }\n";
|
|
2
|
+
export declare const getActiveAndNextSchoolYearV3 = "\n query GetActiveAndNextSchoolYear($startAt: timestamptz, $endAt: timestamptz, $school_id: Int) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n start_at: { _lte: $startAt }\n end_at: { _gte: $endAt }\n school_course: { school_id: { _eq: $school_id } }\n }\n order_by: { id: asc }\n ) {\n code\n end_at\n id\n name\n start_at\n school_terms(where: { deleted_at: { _is_null: true } }, order_by: { id: asc }) {\n name\n code\n id\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n name\n start_date\n end_date\n }\n }\n school_course {\n course_name\n id\n code\n }\n }\n }\n";
|
|
3
3
|
export declare const querySchoolYearHocvuV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, hoc_vu_end_at: { _gte: $gte }, hoc_vu_start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n }\n }\n";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
exports.__esModule = true;
|
|
3
3
|
exports.querySchoolYearHocvuV3 = exports.getActiveAndNextSchoolYearV3 = exports.querySchoolYearV3 = void 0;
|
|
4
|
-
exports.querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n
|
|
5
|
-
exports.getActiveAndNextSchoolYearV3 = "\n query GetActiveAndNextSchoolYear($startAt: timestamptz, $endAt: timestamptz, $school_id: Int) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n start_at: { _lte: $startAt }\n end_at: { _gte: $endAt }\n school_course: { school_id: { _eq: $school_id } }\n }\n order_by: { id: asc }\n ) {\n code\n end_at\n id\n name\n start_at\n school_terms(where: { deleted_at: { _is_null: true } }, order_by: { id: asc }) {\n name\n code\n id\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n
|
|
4
|
+
exports.querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n name\n start_date\n end_date\n }\n }\n }\n }\n";
|
|
5
|
+
exports.getActiveAndNextSchoolYearV3 = "\n query GetActiveAndNextSchoolYear($startAt: timestamptz, $endAt: timestamptz, $school_id: Int) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n start_at: { _lte: $startAt }\n end_at: { _gte: $endAt }\n school_course: { school_id: { _eq: $school_id } }\n }\n order_by: { id: asc }\n ) {\n code\n end_at\n id\n name\n start_at\n school_terms(where: { deleted_at: { _is_null: true } }, order_by: { id: asc }) {\n name\n code\n id\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n name\n start_date\n end_date\n }\n }\n school_course {\n course_name\n id\n code\n }\n }\n }\n";
|
|
6
6
|
exports.querySchoolYearHocvuV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, hoc_vu_end_at: { _gte: $gte }, hoc_vu_start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n }\n }\n";
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/query/school-year-v3/index.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG,0
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/query/school-year-v3/index.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG,0+BA4ChC,CAAA;AAEY,QAAA,4BAA4B,GAAG,u1BAqC3C,CAAA;AAEY,QAAA,sBAAsB,GAAG,o0BAmCrC,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n
|
|
2
|
-
export declare const getActiveAndNextSchoolYearV3 = "\n query GetActiveAndNextSchoolYear($startAt: timestamptz, $endAt: timestamptz, $school_id: Int) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n start_at: { _lte: $startAt }\n end_at: { _gte: $endAt }\n school_course: { school_id: { _eq: $school_id } }\n }\n order_by: { id: asc }\n ) {\n code\n end_at\n id\n name\n start_at\n school_terms(where: { deleted_at: { _is_null: true } }, order_by: { id: asc }) {\n name\n code\n id\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n
|
|
1
|
+
export declare const querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n name\n start_date\n end_date\n }\n }\n }\n }\n";
|
|
2
|
+
export declare const getActiveAndNextSchoolYearV3 = "\n query GetActiveAndNextSchoolYear($startAt: timestamptz, $endAt: timestamptz, $school_id: Int) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n start_at: { _lte: $startAt }\n end_at: { _gte: $endAt }\n school_course: { school_id: { _eq: $school_id } }\n }\n order_by: { id: asc }\n ) {\n code\n end_at\n id\n name\n start_at\n school_terms(where: { deleted_at: { _is_null: true } }, order_by: { id: asc }) {\n name\n code\n id\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n name\n start_date\n end_date\n }\n }\n school_course {\n course_name\n id\n code\n }\n }\n }\n";
|
|
3
3
|
export declare const querySchoolYearHocvuV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, hoc_vu_end_at: { _gte: $gte }, hoc_vu_start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n }\n }\n";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export var querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n
|
|
2
|
-
export var getActiveAndNextSchoolYearV3 = "\n query GetActiveAndNextSchoolYear($startAt: timestamptz, $endAt: timestamptz, $school_id: Int) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n start_at: { _lte: $startAt }\n end_at: { _gte: $endAt }\n school_course: { school_id: { _eq: $school_id } }\n }\n order_by: { id: asc }\n ) {\n code\n end_at\n id\n name\n start_at\n school_terms(where: { deleted_at: { _is_null: true } }, order_by: { id: asc }) {\n name\n code\n id\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n
|
|
1
|
+
export var querySchoolYearV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n start_at\n end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, end_at: { _gte: $gte }, start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n start_at\n end_at\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n name\n start_date\n end_date\n }\n }\n }\n }\n";
|
|
2
|
+
export var getActiveAndNextSchoolYearV3 = "\n query GetActiveAndNextSchoolYear($startAt: timestamptz, $endAt: timestamptz, $school_id: Int) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n start_at: { _lte: $startAt }\n end_at: { _gte: $endAt }\n school_course: { school_id: { _eq: $school_id } }\n }\n order_by: { id: asc }\n ) {\n code\n end_at\n id\n name\n start_at\n school_terms(where: { deleted_at: { _is_null: true } }, order_by: { id: asc }) {\n name\n code\n id\n school_months(\n order_by: {start_date: asc}\n where: {deleted_at: {_is_null: true}}\n ) {\n id\n name\n start_date\n end_date\n }\n }\n school_course {\n course_name\n id\n code\n }\n }\n }\n";
|
|
3
3
|
export var querySchoolYearHocvuV3 = "\n query MyQuery($school_id: Int!, $gte: timestamptz!, $lte: timestamptz!) {\n school_year(\n where: {\n deleted_at: { _is_null: true }\n school_course: { school_id: { _eq: $school_id } }\n end_at: { _gte: $gte }\n start_at: { _lte: $lte }\n }\n ) {\n id\n name\n code\n start_at\n end_at\n school_terms(where: { deleted_at: { _is_null: true } }) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n current_term: school_terms(\n where: { deleted_at: { _is_null: true }, hoc_vu_end_at: { _gte: $gte }, hoc_vu_start_at: { _lte: $lte } }\n ) {\n id\n code\n name\n coefficient\n hoc_vu_start_at\n hoc_vu_end_at\n }\n }\n }\n";
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/query/school-year-v3/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,iBAAiB,GAAG,0
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/query/school-year-v3/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,iBAAiB,GAAG,0+BA4ChC,CAAA;AAED,MAAM,CAAC,IAAM,4BAA4B,GAAG,u1BAqC3C,CAAA;AAED,MAAM,CAAC,IAAM,sBAAsB,GAAG,o0BAmCrC,CAAA"}
|