@zauru-sdk/graphql 2.0.179 → 2.0.182
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.
|
@@ -136,5 +136,6 @@ export declare const getCasesStringQuery: (filters?: {
|
|
|
136
136
|
client_id?: number;
|
|
137
137
|
closed?: boolean;
|
|
138
138
|
tag_id?: string;
|
|
139
|
+
limit?: number;
|
|
139
140
|
}) => string;
|
|
140
141
|
export declare const getPrintTemplatesStringQuery = "\nquery getPrintTemplates {\n print_templates {\n id\n name\n }\n}\n";
|
|
@@ -1551,7 +1551,7 @@ const getCasesStringQuery = (filters) => {
|
|
|
1551
1551
|
? `where: { ${conditions.join(", ")} },`
|
|
1552
1552
|
: "";
|
|
1553
1553
|
return `query getCases {
|
|
1554
|
-
cases (${whereClause} order_by: {id: desc})
|
|
1554
|
+
cases (${whereClause} order_by: {id: desc}, limit: ${filters?.limit || 1000})
|
|
1555
1555
|
{
|
|
1556
1556
|
id
|
|
1557
1557
|
id_number
|
|
@@ -1589,6 +1589,17 @@ const getCasesStringQuery = (filters) => {
|
|
|
1589
1589
|
item_id
|
|
1590
1590
|
quantity
|
|
1591
1591
|
}
|
|
1592
|
+
submission_cases {
|
|
1593
|
+
id
|
|
1594
|
+
settings_form_submission {
|
|
1595
|
+
zid
|
|
1596
|
+
voided
|
|
1597
|
+
settings_form {
|
|
1598
|
+
id
|
|
1599
|
+
zid
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1592
1603
|
}
|
|
1593
1604
|
}
|
|
1594
1605
|
`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/graphql",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.182",
|
|
4
4
|
"description": "Queries de uso común para las aplicación de Zauru.",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"typescript": "^5.1.6"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "496beab46b1b102937a5e541e2f99656a3195921"
|
|
25
25
|
}
|