We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05f4720 commit c417cf0Copy full SHA for c417cf0
1 file changed
packages/consts/src/consts.ts
@@ -711,3 +711,17 @@ export const ACTOR_PERMISSION_LEVEL = {
711
} as const;
712
713
export type ACTOR_PERMISSION_LEVEL = ValueOf<typeof ACTOR_PERMISSION_LEVEL>;
714
+
715
+/**
716
+ * Filter for listing storages (datasets, key_value_stores & request_queues) by ownership.
717
+ * If omitted, we currently return both owned and shared storages
718
+ */
719
+export const STORAGE_OWNERSHIP_FILTER = {
720
+ /** Return only storages owned by the user. */
721
+ OWNED_BY_ME: 'ownedByMe',
722
723
+ /** Return only storages shared with the user. */
724
+ SHARED_WITH_ME: 'sharedWithMe',
725
+} as const;
726
727
+export type STORAGE_OWNERSHIP_FILTER = ValueOf<typeof STORAGE_OWNERSHIP_FILTER>;
0 commit comments