@vuu-ui/vuu-data-types 3.2.0 → 3.3.0
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/index.d.ts +4 -0
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -585,6 +585,9 @@ export declare type DataSourceSuspenseProps = {
|
|
|
585
585
|
/** Controls which source rows are copied into a newly created session table. */
|
|
586
586
|
export declare type CopyOption = "All" | "Empty" | "Selected";
|
|
587
587
|
|
|
588
|
+
/** Controls the intended purpose of a created session table. */
|
|
589
|
+
export declare type SessionType = "edit" | "import" | "export";
|
|
590
|
+
|
|
588
591
|
/**
|
|
589
592
|
* Wire-level values used by the legacy beginEditSession menu/server service.
|
|
590
593
|
* Client edit lifecycles use CopyOption with createSessionDataSource instead.
|
|
@@ -618,6 +621,7 @@ export interface EditApi<
|
|
|
618
621
|
*/
|
|
619
622
|
createSessionDataSource?: (
|
|
620
623
|
copyOption: CopyOption,
|
|
624
|
+
sessionType?: SessionType,
|
|
621
625
|
) => Promise<DataSource<T> | undefined>;
|
|
622
626
|
/**
|
|
623
627
|
* Legacy session creation API. Prefer createSessionDataSource for new servers.
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuu-ui/vuu-data-types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"author": "heswell",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"devDependencies": {
|
|
7
|
-
"@vuu-ui/vuu-filter-types": "3.
|
|
8
|
-
"@vuu-ui/vuu-protocol-types": "3.
|
|
7
|
+
"@vuu-ui/vuu-filter-types": "3.3.0",
|
|
8
|
+
"@vuu-ui/vuu-protocol-types": "3.3.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {},
|
|
11
11
|
"peerDependencies": {},
|