@zauru-sdk/graphql 1.0.64 → 1.0.65
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.
|
@@ -20,7 +20,7 @@ export declare const getPayeesStringQuery = "\nquery getPayees {\n payees {\n
|
|
|
20
20
|
export declare const getProvidersStringQuery = "\nquery getProviders {\n payees (where: {vendor: {_eq: true}}) {\n id\n id_number\n name\n tin\n address_line_1\n }\n}\n";
|
|
21
21
|
export declare const getAgenciesStringQuery = "\nquery getAgencies {\n agencies {\n id\n name\n }\n}\n";
|
|
22
22
|
export declare const getWebAppRowStringQuery = "\nquery getWebAppRow($id: Int){\n webapp_rows(where: {id: {_eq: $id}}) {\n data\n }\n}\n";
|
|
23
|
-
export declare const getWebAppRowsByWebAppTableIdStringQuery = "\nquery getWebAppRowsByWebAppTableId ($webapp_table_id: Int) {\n webapp_rows (where: {webapp_table_id: {_eq: $webapp_table_id }}) {\n id\n data\n created_at\n }\n}\n";
|
|
23
|
+
export declare const getWebAppRowsByWebAppTableIdStringQuery = "\nquery getWebAppRowsByWebAppTableId ($webapp_table_id: Int) {\n webapp_rows (\n where: {\n webapp_table_id: {\n _eq: $webapp_table_id \n }\n },\n order_by: { \n id: desc \n }\n ) {\n id\n data\n created_at\n }\n}\n";
|
|
24
24
|
export declare const getPayeeCategoryByIdStringQuery = "\nquery getPayeeCategoryById ($id: Int) {\n payee_categories (where: {id: {_eq: $id }}) {\n payees (order_by: { id: desc }) { \n id\n name\n id_number\n email\n phone\n tin\n active\n address_line_1\n }\n }\n}\n";
|
|
25
25
|
export declare const getPayeeCategoriesByNotesMatchStringQuery: (match: string) => string;
|
|
26
26
|
export declare const getPayeeCategoriesStringQuery = "\nquery getPayeeCategories {\n payee_categories {\n id\n name\n notes\n payees_count\n price_list_id\n }\n}\n";
|
|
@@ -330,7 +330,16 @@ query getWebAppRow($id: Int){
|
|
|
330
330
|
`;
|
|
331
331
|
exports.getWebAppRowsByWebAppTableIdStringQuery = `
|
|
332
332
|
query getWebAppRowsByWebAppTableId ($webapp_table_id: Int) {
|
|
333
|
-
webapp_rows (
|
|
333
|
+
webapp_rows (
|
|
334
|
+
where: {
|
|
335
|
+
webapp_table_id: {
|
|
336
|
+
_eq: $webapp_table_id
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
order_by: {
|
|
340
|
+
id: desc
|
|
341
|
+
}
|
|
342
|
+
) {
|
|
334
343
|
id
|
|
335
344
|
data
|
|
336
345
|
created_at
|
|
@@ -330,7 +330,16 @@ query getWebAppRow($id: Int){
|
|
|
330
330
|
`;
|
|
331
331
|
exports.getWebAppRowsByWebAppTableIdStringQuery = `
|
|
332
332
|
query getWebAppRowsByWebAppTableId ($webapp_table_id: Int) {
|
|
333
|
-
webapp_rows (
|
|
333
|
+
webapp_rows (
|
|
334
|
+
where: {
|
|
335
|
+
webapp_table_id: {
|
|
336
|
+
_eq: $webapp_table_id
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
order_by: {
|
|
340
|
+
id: desc
|
|
341
|
+
}
|
|
342
|
+
) {
|
|
334
343
|
id
|
|
335
344
|
data
|
|
336
345
|
created_at
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/graphql",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.65",
|
|
4
4
|
"description": "Queries de uso común para las aplicación de Zauru.",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"typescript": "^5.1.6"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "152e91e349c5d10ac3abf947acacf8db42d030e1"
|
|
26
26
|
}
|