@modrinth/api-client 0.13.0 → 0.14.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.
@@ -669,27 +669,36 @@ export declare namespace Archon {
669
669
  type PostBackupQueueResponse = {
670
670
  id: string;
671
671
  };
672
+ type UserInfo = {
673
+ id: string;
674
+ username: string;
675
+ avatar_url: string | null;
676
+ };
672
677
  type DeleteManyBackupRequest = {
673
678
  backup_ids: string[];
674
679
  };
675
680
  type ActiveOperation = {
676
681
  backup_id: string;
677
682
  operation_type: BackupQueueOperationType;
678
- operation_id?: number | null;
683
+ operation_id: number | null;
679
684
  has_parent: boolean;
680
685
  scheduled_for: string;
686
+ started_at: string | null;
681
687
  synthetic_legacy: boolean;
688
+ user_info: UserInfo | null;
682
689
  };
683
690
  type BackupQueueOperation = {
684
691
  operation_type: BackupQueueOperationType;
685
- operation_id?: number | null;
692
+ operation_id: number | null;
686
693
  state: BackupQueueState;
687
694
  scheduled_for: string;
688
- completed_at?: string | null;
695
+ started_at: string | null;
696
+ completed_at: string | null;
689
697
  has_parent: boolean;
690
- error?: string | null;
698
+ error: string | null;
691
699
  should_prompt: boolean;
692
700
  synthetic_legacy: boolean;
701
+ user_info: UserInfo | null;
693
702
  };
694
703
  type BackupQueueBackup = {
695
704
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modrinth/api-client",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "An API client for Modrinth's API for use in nuxt, tauri and plain node/browser environments.",
5
5
  "license": "LGPL-3.0-only",
6
6
  "type": "module",