@wix/papyrus 1.0.17 → 1.0.19
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/papyrus",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"schemas"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@wix/auto_sdk_papyrus_templates": "1.0.
|
|
25
|
+
"@wix/auto_sdk_papyrus_templates": "1.0.5",
|
|
26
26
|
"@wix/papyrus_documents": "^1.0.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"types": "./build/es/schemas.d.mts"
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
|
-
"falconPackageHash": "
|
|
57
|
+
"falconPackageHash": "6b9a4dcc0c5f9a7a9dbec192d356de5a558a2df546bd8129d4842316"
|
|
58
58
|
}
|
|
@@ -1630,6 +1630,21 @@ interface QueryBuilder<T, S extends QuerySpec, R = QueryRequest<T, S>> {
|
|
|
1630
1630
|
/** Build the final query request object */
|
|
1631
1631
|
build(): R;
|
|
1632
1632
|
}
|
|
1633
|
+
/**
|
|
1634
|
+
* Complete set of query helpers for an entity
|
|
1635
|
+
* This is what gets spread into module namespaces
|
|
1636
|
+
* @template T - Entity type
|
|
1637
|
+
* @template S - Query spec defining filterable/sortable fields
|
|
1638
|
+
* @template R - Output type from QueryBuilder.build() (defaults to QueryRequest<T, S>)
|
|
1639
|
+
*/
|
|
1640
|
+
interface QueryHelpers<T, S extends QuerySpec, R = QueryRequest<T, S>> {
|
|
1641
|
+
/** QueryBuilder factory */
|
|
1642
|
+
QueryBuilder: () => QueryBuilder<T, S, R>;
|
|
1643
|
+
/** Filter factory - creates filter expressions */
|
|
1644
|
+
Filter: FilterFactory<T, S>;
|
|
1645
|
+
/** Sort factory - creates sort expressions */
|
|
1646
|
+
Sort: SortFactory<S>;
|
|
1647
|
+
}
|
|
1633
1648
|
|
|
1634
1649
|
interface TemplateSettings$1 {
|
|
1635
1650
|
/**
|
|
@@ -2657,11 +2672,7 @@ type TemplateSettingsQuery = {
|
|
|
2657
2672
|
}[];
|
|
2658
2673
|
};
|
|
2659
2674
|
declare const utils: {
|
|
2660
|
-
query:
|
|
2661
|
-
QueryBuilder: () => QueryBuilder<TemplateSettings$1, TemplateSettingsQuerySpec, TemplateSettingsQuery>;
|
|
2662
|
-
Filter: FilterFactory<TemplateSettings$1, TemplateSettingsQuerySpec>;
|
|
2663
|
-
Sort: SortFactory<TemplateSettingsQuerySpec>;
|
|
2664
|
-
};
|
|
2675
|
+
query: QueryHelpers<TemplateSettings$1, TemplateSettingsQuerySpec, TemplateSettingsQuery>;
|
|
2665
2676
|
};
|
|
2666
2677
|
interface ResolveTemplateSettingsOptions {
|
|
2667
2678
|
/**
|