datajunction-ui 0.0.103 → 0.0.104

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.
@@ -70,6 +70,9 @@ export const DataJunctionAPI = {
70
70
  tagType
71
71
  }
72
72
  editedBy
73
+ owners {
74
+ username
75
+ }
73
76
  current {
74
77
  displayName
75
78
  status
@@ -2736,6 +2739,19 @@ export const DataJunctionAPI = {
2736
2739
  // Git Branch Management APIs
2737
2740
  // ============================================================
2738
2741
 
2742
+ // Get all branch namespaces for a parent namespace
2743
+ getNamespaceBranches: async function (namespace) {
2744
+ const response = await fetch(`${DJ_URL}/namespaces/${namespace}/branches`, {
2745
+ credentials: 'include',
2746
+ });
2747
+ if (!response.ok) {
2748
+ if (response.status === 404) return [];
2749
+ const result = await response.json().catch(() => ({}));
2750
+ throw new Error(result.message || 'Failed to get branches');
2751
+ }
2752
+ return response.json();
2753
+ },
2754
+
2739
2755
  // Get git configuration for a namespace
2740
2756
  getNamespaceGitConfig: async function (namespace) {
2741
2757
  const response = await fetch(`${DJ_URL}/namespaces/${namespace}/git`, {