mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
realm_export: Add support to create full data export via /export/realm.
Earlier, only public data export was possible via `POST /export/realm` endpoint. This commit adds support to create full data export with member consent via that endpoint. Also, this adds a 'export_type' parameter to the dictionaries in `realm_export` event type and `GET /export/realm` response. Fixes part of #31201.
This commit is contained in:
committed by
Tim Abbott
parent
2367c46455
commit
55f97cd06f
@@ -23,6 +23,7 @@ const realm_export_schema = z.object({
|
||||
deleted_timestamp: z.number().nullable(),
|
||||
failed_timestamp: z.number().nullable(),
|
||||
pending: z.boolean(),
|
||||
export_type: z.number(),
|
||||
});
|
||||
type RealmExport = z.output<typeof realm_export_schema>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user