@powerhousedao/network-admin 1.0.0-dev.7 → 1.0.0-dev.9

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.
Files changed (40) hide show
  1. package/dist/document-models/network-profile/gen/schema/types.d.ts +6 -2
  2. package/dist/document-models/network-profile/gen/schema/types.d.ts.map +1 -1
  3. package/dist/document-models/network-profile/gen/schema/zod.d.ts.map +1 -1
  4. package/dist/document-models/network-profile/gen/schema/zod.js +6 -2
  5. package/dist/document-models/network-profile/v1/gen/document-model.d.ts.map +1 -1
  6. package/dist/document-models/network-profile/v1/gen/document-model.js +49 -49
  7. package/dist/document-models/network-profile/v1/gen/document-schema.d.ts +6 -0
  8. package/dist/document-models/network-profile/v1/gen/document-schema.d.ts.map +1 -1
  9. package/dist/document-models/network-profile/v1/gen/ph-factories.d.ts.map +1 -1
  10. package/dist/document-models/network-profile/v1/gen/ph-factories.js +2 -0
  11. package/dist/document-models/network-profile/v1/gen/schema/types.d.ts +6 -2
  12. package/dist/document-models/network-profile/v1/gen/schema/types.d.ts.map +1 -1
  13. package/dist/document-models/network-profile/v1/gen/schema/zod.d.ts.map +1 -1
  14. package/dist/document-models/network-profile/v1/gen/schema/zod.js +6 -2
  15. package/dist/document-models/network-profile/v1/gen/utils.d.ts.map +1 -1
  16. package/dist/document-models/network-profile/v1/gen/utils.js +2 -0
  17. package/dist/document-models/network-profile/v1/src/reducers/network-profile-management.d.ts.map +1 -1
  18. package/dist/document-models/network-profile/v1/src/reducers/network-profile-management.js +8 -2
  19. package/dist/editors/builders-editor/utils/graphql-client.d.ts +1 -1
  20. package/dist/editors/builders-editor/utils/graphql-client.d.ts.map +1 -1
  21. package/dist/editors/builders-editor/utils/graphql-client.js +28 -31
  22. package/dist/editors/network-profile-editor/components/ImageUrlInput.d.ts +1 -1
  23. package/dist/editors/network-profile-editor/components/ImageUrlInput.d.ts.map +1 -1
  24. package/dist/editors/network-profile-editor/components/ImageUrlInput.js +10 -18
  25. package/dist/editors/network-profile-editor/components/ToggleableImageInput.d.ts +10 -0
  26. package/dist/editors/network-profile-editor/components/ToggleableImageInput.d.ts.map +1 -0
  27. package/dist/editors/network-profile-editor/components/ToggleableImageInput.js +7 -0
  28. package/dist/editors/network-profile-editor/editor.d.ts.map +1 -1
  29. package/dist/editors/network-profile-editor/editor.js +8 -1
  30. package/dist/editors/rfp-editor/components/MarkdownEditor.d.ts.map +1 -1
  31. package/dist/editors/rfp-editor/components/MarkdownEditor.js +0 -2
  32. package/dist/processors/workstreams/index.d.ts.map +1 -1
  33. package/dist/processors/workstreams/index.js +5 -1
  34. package/dist/style.css +50 -21
  35. package/dist/subgraphs/builders-addon/resolvers.js +8 -8
  36. package/dist/subgraphs/networks/resolvers.d.ts.map +1 -1
  37. package/dist/subgraphs/networks/resolvers.js +2 -1
  38. package/dist/subgraphs/workstreams/resolvers.d.ts.map +1 -1
  39. package/dist/subgraphs/workstreams/resolvers.js +8 -6
  40. package/package.json +19 -22
@@ -149,6 +149,8 @@ export type Scalars = {
149
149
  export type NetworkCategory = "CHARITY" | "CRYPTO" | "DEFI" | "NGO" | "OSS";
150
150
  export type NetworkProfileState = {
151
151
  category: Array<NetworkCategory>;
152
+ darkThemeIcon: Scalars["String"]["output"];
153
+ darkThemeLogo: Scalars["String"]["output"];
152
154
  description: Scalars["String"]["output"];
153
155
  discord: Maybe<Scalars["String"]["output"]>;
154
156
  github: Maybe<Scalars["String"]["output"]>;
@@ -173,13 +175,15 @@ export type SetGithubInput = {
173
175
  github?: InputMaybe<Scalars["String"]["input"]>;
174
176
  };
175
177
  export type SetIconInput = {
176
- icon: Scalars["String"]["input"];
178
+ darkThemeIcon?: InputMaybe<Scalars["String"]["input"]>;
179
+ icon?: InputMaybe<Scalars["String"]["input"]>;
177
180
  };
178
181
  export type SetLogoBigInput = {
179
182
  logoBig: Scalars["String"]["input"];
180
183
  };
181
184
  export type SetLogoInput = {
182
- logo: Scalars["String"]["input"];
185
+ darkThemeLogo?: InputMaybe<Scalars["String"]["input"]>;
186
+ logo?: InputMaybe<Scalars["String"]["input"]>;
183
187
  };
184
188
  export type SetProfileNameInput = {
185
189
  name: Scalars["String"]["input"];
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/gen/schema/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;AAC5C,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;AACjD,MAAM,MAAM,KAAK,CAAC,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,IAAI;KACvD,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,CAAC;AACF,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;KAC3D,MAAM,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;CACjC,CAAC;AACF,MAAM,MAAM,SAAS,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;KACxD,MAAM,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;CAChC,CAAC;AACF,MAAM,MAAM,SAAS,CACnB,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,EACpC,CAAC,SAAS,MAAM,CAAC,IACf;KAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK;CAAE,CAAC;AACzB,MAAM,MAAM,WAAW,CAAC,CAAC,IACrB,CAAC,GACD;KACG,CAAC,IAAI,MAAM,CAAC,CAA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S,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA;AAED,wBAAgB,eAAe,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAIpE;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA"}
1
+ {"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/gen/schema/zod.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,EAEV,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,SAAS,EACT,eAAe,EAChB,MAAM,YAAY,CAAC;AAEpB,KAAK,UAAU,CAAC,CAAC,IAAI,QAAQ,CAAC;KAC3B,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAChC,CAAC,CAAC;AAEH,KAAK,iBAAiB,GAAG,EAAE,CAAC;AAE5B,eAAO,MAAM,mBAAmB,GAAI,GAAG,GAAG,KAAG,CAAC,IAAI,iBACnB,CAAC;AAEhC,eAAO,MAAM,uBAAuB,gGAEI,CAAC;AAEzC,eAAO,MAAM,qBAAqB;;;;;;EAMhC,CAAC;AAEH,wBAAgB,yBAAyB,IAAI,CAAC,CAAC,SAAS,CACtD,UAAU,CAAC,mBAAmB,CAAC,CAChC,CAiBA;AAED,wBAAgB,sBAAsB,IAAI,CAAC,CAAC,SAAS,CACnD,UAAU,CAAC,gBAAgB,CAAC,CAC7B,CAIA;AAED,wBAAgB,yBAAyB,IAAI,CAAC,CAAC,SAAS,CACtD,UAAU,CAAC,mBAAmB,CAAC,CAChC,CAIA;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA;AAED,wBAAgB,oBAAoB,IAAI,CAAC,CAAC,SAAS,CACjD,UAAU,CAAC,cAAc,CAAC,CAC3B,CAIA;AAED,wBAAgB,kBAAkB,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAK1E;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA;AAED,wBAAgB,kBAAkB,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAK1E;AAED,wBAAgB,yBAAyB,IAAI,CAAC,CAAC,SAAS,CACtD,UAAU,CAAC,mBAAmB,CAAC,CAChC,CAIA;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA;AAED,wBAAgB,eAAe,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAIpE;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA"}
@@ -14,6 +14,8 @@ export function NetworkProfileStateSchema() {
14
14
  return z.object({
15
15
  __typename: z.literal("NetworkProfileState").optional(),
16
16
  category: z.array(NetworkCategorySchema),
17
+ darkThemeIcon: z.string(),
18
+ darkThemeLogo: z.string(),
17
19
  description: z.string(),
18
20
  discord: z.string().nullish(),
19
21
  github: z.string().nullish(),
@@ -48,7 +50,8 @@ export function SetGithubInputSchema() {
48
50
  }
49
51
  export function SetIconInputSchema() {
50
52
  return z.object({
51
- icon: z.string(),
53
+ darkThemeIcon: z.string().nullish(),
54
+ icon: z.string().nullish(),
52
55
  });
53
56
  }
54
57
  export function SetLogoBigInputSchema() {
@@ -58,7 +61,8 @@ export function SetLogoBigInputSchema() {
58
61
  }
59
62
  export function SetLogoInputSchema() {
60
63
  return z.object({
61
- logo: z.string(),
64
+ darkThemeLogo: z.string().nullish(),
65
+ logo: z.string().nullish(),
62
66
  });
63
67
  }
64
68
  export function SetProfileNameInputSchema() {
@@ -1 +1 @@
1
- {"version":3,"file":"document-model.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/v1/gen/document-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,wBAqK3B,CAAC"}
1
+ {"version":3,"file":"document-model.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/v1/gen/document-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,wBAyK3B,CAAC"}
@@ -16,139 +16,139 @@ export const documentModel = {
16
16
  initialValue: "",
17
17
  },
18
18
  global: {
19
- schema: "enum NetworkCategory {\n DEFI\n OSS\n CRYPTO\n NGO\n CHARITY\n}\n\ntype NetworkProfileState {\n name: String!\n icon: String!\n logo: String!\n logoBig: String!\n website: String\n description: String!\n category: [NetworkCategory!]!\n x: String\n github: String\n discord: String\n youtube: String\n}",
19
+ schema: "type NetworkProfileState {\n name: String!\n icon: String!\n darkThemeIcon: String!\n logo: String!\n darkThemeLogo: String!\n logoBig: String!\n website: String\n description: String!\n category: [NetworkCategory!]!\n x: String\n github: String\n discord: String\n youtube: String\n}\n\nenum NetworkCategory {\n DEFI\n OSS\n CRYPTO\n NGO\n CHARITY\n}",
20
20
  examples: [],
21
- initialValue: '{\n "name": "",\n "icon": "",\n "logo": "",\n "logoBig": "",\n "website": null,\n "description": "",\n "category": [],\n "x": null,\n "github": null,\n "discord": null,\n "youtube": null\n}',
21
+ initialValue: '{\n "name": "",\n "icon": "",\n "darkThemeIcon": "",\n "logo": "",\n "darkThemeLogo": "",\n "logoBig": "",\n "website": null,\n "description": "",\n "category": [],\n "x": null,\n "github": null,\n "discord": null,\n "youtube": null\n}',
22
22
  },
23
23
  },
24
24
  modules: [
25
25
  {
26
26
  id: "network-profile-management",
27
27
  name: "network-profile-management",
28
- description: "Operations for managing network profile information including basic details and social media links",
29
28
  operations: [
30
29
  {
31
30
  id: "set-icon-op",
32
31
  name: "SET_ICON",
33
- description: "Sets the icon for the network profile",
34
- schema: "input SetIconInput {\n icon: String!\n}",
35
- template: "Sets the icon for the network profile",
36
- reducer: "state.icon = action.input.icon || '';",
32
+ scope: "global",
37
33
  errors: [],
34
+ schema: "input SetIconInput {\n icon: String\n darkThemeIcon: String\n}",
35
+ reducer: 'if (action.input.icon) state.icon = action.input.icon;\nif (action.input.darkThemeIcon !== undefined) state.darkThemeIcon = action.input.darkThemeIcon || "";',
38
36
  examples: [],
39
- scope: "global",
37
+ template: "Sets the icon for the network profile",
38
+ description: "Sets the icon for the network profile",
40
39
  },
41
40
  {
42
41
  id: "set-logo-op",
43
42
  name: "SET_LOGO",
44
- description: "Sets the logo for the network profile",
45
- schema: "input SetLogoInput {\n logo: String!\n}",
46
- template: "Sets the logo for the network profile",
47
- reducer: "state.logo = action.input.logo || '';",
43
+ scope: "global",
48
44
  errors: [],
45
+ schema: "input SetLogoInput {\n logo: String\n darkThemeLogo: String\n}",
46
+ reducer: 'if (action.input.logo) state.logo = action.input.logo;\nif (action.input.darkThemeLogo !== undefined) state.darkThemeLogo = action.input.darkThemeLogo || "";',
49
47
  examples: [],
50
- scope: "global",
48
+ template: "Sets the logo for the network profile",
49
+ description: "Sets the logo for the network profile",
51
50
  },
52
51
  {
53
52
  id: "set-logo-big-op",
54
53
  name: "SET_LOGO_BIG",
55
- description: "Sets the big logo for the network profile",
54
+ scope: "global",
55
+ errors: [],
56
56
  schema: "input SetLogoBigInput {\n logoBig: String!\n}",
57
- template: "Sets the big logo for the network profile",
58
57
  reducer: "state.logoBig = action.input.logoBig || '';",
59
- errors: [],
60
58
  examples: [],
61
- scope: "global",
59
+ template: "Sets the big logo for the network profile",
60
+ description: "Sets the big logo for the network profile",
62
61
  },
63
62
  {
64
63
  id: "set-website-op",
65
64
  name: "SET_WEBSITE",
66
- description: "Sets the website URL for the network profile",
65
+ scope: "global",
66
+ errors: [],
67
67
  schema: "input SetWebsiteInput {\n website: String\n}",
68
- template: "Sets the website URL for the network profile",
69
68
  reducer: "state.website = action.input.website || '';",
70
- errors: [],
71
69
  examples: [],
72
- scope: "global",
70
+ template: "Sets the website URL for the network profile",
71
+ description: "Sets the website URL for the network profile",
73
72
  },
74
73
  {
75
74
  id: "set-description-op",
76
75
  name: "SET_DESCRIPTION",
77
- description: "Sets the description for the network profile",
76
+ scope: "global",
77
+ errors: [],
78
78
  schema: "input SetDescriptionInput {\n description: String!\n}",
79
- template: "Sets the description for the network profile",
80
79
  reducer: "state.description = action.input.description || '';",
81
- errors: [],
82
80
  examples: [],
83
- scope: "global",
81
+ template: "Sets the description for the network profile",
82
+ description: "Sets the description for the network profile",
84
83
  },
85
84
  {
86
85
  id: "set-category-op",
87
86
  name: "SET_CATEGORY",
88
- description: "Sets the category for the network profile",
87
+ scope: "global",
88
+ errors: [],
89
89
  schema: "input SetCategoryInput {\n category: [NetworkCategory!]!\n}",
90
- template: "Sets the category for the network profile",
91
90
  reducer: "state.category = action.input.category || null;",
92
- errors: [],
93
91
  examples: [],
94
- scope: "global",
92
+ template: "Sets the category for the network profile",
93
+ description: "Sets the category for the network profile",
95
94
  },
96
95
  {
97
96
  id: "set-x-op",
98
97
  name: "SET_X",
99
- description: "Sets the X (Twitter) handle for the network profile",
98
+ scope: "global",
99
+ errors: [],
100
100
  schema: "input SetXInput {\n x: String\n}",
101
- template: "Sets the X (Twitter) handle for the network profile",
102
101
  reducer: "state.x = action.input.x || null;",
103
- errors: [],
104
102
  examples: [],
105
- scope: "global",
103
+ template: "Sets the X (Twitter) handle for the network profile",
104
+ description: "Sets the X (Twitter) handle for the network profile",
106
105
  },
107
106
  {
108
107
  id: "set-github-op",
109
108
  name: "SET_GITHUB",
110
- description: "Sets the GitHub username for the network profile",
109
+ scope: "global",
110
+ errors: [],
111
111
  schema: "input SetGithubInput {\n github: String\n}",
112
- template: "Sets the GitHub username for the network profile",
113
112
  reducer: "state.github = action.input.github || null;",
114
- errors: [],
115
113
  examples: [],
116
- scope: "global",
114
+ template: "Sets the GitHub username for the network profile",
115
+ description: "Sets the GitHub username for the network profile",
117
116
  },
118
117
  {
119
118
  id: "set-discord-op",
120
119
  name: "SET_DISCORD",
121
- description: "Sets the Discord invite or username for the network profile",
120
+ scope: "global",
121
+ errors: [],
122
122
  schema: "input SetDiscordInput {\n discord: String\n}",
123
- template: "Sets the Discord invite or username for the network profile",
124
123
  reducer: "state.discord = action.input.discord || null;",
125
- errors: [],
126
124
  examples: [],
127
- scope: "global",
125
+ template: "Sets the Discord invite or username for the network profile",
126
+ description: "Sets the Discord invite or username for the network profile",
128
127
  },
129
128
  {
130
129
  id: "set-youtube-op",
131
130
  name: "SET_YOUTUBE",
132
- description: "Sets the YouTube channel for the network profile",
131
+ scope: "global",
132
+ errors: [],
133
133
  schema: "input SetYoutubeInput {\n youtube: String\n}",
134
- template: "Sets the YouTube channel for the network profile",
135
134
  reducer: "state.youtube = action.input.youtube || null;",
136
- errors: [],
137
135
  examples: [],
138
- scope: "global",
136
+ template: "Sets the YouTube channel for the network profile",
137
+ description: "Sets the YouTube channel for the network profile",
139
138
  },
140
139
  {
141
140
  id: "set-profile-name-op",
142
141
  name: "SET_PROFILE_NAME",
143
- description: "Sets the name of the network profile",
142
+ scope: "global",
143
+ errors: [],
144
144
  schema: "input SetProfileNameInput {\n name: String!\n}",
145
- template: "Sets the name of the network profile",
146
145
  reducer: "state.name = action.input.name || '';",
147
- errors: [],
148
146
  examples: [],
149
- scope: "global",
147
+ template: "Sets the name of the network profile",
148
+ description: "Sets the name of the network profile",
150
149
  },
151
150
  ],
151
+ description: "Operations for managing network profile information including basic details and social media links",
152
152
  },
153
153
  ],
154
154
  version: 1,
@@ -12,6 +12,8 @@ export declare const NetworkProfileDocumentHeaderSchema: z.ZodObject<{
12
12
  export declare const NetworkProfilePHStateSchema: z.ZodObject<{
13
13
  global: z.ZodObject<Required<{
14
14
  category: z.ZodType<import("./types.js").NetworkCategory[], unknown, z.core.$ZodTypeInternals<import("./types.js").NetworkCategory[], unknown>>;
15
+ darkThemeIcon: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
16
+ darkThemeLogo: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
15
17
  description: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
16
18
  discord: z.ZodType<import("./types.js").Maybe<string>, unknown, z.core.$ZodTypeInternals<import("./types.js").Maybe<string>, unknown>>;
17
19
  github: z.ZodType<import("./types.js").Maybe<string>, unknown, z.core.$ZodTypeInternals<import("./types.js").Maybe<string>, unknown>>;
@@ -35,6 +37,8 @@ export declare const NetworkProfileDocumentSchema: z.ZodObject<{
35
37
  state: z.ZodObject<{
36
38
  global: z.ZodObject<Required<{
37
39
  category: z.ZodType<import("./types.js").NetworkCategory[], unknown, z.core.$ZodTypeInternals<import("./types.js").NetworkCategory[], unknown>>;
40
+ darkThemeIcon: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
41
+ darkThemeLogo: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
38
42
  description: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
39
43
  discord: z.ZodType<import("./types.js").Maybe<string>, unknown, z.core.$ZodTypeInternals<import("./types.js").Maybe<string>, unknown>>;
40
44
  github: z.ZodType<import("./types.js").Maybe<string>, unknown, z.core.$ZodTypeInternals<import("./types.js").Maybe<string>, unknown>>;
@@ -50,6 +54,8 @@ export declare const NetworkProfileDocumentSchema: z.ZodObject<{
50
54
  initialState: z.ZodObject<{
51
55
  global: z.ZodObject<Required<{
52
56
  category: z.ZodType<import("./types.js").NetworkCategory[], unknown, z.core.$ZodTypeInternals<import("./types.js").NetworkCategory[], unknown>>;
57
+ darkThemeIcon: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
58
+ darkThemeLogo: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
53
59
  description: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
54
60
  discord: z.ZodType<import("./types.js").Maybe<string>, unknown, z.core.$ZodTypeInternals<import("./types.js").Maybe<string>, unknown>>;
55
61
  github: z.ZodType<import("./types.js").Maybe<string>, unknown, z.core.$ZodTypeInternals<import("./types.js").Maybe<string>, unknown>>;
@@ -1 +1 @@
1
- {"version":3,"file":"document-schema.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/v1/gen/document-schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEhF,2EAA2E;AAC3E,eAAO,MAAM,kCAAkC;;;;;;iBAG3C,CAAC;AAEL,0EAA0E;AAC1E,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;iBAEtC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIvC,CAAC;AAEH,kGAAkG;AAClG,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,qBAAqB,CAEhC;AAED,8GAA8G;AAC9G,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,OAAO,GACb,OAAO,CAAC,KAAK,IAAI,qBAAqB,CAExC;AAED,iFAAiF;AACjF,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,OAAO,GAChB,QAAQ,IAAI,sBAAsB,CAEpC;AAED,oFAAoF;AACpF,wBAAgB,8BAA8B,CAC5C,QAAQ,EAAE,OAAO,GAChB,OAAO,CAAC,QAAQ,IAAI,sBAAsB,CAE5C"}
1
+ {"version":3,"file":"document-schema.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/v1/gen/document-schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEhF,2EAA2E;AAC3E,eAAO,MAAM,kCAAkC;;;;;;iBAG3C,CAAC;AAEL,0EAA0E;AAC1E,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;iBAEtC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIvC,CAAC;AAEH,kGAAkG;AAClG,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,qBAAqB,CAEhC;AAED,8GAA8G;AAC9G,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,OAAO,GACb,OAAO,CAAC,KAAK,IAAI,qBAAqB,CAExC;AAED,iFAAiF;AACjF,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,OAAO,GAChB,QAAQ,IAAI,sBAAsB,CAEpC;AAED,oFAAoF;AACpF,wBAAgB,8BAA8B,CAC5C,QAAQ,EAAE,OAAO,GAChB,OAAO,CAAC,QAAQ,IAAI,sBAAsB,CAE5C"}
@@ -1 +1 @@
1
- {"version":3,"file":"ph-factories.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/v1/gen/ph-factories.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEhF,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,YAAY,CAAC;AAGpB,wBAAgB,kBAAkB,IAAI,yBAAyB,CAc9D;AAED,wBAAgB,iBAAiB,IAAI,wBAAwB,CAE5D;AAED,wBAAgB,cAAc,IAAI,qBAAqB,CAMtD;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,GACzC,yBAAyB,CAK3B;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,GACxC,wBAAwB,CAK1B;AAED,wBAAgB,WAAW,CACzB,SAAS,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,EAChC,WAAW,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,EAChD,UAAU,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,GAC7C,qBAAqB,CAMvB;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAC1C,KAAK,CAAC,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAC;IAC5C,KAAK,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,CAAC;CAC3C,CAAC,GACD,sBAAsB,CAYxB"}
1
+ {"version":3,"file":"ph-factories.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/v1/gen/ph-factories.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEhF,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,YAAY,CAAC;AAGpB,wBAAgB,kBAAkB,IAAI,yBAAyB,CAgB9D;AAED,wBAAgB,iBAAiB,IAAI,wBAAwB,CAE5D;AAED,wBAAgB,cAAc,IAAI,qBAAqB,CAMtD;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,GACzC,yBAAyB,CAK3B;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,GACxC,wBAAwB,CAK1B;AAED,wBAAgB,WAAW,CACzB,SAAS,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,EAChC,WAAW,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,EAChD,UAAU,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,GAC7C,qBAAqB,CAMvB;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAC1C,KAAK,CAAC,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAC;IAC5C,KAAK,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,CAAC;CAC3C,CAAC,GACD,sBAAsB,CAYxB"}
@@ -4,7 +4,9 @@ export function defaultGlobalState() {
4
4
  return {
5
5
  name: "",
6
6
  icon: "",
7
+ darkThemeIcon: "",
7
8
  logo: "",
9
+ darkThemeLogo: "",
8
10
  logoBig: "",
9
11
  website: null,
10
12
  description: "",
@@ -149,6 +149,8 @@ export type Scalars = {
149
149
  export type NetworkCategory = "CHARITY" | "CRYPTO" | "DEFI" | "NGO" | "OSS";
150
150
  export type NetworkProfileState = {
151
151
  category: Array<NetworkCategory>;
152
+ darkThemeIcon: Scalars["String"]["output"];
153
+ darkThemeLogo: Scalars["String"]["output"];
152
154
  description: Scalars["String"]["output"];
153
155
  discord: Maybe<Scalars["String"]["output"]>;
154
156
  github: Maybe<Scalars["String"]["output"]>;
@@ -173,13 +175,15 @@ export type SetGithubInput = {
173
175
  github?: InputMaybe<Scalars["String"]["input"]>;
174
176
  };
175
177
  export type SetIconInput = {
176
- icon: Scalars["String"]["input"];
178
+ darkThemeIcon?: InputMaybe<Scalars["String"]["input"]>;
179
+ icon?: InputMaybe<Scalars["String"]["input"]>;
177
180
  };
178
181
  export type SetLogoBigInput = {
179
182
  logoBig: Scalars["String"]["input"];
180
183
  };
181
184
  export type SetLogoInput = {
182
- logo: Scalars["String"]["input"];
185
+ darkThemeLogo?: InputMaybe<Scalars["String"]["input"]>;
186
+ logo?: InputMaybe<Scalars["String"]["input"]>;
183
187
  };
184
188
  export type SetProfileNameInput = {
185
189
  name: Scalars["String"]["input"];
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../document-models/network-profile/v1/gen/schema/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;AAC5C,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;AACjD,MAAM,MAAM,KAAK,CAAC,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,IAAI;KACvD,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,CAAC;AACF,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;KAC3D,MAAM,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;CACjC,CAAC;AACF,MAAM,MAAM,SAAS,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;KACxD,MAAM,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;CAChC,CAAC;AACF,MAAM,MAAM,SAAS,CACnB,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO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B,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAI1E;AAED,wBAAgB,yBAAyB,IAAI,CAAC,CAAC,SAAS,CACtD,UAAU,CAAC,mBAAmB,CAAC,CAChC,CAIA;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA;AAED,wBAAgB,eAAe,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAIpE;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA"}
1
+ {"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../../../../document-models/network-profile/v1/gen/schema/zod.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,EAEV,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,SAAS,EACT,eAAe,EAChB,MAAM,YAAY,CAAC;AAEpB,KAAK,UAAU,CAAC,CAAC,IAAI,QAAQ,CAAC;KAC3B,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAChC,CAAC,CAAC;AAEH,KAAK,iBAAiB,GAAG,EAAE,CAAC;AAE5B,eAAO,MAAM,mBAAmB,GAAI,GAAG,GAAG,KAAG,CAAC,IAAI,iBACnB,CAAC;AAEhC,eAAO,MAAM,uBAAuB,gGAEI,CAAC;AAEzC,eAAO,MAAM,qBAAqB;;;;;;EAMhC,CAAC;AAEH,wBAAgB,yBAAyB,IAAI,CAAC,CAAC,SAAS,CACtD,UAAU,CAAC,mBAAmB,CAAC,CAChC,CAiBA;AAED,wBAAgB,sBAAsB,IAAI,CAAC,CAAC,SAAS,CACnD,UAAU,CAAC,gBAAgB,CAAC,CAC7B,CAIA;AAED,wBAAgB,yBAAyB,IAAI,CAAC,CAAC,SAAS,CACtD,UAAU,CAAC,mBAAmB,CAAC,CAChC,CAIA;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA;AAED,wBAAgB,oBAAoB,IAAI,CAAC,CAAC,SAAS,CACjD,UAAU,CAAC,cAAc,CAAC,CAC3B,CAIA;AAED,wBAAgB,kBAAkB,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAK1E;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA;AAED,wBAAgB,kBAAkB,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAK1E;AAED,wBAAgB,yBAAyB,IAAI,CAAC,CAAC,SAAS,CACtD,UAAU,CAAC,mBAAmB,CAAC,CAChC,CAIA;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA;AAED,wBAAgB,eAAe,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAIpE;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA"}
@@ -14,6 +14,8 @@ export function NetworkProfileStateSchema() {
14
14
  return z.object({
15
15
  __typename: z.literal("NetworkProfileState").optional(),
16
16
  category: z.array(NetworkCategorySchema),
17
+ darkThemeIcon: z.string(),
18
+ darkThemeLogo: z.string(),
17
19
  description: z.string(),
18
20
  discord: z.string().nullish(),
19
21
  github: z.string().nullish(),
@@ -48,7 +50,8 @@ export function SetGithubInputSchema() {
48
50
  }
49
51
  export function SetIconInputSchema() {
50
52
  return z.object({
51
- icon: z.string(),
53
+ darkThemeIcon: z.string().nullish(),
54
+ icon: z.string().nullish(),
52
55
  });
53
56
  }
54
57
  export function SetLogoBigInputSchema() {
@@ -58,7 +61,8 @@ export function SetLogoBigInputSchema() {
58
61
  }
59
62
  export function SetLogoInputSchema() {
60
63
  return z.object({
61
- logo: z.string(),
64
+ darkThemeLogo: z.string().nullish(),
65
+ logo: z.string().nullish(),
62
66
  });
63
67
  }
64
68
  export function SetProfileNameInputSchema() {
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/v1/gen/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAQzD,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACzB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAUxD,eAAO,MAAM,kBAAkB,EAAE,yBAYhC,CAAC;AACF,eAAO,MAAM,iBAAiB,EAAE,wBAA6B,CAAC;AAE9D,eAAO,MAAM,KAAK,EAAE,kBAAkB,CAAC,qBAAqB,CAqC3D,CAAC;AAEF,eAAO,MAAM,cAAc,gEAAuB,CAAC;AACnD,eAAO,MAAM,WAAW,6DAAoB,CAAC;AAC7C,eAAO,MAAM,gBAAgB,2CAAyB,CAAC;AACvD,eAAO,MAAM,aAAa,+DAAsB,CAAC;AACjD,eAAO,MAAM,aAAa,+DAAsB,CAAC;AACjD,eAAO,MAAM,mBAAmB,qEAA4B,CAAC;AAC7D,eAAO,MAAM,gBAAgB,kEAAyB,CAAC;AACvD,eAAO,MAAM,sBAAsB,wEAA+B,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/v1/gen/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAQzD,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACzB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAUxD,eAAO,MAAM,kBAAkB,EAAE,yBAchC,CAAC;AACF,eAAO,MAAM,iBAAiB,EAAE,wBAA6B,CAAC;AAE9D,eAAO,MAAM,KAAK,EAAE,kBAAkB,CAAC,qBAAqB,CAqC3D,CAAC;AAEF,eAAO,MAAM,cAAc,gEAAuB,CAAC;AACnD,eAAO,MAAM,WAAW,6DAAoB,CAAC;AAC7C,eAAO,MAAM,gBAAgB,2CAAyB,CAAC;AACvD,eAAO,MAAM,aAAa,+DAAsB,CAAC;AACjD,eAAO,MAAM,aAAa,+DAAsB,CAAC;AACjD,eAAO,MAAM,mBAAmB,qEAA4B,CAAC;AAC7D,eAAO,MAAM,gBAAgB,kEAAyB,CAAC;AACvD,eAAO,MAAM,sBAAsB,wEAA+B,CAAC"}
@@ -5,7 +5,9 @@ import { isNetworkProfileDocument, assertIsNetworkProfileDocument, isNetworkProf
5
5
  export const initialGlobalState = {
6
6
  name: "",
7
7
  icon: "",
8
+ darkThemeIcon: "",
8
9
  logo: "",
10
+ darkThemeLogo: "",
9
11
  logoBig: "",
10
12
  website: null,
11
13
  description: "",
@@ -1 +1 @@
1
- {"version":3,"file":"network-profile-management.d.ts","sourceRoot":"","sources":["../../../../../../document-models/network-profile/v1/src/reducers/network-profile-management.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gDAAgD,EAAE,MAAM,iEAAiE,CAAC;AAExI,eAAO,MAAM,gDAAgD,EAAE,gDAmC5D,CAAC"}
1
+ {"version":3,"file":"network-profile-management.d.ts","sourceRoot":"","sources":["../../../../../../document-models/network-profile/v1/src/reducers/network-profile-management.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gDAAgD,EAAE,MAAM,iEAAiE,CAAC;AAExI,eAAO,MAAM,gDAAgD,EAAE,gDAuC5D,CAAC"}
@@ -1,9 +1,15 @@
1
1
  export const networkProfileNetworkProfileManagementOperations = {
2
2
  setIconOperation(state, action) {
3
- state.icon = action.input.icon || "";
3
+ if (action.input.icon)
4
+ state.icon = action.input.icon;
5
+ if (action.input.darkThemeIcon !== undefined)
6
+ state.darkThemeIcon = action.input.darkThemeIcon || "";
4
7
  },
5
8
  setLogoOperation(state, action) {
6
- state.logo = action.input.logo || "";
9
+ if (action.input.logo)
10
+ state.logo = action.input.logo;
11
+ if (action.input.darkThemeLogo !== undefined)
12
+ state.darkThemeLogo = action.input.darkThemeLogo || "";
7
13
  },
8
14
  setLogoBigOperation(state, action) {
9
15
  state.logoBig = action.input.logoBig || "";
@@ -16,7 +16,7 @@ export interface RemoteBuilderProfile {
16
16
  */
17
17
  export declare function fetchBuilderProfileById(docId: string): Promise<RemoteBuilderProfile | null>;
18
18
  /**
19
- * Fetches all builder profiles using BuilderProfile_findDocuments.
19
+ * Fetches all builder profiles using findDocuments.
20
20
  */
21
21
  export declare function fetchAllRemoteBuilderProfiles(): Promise<RemoteBuilderProfile[]>;
22
22
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"graphql-client.d.ts","sourceRoot":"","sources":["../../../../editors/builders-editor/utils/graphql-client.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAwHH,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;KAC5B,CAAC;CACH;AAyCD;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC,CAOtC;AAED;;GAEG;AACH,wBAAsB,6BAA6B,IAAI,OAAO,CAC5D,oBAAoB,EAAE,CACvB,CAUA;AAED;;GAEG;AACH,wBAAsB,+BAA+B,CACnD,KAAK,EAAE,MAAM,EAAE,GACd,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CA+B5C;AASD,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAMD;;;;;;GAMG;AACH,wBAAsB,8BAA8B,CAClD,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,mBAAmB,GACzB,OAAO,CAAC,OAAO,CAAC,CAWlB"}
1
+ {"version":3,"file":"graphql-client.d.ts","sourceRoot":"","sources":["../../../../editors/builders-editor/utils/graphql-client.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAwGH,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;KAC5B,CAAC;CACH;AA2CD;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC,CAOtC;AAED;;GAEG;AACH,wBAAsB,6BAA6B,IAAI,OAAO,CAC5D,oBAAoB,EAAE,CACvB,CAUA;AAED;;GAEG;AACH,wBAAsB,+BAA+B,CACnD,KAAK,EAAE,MAAM,EAAE,GACd,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CA+B5C;AAYD,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAMD;;;;;;GAMG;AACH,wBAAsB,8BAA8B,CAClD,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,mBAAmB,GACzB,OAAO,CAAC,OAAO,CAAC,CAclB"}
@@ -57,19 +57,11 @@ async function graphqlRequest(query, variables, options) {
57
57
  // Query to find all builder profile documents
58
58
  const FIND_BUILDER_PROFILES_QUERY = `
59
59
  query FindBuilderProfiles {
60
- BuilderProfile_findDocuments(search: {}) {
60
+ findDocuments(search: { type: "powerhouse/builder-profile" }) {
61
61
  items {
62
62
  id
63
63
  name
64
- state {
65
- global {
66
- id
67
- name
68
- slug
69
- icon
70
- description
71
- }
72
- }
64
+ state
73
65
  }
74
66
  totalCount
75
67
  }
@@ -78,31 +70,30 @@ const FIND_BUILDER_PROFILES_QUERY = `
78
70
  // Query to get a single builder profile by identifier
79
71
  const GET_BUILDER_PROFILE_QUERY = `
80
72
  query GetBuilderProfile($identifier: String!) {
81
- BuilderProfile_document(identifier: $identifier) {
73
+ document(identifier: $identifier) {
82
74
  document {
83
75
  id
84
76
  name
85
- state {
86
- global {
87
- id
88
- name
89
- slug
90
- icon
91
- description
92
- }
93
- }
77
+ state
94
78
  }
95
79
  }
96
80
  }
97
81
  `;
82
+ function getGlobalState(state) {
83
+ if (state && typeof state === "object" && "global" in state) {
84
+ return state.global;
85
+ }
86
+ return state;
87
+ }
98
88
  function toRemoteProfile(item) {
89
+ const global = getGlobalState(item.state);
99
90
  return {
100
91
  id: item.id,
101
92
  state: {
102
- name: item.state.global.name,
103
- slug: item.state.global.slug,
104
- icon: item.state.global.icon,
105
- description: item.state.global.description,
93
+ name: global.name ?? null,
94
+ slug: global.slug ?? null,
95
+ icon: global.icon ?? null,
96
+ description: global.description ?? null,
106
97
  },
107
98
  };
108
99
  }
@@ -111,16 +102,16 @@ function toRemoteProfile(item) {
111
102
  */
112
103
  export async function fetchBuilderProfileById(docId) {
113
104
  const data = await graphqlRequest(GET_BUILDER_PROFILE_QUERY, { identifier: docId });
114
- const item = data?.BuilderProfile_document?.document;
105
+ const item = data?.document?.document;
115
106
  return item ? toRemoteProfile(item) : null;
116
107
  }
117
108
  /**
118
- * Fetches all builder profiles using BuilderProfile_findDocuments.
109
+ * Fetches all builder profiles using findDocuments.
119
110
  */
120
111
  export async function fetchAllRemoteBuilderProfiles() {
121
112
  try {
122
113
  const data = await graphqlRequest(FIND_BUILDER_PROFILES_QUERY);
123
- const items = data?.BuilderProfile_findDocuments?.items ?? [];
114
+ const items = data?.findDocuments?.items ?? [];
124
115
  return items.map(toRemoteProfile);
125
116
  }
126
117
  catch {
@@ -161,8 +152,11 @@ export async function fetchRemoteBuilderProfilesByIds(phids) {
161
152
  }
162
153
  // Mutation to set operational hub member on a builder profile
163
154
  const SET_OP_HUB_MEMBER_MUTATION = `
164
- mutation BuilderProfile_setOpHubMember($docId: PHID!, $input: BuilderProfile_SetOpHubMemberInput!) {
165
- BuilderProfile_setOpHubMember(docId: $docId, input: $input)
155
+ mutation SetOpHubMember($documentIdentifier: String!, $actions: [JSONObject!]!) {
156
+ mutateDocument(documentIdentifier: $documentIdentifier, actions: $actions) {
157
+ id
158
+ name
159
+ }
166
160
  }
167
161
  `;
168
162
  /**
@@ -174,8 +168,11 @@ const SET_OP_HUB_MEMBER_MUTATION = `
174
168
  */
175
169
  export async function setOpHubMemberOnBuilderProfile(docId, input) {
176
170
  try {
177
- const data = await graphqlRequest(SET_OP_HUB_MEMBER_MUTATION, { docId, input });
178
- return data?.BuilderProfile_setOpHubMember ?? false;
171
+ const data = await graphqlRequest(SET_OP_HUB_MEMBER_MUTATION, {
172
+ documentIdentifier: docId,
173
+ actions: [{ type: "SET_OP_HUB_MEMBER", input, scope: "global" }],
174
+ });
175
+ return data?.mutateDocument != null;
179
176
  }
180
177
  catch (error) {
181
178
  console.warn("[graphql-client] Failed to set op hub member:", error);
@@ -1,4 +1,4 @@
1
- export declare function ImageUrlInput({ label, value, onChange, placeholder, fileSize, }: {
1
+ export declare function ImageUrlInput({ label, value, onChange, placeholder, }: {
2
2
  label: string;
3
3
  value: string;
4
4
  onChange: (value: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"ImageUrlInput.d.ts","sourceRoot":"","sources":["../../../../editors/network-profile-editor/components/ImageUrlInput.tsx"],"names":[],"mappings":"AAgFA,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,KAAK,EACL,QAAQ,EACR,WAAW,EACX,QAAkB,GACnB,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,2CAwGA"}
1
+ {"version":3,"file":"ImageUrlInput.d.ts","sourceRoot":"","sources":["../../../../editors/network-profile-editor/components/ImageUrlInput.tsx"],"names":[],"mappings":"AAmFA,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,KAAK,EACL,QAAQ,EACR,WAAW,GACZ,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,2CAiFA"}
@@ -15,7 +15,6 @@ function ImageModal({ isOpen, onClose, imageUrl, imageAlt, }) {
15
15
  setImageDimensions({ width: img.naturalWidth, height: img.naturalHeight });
16
16
  setImageLoaded(true);
17
17
  };
18
- // Calculate modal size based on image dimensions with padding
19
18
  const getModalSize = () => {
20
19
  if (!imageLoaded)
21
20
  return { width: "auto", height: "auto" };
@@ -28,32 +27,25 @@ function ImageModal({ isOpen, onClose, imageUrl, imageAlt, }) {
28
27
  };
29
28
  return (_jsx("div", { className: "fixed inset-0 z-50 flex items-center justify-center backdrop-blur-sm", onClick: onClose, children: _jsxs("div", { className: "relative rounded-lg border-2 border-gray-700 bg-gray-900 shadow-2xl", style: getModalSize(), children: [_jsx("button", { onClick: onClose, className: "absolute -right-3 -top-3 z-10 flex h-8 w-8 items-center justify-center rounded-full bg-gray-800 text-white shadow-lg transition-all duration-200 hover:bg-gray-900", children: _jsx(Icon, { name: "ArrowLeft", size: 16 }) }), _jsx("div", { className: "flex h-full w-full items-center justify-center p-8", children: _jsx("img", { src: imageUrl, alt: imageAlt, className: `max-h-full max-w-full rounded-lg object-contain ${imageLoaded ? "opacity-100" : "opacity-0"} transition-opacity duration-200`, onClick: (e) => e.stopPropagation(), onLoad: handleImageLoad }) })] }) }));
30
29
  }
31
- // Image URL input component with preview
32
- export function ImageUrlInput({ label, value, onChange, placeholder, fileSize = "200KB", }) {
30
+ function isUrl(value) {
31
+ return value.startsWith("http://") || value.startsWith("https://");
32
+ }
33
+ // Image URL input component with preview — shows only the loaded image, not the URL text
34
+ export function ImageUrlInput({ label, value, onChange, placeholder, }) {
33
35
  const [imageError, setImageError] = useState(false);
34
36
  const [isModalOpen, setIsModalOpen] = useState(false);
35
- // Reset image error when value changes
36
37
  useEffect(() => {
37
38
  setImageError(false);
38
39
  }, [value]);
40
+ const hasValidImage = value && !imageError && isUrl(value);
39
41
  const handleImageClick = () => {
40
- if (value &&
41
- !imageError &&
42
- (value.startsWith("http://") || value.startsWith("https://"))) {
42
+ if (hasValidImage) {
43
43
  setIsModalOpen(true);
44
44
  }
45
45
  };
46
- return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "block text-sm font-medium text-gray-700", children: label }), _jsxs("div", { className: "rounded-lg border border-gray-300 p-4", children: [_jsxs("div", { className: "flex items-center justify-between overflow-hidden", children: [_jsxs("div", { className: "flex min-w-0 items-center space-x-3", children: [_jsx("div", { className: `flex h-12 w-12 flex-shrink-0 items-center justify-center overflow-hidden rounded border bg-gray-100 ${value &&
47
- !imageError &&
48
- (value.startsWith("http://") || value.startsWith("https://"))
49
- ? "cursor-pointer transition-opacity duration-200 hover:opacity-80"
50
- : ""}`, onClick: handleImageClick, children: value &&
51
- !imageError &&
52
- (value.startsWith("http://") ||
53
- value.startsWith("https://")) ? (_jsx("img", { src: value, alt: `${label} preview`, className: "h-full w-full object-cover", onError: () => setImageError(true), onLoad: () => setImageError(false) })) : (_jsx(Icon, { name: "Image", size: 24, className: "text-gray-400" })) }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("div", { className: "truncate text-sm font-medium text-gray-900", children: value || placeholder || `${label.replace(":", "")}.jpg` }), _jsxs("div", { className: "text-xs text-gray-500", children: ["File Type: jpg | File Size: ", value ? fileSize : "0KB", imageError && value && (_jsx("div", { className: "mt-1 text-red-500", children: "Failed to load image" })), value &&
54
- !imageError &&
55
- (value.startsWith("http://") ||
56
- value.startsWith("https://")) && (_jsx("div", { className: "mt-1 text-blue-600", children: "Click image to view full size" }))] })] })] }), _jsx("div", { className: "flex-shrink-0", children: _jsx("div", { className: "flex h-6 w-6 items-center justify-center rounded-full bg-gray-200", children: _jsx(Icon, { name: "Image", size: 16, className: "text-gray-600" }) }) })] }), _jsx("div", { className: "mt-3", children: _jsx(TextInput, { className: "w-full", defaultValue: value || "", onBlur: (e) => {
46
+ return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "space-y-2", children: [label && (_jsx("label", { className: "block text-sm font-medium text-gray-700", children: label })), _jsxs("div", { className: "rounded-lg border border-gray-300 p-4", children: [_jsxs("div", { className: "flex items-center space-x-3", children: [_jsx("div", { className: `flex h-12 w-12 flex-shrink-0 items-center justify-center overflow-hidden rounded border bg-gray-100 ${hasValidImage
47
+ ? "cursor-pointer transition-opacity duration-200 hover:opacity-80"
48
+ : ""}`, onClick: handleImageClick, children: hasValidImage ? (_jsx("img", { src: value, alt: `${label} preview`, className: "h-full w-full object-cover", onError: () => setImageError(true), onLoad: () => setImageError(false) }, value)) : (_jsx(Icon, { name: "Image", size: 24, className: "text-gray-400" })) }), _jsxs("div", { className: "min-w-0 flex-1 text-xs text-gray-500", children: [imageError && value && (_jsx("span", { className: "text-red-500", children: "Failed to load image" })), hasValidImage && (_jsx("span", { className: "text-blue-600", children: "Click image to view full size" }))] })] }), _jsx("div", { className: "mt-3", children: _jsx(TextInput, { className: "w-full", defaultValue: value || "", onBlur: (e) => {
57
49
  if (e.target.value !== value) {
58
50
  onChange(e.target.value);
59
51
  }
@@ -0,0 +1,10 @@
1
+ export declare function ToggleableImageInput({ label, lightValue, darkValue, onLightChange, onDarkChange, lightPlaceholder, darkPlaceholder, }: {
2
+ label: string;
3
+ lightValue: string;
4
+ darkValue: string;
5
+ onLightChange: (value: string) => void;
6
+ onDarkChange: (value: string) => void;
7
+ lightPlaceholder?: string;
8
+ darkPlaceholder?: string;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=ToggleableImageInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToggleableImageInput.d.ts","sourceRoot":"","sources":["../../../../editors/network-profile-editor/components/ToggleableImageInput.tsx"],"names":[],"mappings":"AAGA,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,UAAU,EACV,SAAS,EACT,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,eAAe,GAChB,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,2CAgDA"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from "react";
3
+ import { ImageUrlInput } from "./ImageUrlInput.js";
4
+ export function ToggleableImageInput({ label, lightValue, darkValue, onLightChange, onDarkChange, lightPlaceholder, darkPlaceholder, }) {
5
+ const [isDarkMode, setIsDarkMode] = useState(false);
6
+ return (_jsxs("div", { className: "space-y-2", children: [_jsxs("div", { className: "mb-2 flex items-center justify-between", children: [_jsx("label", { className: "block text-sm font-medium text-gray-700", children: label }), _jsxs("div", { className: "flex items-center space-x-2", children: [_jsx("span", { className: `text-xs font-medium ${!isDarkMode ? "text-gray-900" : "text-gray-500"}`, children: "Light" }), _jsx("button", { type: "button", onClick: () => setIsDarkMode(!isDarkMode), className: `relative inline-flex h-6 w-11 items-center rounded-full transition-colors focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 ${isDarkMode ? "bg-gray-700" : "bg-gray-300"}`, children: _jsx("span", { className: `inline-block h-4 w-4 transform rounded-full bg-white transition-transform ${isDarkMode ? "translate-x-6" : "translate-x-1"}` }) }), _jsx("span", { className: `text-xs font-medium ${isDarkMode ? "text-gray-900" : "text-gray-500"}`, children: "Dark" })] })] }), _jsx(ImageUrlInput, { label: "", value: isDarkMode ? darkValue : lightValue, onChange: isDarkMode ? onDarkChange : onLightChange, placeholder: isDarkMode ? darkPlaceholder : lightPlaceholder }, isDarkMode ? "dark" : "light")] }));
7
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../editors/network-profile-editor/editor.tsx"],"names":[],"mappings":"AA0BA,MAAM,CAAC,OAAO,UAAU,MAAM,4CAoO7B"}
1
+ {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../editors/network-profile-editor/editor.tsx"],"names":[],"mappings":"AA2BA,MAAM,CAAC,OAAO,UAAU,MAAM,4CAkP7B"}
@@ -4,6 +4,7 @@ import { useSelectedNetworkProfileDocument, actions, } from "@powerhousedao/netw
4
4
  import { DocumentToolbar, ToastContainer, } from "@powerhousedao/design-system/connect";
5
5
  import { useCallback } from "react";
6
6
  import { ImageUrlInput } from "./components/ImageUrlInput.js";
7
+ import { ToggleableImageInput } from "./components/ToggleableImageInput.js";
7
8
  // Category options for the dropdown
8
9
  const categoryOptions = [
9
10
  { value: "DEFI", label: "DeFi" },
@@ -25,9 +26,15 @@ export default function Editor() {
25
26
  case "icon":
26
27
  action = actions.setIcon({ icon: value });
27
28
  break;
29
+ case "darkThemeIcon":
30
+ action = actions.setIcon({ darkThemeIcon: value });
31
+ break;
28
32
  case "logo":
29
33
  action = actions.setLogo({ logo: value });
30
34
  break;
35
+ case "darkThemeLogo":
36
+ action = actions.setLogo({ darkThemeLogo: value });
37
+ break;
31
38
  case "logoBig":
32
39
  action = actions.setLogoBig({ logoBig: value });
33
40
  break;
@@ -64,7 +71,7 @@ export default function Editor() {
64
71
  if (e.target.value !== state.name) {
65
72
  handleFieldChange("name", e.target.value);
66
73
  }
67
- }, placeholder: "Enter network name" })] }), _jsx(ImageUrlInput, { label: "Icon:", value: state.icon || "", onChange: (value) => handleFieldChange("icon", value), placeholder: "PowerhouseIcon.jpg", fileSize: "200KB" }), _jsx(ImageUrlInput, { label: "Logo:", value: state.logo || "", onChange: (value) => handleFieldChange("logo", value), placeholder: "PowerhouseLogo.jpg", fileSize: "2MB" }), _jsx(ImageUrlInput, { label: "Large Logo:", value: state.logoBig || "", onChange: (value) => handleFieldChange("logoBig", value), placeholder: "LargeLogo.jpg", fileSize: "10MB" }), _jsxs("div", { children: [_jsx("label", { className: "mb-2 block text-sm font-medium text-gray-700", children: "Website:" }), _jsx(TextInput, { className: "w-full", defaultValue: state.website || "", onBlur: (e) => {
74
+ }, placeholder: "Enter network name" })] }), _jsx(ToggleableImageInput, { label: "Icon:", lightValue: state.icon || "", darkValue: state.darkThemeIcon || "", onLightChange: (value) => handleFieldChange("icon", value), onDarkChange: (value) => handleFieldChange("darkThemeIcon", value), lightPlaceholder: "icon.jpg", darkPlaceholder: "icon-dark.jpg" }), _jsx(ToggleableImageInput, { label: "Logo:", lightValue: state.logo || "", darkValue: state.darkThemeLogo || "", onLightChange: (value) => handleFieldChange("logo", value), onDarkChange: (value) => handleFieldChange("darkThemeLogo", value), lightPlaceholder: "logo.jpg", darkPlaceholder: "logo-dark.jpg" }), _jsx(ImageUrlInput, { label: "Large Logo:", value: state.logoBig || "", onChange: (value) => handleFieldChange("logoBig", value), placeholder: "LargeLogo.jpg", fileSize: "10MB" }), _jsxs("div", { children: [_jsx("label", { className: "mb-2 block text-sm font-medium text-gray-700", children: "Website:" }), _jsx(TextInput, { className: "w-full", defaultValue: state.website || "", onBlur: (e) => {
68
75
  const value = e.target.value || null;
69
76
  if (value !== state.website) {
70
77
  handleFieldChange("website", value);
@@ -1 +1 @@
1
- {"version":3,"file":"MarkdownEditor.d.ts","sourceRoot":"","sources":["../../../../editors/rfp-editor/components/MarkdownEditor.tsx"],"names":[],"mappings":"AAgBA,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAE7D,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,QAAQ,EACR,MAAM,EACN,MAAY,EACZ,KAAiB,EACjB,cAAqD,GACtD,EAAE,mBAAmB,2CA6LrB"}
1
+ {"version":3,"file":"MarkdownEditor.d.ts","sourceRoot":"","sources":["../../../../editors/rfp-editor/components/MarkdownEditor.tsx"],"names":[],"mappings":"AAgBA,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAE7D,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,QAAQ,EACR,MAAM,EACN,MAAY,EACZ,KAAiB,EACjB,cAAqD,GACtD,EAAE,mBAAmB,2CA4LrB"}
@@ -26,9 +26,7 @@ export function MarkdownEditor({ value, onChange, onBlur, height = 350, label =
26
26
  // Use a more robust dynamic import approach
27
27
  const loadEditor = async () => {
28
28
  try {
29
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
30
29
  const module = await import("@uiw/react-md-editor");
31
- // eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-member-access
32
30
  setMDEditor(() => module.default);
33
31
  setIsLoaded(true);
34
32
  setLoadError(null);
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../processors/workstreams/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAEzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,KAAK,EACV,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,EACnB,4BAA4B,EAE5B,eAAe,EAChB,MAAM,yDAAyD,CAAC;AAEjE,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEtC,qBAAa,oBAAqB,SAAQ,qBAAqB,CAAC,EAAE,CAAC;WACjD,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;IAIrD,WAAW,EAAE,MAAM,EAAE,CAAM;IAEZ,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAI/B,YAAY,CACzB,UAAU,EAAE,oBAAoB,EAAE,GACjC,OAAO,CA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B;IAEF,yBAAyB,GACvB,OAAO,MAAM,EACb,OAAO,mBAAmB,mBA6B1B;IAEF,gBAAgB,GAAU,OAAO,MAAM,EAAE,OAAO,mBAAmB,mBAgCjE;CACH"}
@@ -79,7 +79,11 @@ export class WorkstreamsProcessor extends RelationalDbProcessor {
79
79
  : "",
80
80
  workstream_title: state.title,
81
81
  workstream_status: state.status,
82
- sow_phid: state.sow || (state.initialProposal?.status === "ACCEPTED" ? state.initialProposal.sow : null) || null,
82
+ sow_phid: state.sow ||
83
+ (state.initialProposal?.status === "ACCEPTED"
84
+ ? state.initialProposal.sow
85
+ : null) ||
86
+ null,
83
87
  initial_proposal_status: state.initialProposal
84
88
  ? state.initialProposal.status
85
89
  : null,
package/dist/style.css CHANGED
@@ -388,6 +388,9 @@
388
388
  .grid {
389
389
  display: grid;
390
390
  }
391
+ .inline-block {
392
+ display: inline-block;
393
+ }
391
394
  .inline-flex {
392
395
  display: inline-flex;
393
396
  }
@@ -445,9 +448,6 @@
445
448
  .w-5 {
446
449
  width: calc(var(--spacing) * 5);
447
450
  }
448
- .w-6 {
449
- width: calc(var(--spacing) * 6);
450
- }
451
451
  .w-7 {
452
452
  width: calc(var(--spacing) * 7);
453
453
  }
@@ -457,6 +457,9 @@
457
457
  .w-10 {
458
458
  width: calc(var(--spacing) * 10);
459
459
  }
460
+ .w-11 {
461
+ width: calc(var(--spacing) * 11);
462
+ }
460
463
  .w-12 {
461
464
  width: calc(var(--spacing) * 12);
462
465
  }
@@ -532,6 +535,14 @@
532
535
  .border-collapse {
533
536
  border-collapse: collapse;
534
537
  }
538
+ .translate-x-1 {
539
+ --tw-translate-x: calc(var(--spacing) * 1);
540
+ translate: var(--tw-translate-x) var(--tw-translate-y);
541
+ }
542
+ .translate-x-6 {
543
+ --tw-translate-x: calc(var(--spacing) * 6);
544
+ translate: var(--tw-translate-x) var(--tw-translate-y);
545
+ }
535
546
  .transform {
536
547
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
537
548
  }
@@ -795,12 +806,18 @@
795
806
  .bg-gray-200 {
796
807
  background-color: var(--color-gray-200);
797
808
  }
809
+ .bg-gray-300 {
810
+ background-color: var(--color-gray-300);
811
+ }
798
812
  .bg-gray-500\/30 {
799
813
  background-color: color-mix(in srgb, hsl(200 2% 63%) 30%, transparent);
800
814
  @supports (color: color-mix(in lab, red, red)) {
801
815
  background-color: color-mix(in oklab, var(--color-gray-500) 30%, transparent);
802
816
  }
803
817
  }
818
+ .bg-gray-700 {
819
+ background-color: var(--color-gray-700);
820
+ }
804
821
  .bg-gray-800 {
805
822
  background-color: var(--color-gray-800);
806
823
  }
@@ -1371,6 +1388,18 @@
1371
1388
  }
1372
1389
  }
1373
1390
  }
1391
+ .focus\:ring-offset-2 {
1392
+ &:focus {
1393
+ --tw-ring-offset-width: 2px;
1394
+ --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1395
+ }
1396
+ }
1397
+ .focus\:outline-none {
1398
+ &:focus {
1399
+ --tw-outline-style: none;
1400
+ outline-style: none;
1401
+ }
1402
+ }
1374
1403
  .active\:scale-100 {
1375
1404
  &:active {
1376
1405
  --tw-scale-x: 100%;
@@ -3663,6 +3692,21 @@
3663
3692
  }
3664
3693
  }
3665
3694
  }
3695
+ @property --tw-translate-x {
3696
+ syntax: "*";
3697
+ inherits: false;
3698
+ initial-value: 0;
3699
+ }
3700
+ @property --tw-translate-y {
3701
+ syntax: "*";
3702
+ inherits: false;
3703
+ initial-value: 0;
3704
+ }
3705
+ @property --tw-translate-z {
3706
+ syntax: "*";
3707
+ inherits: false;
3708
+ initial-value: 0;
3709
+ }
3666
3710
  @property --tw-rotate-x {
3667
3711
  syntax: "*";
3668
3712
  inherits: false;
@@ -3915,21 +3959,6 @@
3915
3959
  syntax: "*";
3916
3960
  inherits: false;
3917
3961
  }
3918
- @property --tw-translate-x {
3919
- syntax: "*";
3920
- inherits: false;
3921
- initial-value: 0;
3922
- }
3923
- @property --tw-translate-y {
3924
- syntax: "*";
3925
- inherits: false;
3926
- initial-value: 0;
3927
- }
3928
- @property --tw-translate-z {
3929
- syntax: "*";
3930
- inherits: false;
3931
- initial-value: 0;
3932
- }
3933
3962
  @property --tw-scale-x {
3934
3963
  syntax: "*";
3935
3964
  inherits: false;
@@ -3948,6 +3977,9 @@
3948
3977
  @layer properties {
3949
3978
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3950
3979
  *, ::before, ::after, ::backdrop {
3980
+ --tw-translate-x: 0;
3981
+ --tw-translate-y: 0;
3982
+ --tw-translate-z: 0;
3951
3983
  --tw-rotate-x: initial;
3952
3984
  --tw-rotate-y: initial;
3953
3985
  --tw-rotate-z: initial;
@@ -4006,9 +4038,6 @@
4006
4038
  --tw-backdrop-saturate: initial;
4007
4039
  --tw-backdrop-sepia: initial;
4008
4040
  --tw-duration: initial;
4009
- --tw-translate-x: 0;
4010
- --tw-translate-y: 0;
4011
- --tw-translate-z: 0;
4012
4041
  --tw-scale-x: 1;
4013
4042
  --tw-scale-y: 1;
4014
4043
  --tw-scale-z: 1;
@@ -72,11 +72,7 @@ export const getResolvers = (subgraph) => {
72
72
  const state = doc.state.global;
73
73
  if (!state?.name)
74
74
  return false;
75
- const slug = state.name
76
- .toLowerCase()
77
- .trim()
78
- .split(/\s+/)
79
- .join("-");
75
+ const slug = state.name.toLowerCase().trim().split(/\s+/).join("-");
80
76
  return slug === targetNetworkSlug;
81
77
  });
82
78
  if (networkDoc) {
@@ -95,7 +91,7 @@ export const getResolvers = (subgraph) => {
95
91
  // Fetch specific builder profiles by PHID
96
92
  builderDocs = (await Promise.all(builderPhids.map(async (phid) => {
97
93
  try {
98
- const doc = await reactorClient.get(phid);
94
+ const doc = (await reactorClient.get(phid));
99
95
  return doc.header.documentType ===
100
96
  "powerhouse/builder-profile"
101
97
  ? doc
@@ -109,7 +105,9 @@ export const getResolvers = (subgraph) => {
109
105
  // Fetch SOW and resource-template documents
110
106
  const [sowResults, rtResults] = await Promise.all([
111
107
  reactorClient.find({ type: "powerhouse/scopeofwork" }),
112
- reactorClient.find({ type: "powerhouse/resource-template" }).catch(() => ({ results: [] })),
108
+ reactorClient
109
+ .find({ type: "powerhouse/resource-template" })
110
+ .catch(() => ({ results: [] })),
113
111
  ]);
114
112
  sowDocs = sowResults.results;
115
113
  resourceTemplateDocs = rtResults.results;
@@ -119,7 +117,9 @@ export const getResolvers = (subgraph) => {
119
117
  const [bpResults, sowResults, rtResults] = await Promise.all([
120
118
  reactorClient.find({ type: "powerhouse/builder-profile" }),
121
119
  reactorClient.find({ type: "powerhouse/scopeofwork" }),
122
- reactorClient.find({ type: "powerhouse/resource-template" }).catch(() => ({ results: [] })),
120
+ reactorClient
121
+ .find({ type: "powerhouse/resource-template" })
122
+ .catch(() => ({ results: [] })),
123
123
  ]);
124
124
  builderDocs = bpResults.results;
125
125
  sowDocs = sowResults.results;
@@ -1 +1 @@
1
- {"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/networks/resolvers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAK/D,eAAO,MAAM,YAAY,GACvB,UAAU,YAAY,KACrB,MAAM,CAAC,MAAM,EAAE,OAAO,CA0MxB,CAAC"}
1
+ {"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/networks/resolvers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAK/D,eAAO,MAAM,YAAY,GACvB,UAAU,YAAY,KACrB,MAAM,CAAC,MAAM,EAAE,OAAO,CA4MxB,CAAC"}
@@ -55,7 +55,8 @@ export const getResolvers = (subgraph) => {
55
55
  }
56
56
  }));
57
57
  missingDocs.forEach((doc) => {
58
- if (doc && doc.header.documentType === "powerhouse/builder-profile") {
58
+ if (doc &&
59
+ doc.header.documentType === "powerhouse/builder-profile") {
59
60
  builderProfileMap.set(doc.header.id, doc);
60
61
  const state = doc.state.global;
61
62
  if (state?.contributors && Array.isArray(state.contributors)) {
@@ -1 +1 @@
1
- {"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/workstreams/resolvers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAuC5D,eAAO,MAAM,YAAY,GAAI,UAAU,SAAS,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CA8+BxE,CAAC"}
1
+ {"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/workstreams/resolvers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAuC5D,eAAO,MAAM,YAAY,GAAI,UAAU,SAAS,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAm/BxE,CAAC"}
@@ -30,7 +30,9 @@ export const getResolvers = (subgraph) => {
30
30
  };
31
31
  const getCandidateDrives = async () => {
32
32
  try {
33
- const result = await reactorClient.find({ type: "powerhouse/document-drive" });
33
+ const result = await reactorClient.find({
34
+ type: "powerhouse/document-drive",
35
+ });
34
36
  if (result?.results?.length > 0) {
35
37
  return result.results
36
38
  .filter((doc) => doc.header?.meta?.preferredEditor === "network-admin")
@@ -56,7 +58,7 @@ export const getResolvers = (subgraph) => {
56
58
  return null;
57
59
  }
58
60
  try {
59
- const rfpDoc = await reactorClient.get(rfpRef.id);
61
+ const rfpDoc = (await reactorClient.get(rfpRef.id));
60
62
  const rfpState = rfpDoc.state.global;
61
63
  return {
62
64
  id: rfpRef.id,
@@ -95,7 +97,7 @@ export const getResolvers = (subgraph) => {
95
97
  return null;
96
98
  }
97
99
  try {
98
- const networkDoc = await reactorClient.get(networkId);
100
+ const networkDoc = (await reactorClient.get(networkId));
99
101
  const state = networkDoc.state.global;
100
102
  return {
101
103
  name: state.name ?? null,
@@ -144,7 +146,7 @@ export const getResolvers = (subgraph) => {
144
146
  if (contributorPhids.size > 0) {
145
147
  const builderProfileDocs = await Promise.all(Array.from(contributorPhids).map(async (phid) => {
146
148
  try {
147
- return await reactorClient.get(phid);
149
+ return (await reactorClient.get(phid));
148
150
  }
149
151
  catch (error) {
150
152
  console.warn(`Failed to fetch builder profile ${phid}:`, error);
@@ -170,7 +172,7 @@ export const getResolvers = (subgraph) => {
170
172
  if (nestedContributorPhids.length > 0) {
171
173
  const nestedContributorDocs = await Promise.all(nestedContributorPhids.map(async (phid) => {
172
174
  try {
173
- return await reactorClient.get(phid);
175
+ return (await reactorClient.get(phid));
174
176
  }
175
177
  catch (error) {
176
178
  console.warn(`Failed to fetch contributor builder profile ${phid}:`, error);
@@ -188,7 +190,7 @@ export const getResolvers = (subgraph) => {
188
190
  };
189
191
  const hydrateWorkstreamRow = async (row) => {
190
192
  try {
191
- const doc = await reactorClient.get(row.workstream_phid);
193
+ const doc = (await reactorClient.get(row.workstream_phid));
192
194
  const state = doc.state.global;
193
195
  const initialProposalBase = state.initialProposal
194
196
  ? {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@powerhousedao/network-admin",
3
3
  "description": "Network Admin package for Powerhouse",
4
- "version": "1.0.0-dev.7",
4
+ "version": "1.0.0-dev.9",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
7
7
  "type": "git",
@@ -75,35 +75,34 @@
75
75
  },
76
76
  "dependencies": {
77
77
  "@electric-sql/pglite": "0.3.15",
78
- "@powerhousedao/builder-profile": "1.1.0-dev.3",
79
- "@powerhousedao/builder-tools": "6.0.0-staging.0",
80
- "@powerhousedao/common": "6.0.0-staging.0",
81
- "@powerhousedao/design-system": "6.0.0-staging.0",
78
+ "@powerhousedao/builder-profile": "1.1.0-dev.6",
79
+ "@powerhousedao/builder-tools": "6.0.0-dev.105",
80
+ "@powerhousedao/common": "6.0.0-dev.105",
81
+ "@powerhousedao/design-system": "6.0.0-dev.105",
82
82
  "@powerhousedao/document-engineering": "1.40.1",
83
- "@powerhousedao/project-management": "1.0.0-dev.7",
84
- "@powerhousedao/vetra": "6.0.0-staging.0",
85
- "document-model": "6.0.0-staging.0",
86
- "graphql": "^16.12.0",
83
+ "@powerhousedao/project-management": "1.0.0-dev.8",
84
+ "@powerhousedao/vetra": "6.0.0-dev.105",
85
+ "document-model": "6.0.0-dev.105",
86
+ "graphql": "16.12.0",
87
87
  "graphql-tag": "^2.12.6",
88
88
  "zod": "^4.3.5"
89
89
  },
90
90
  "devDependencies": {
91
91
  "@eslint/js": "^9.38.0",
92
- "@powerhousedao/analytics-engine-core": "6.0.0-staging.0",
93
- "@powerhousedao/config": "6.0.0-staging.0",
94
- "@powerhousedao/connect": "6.0.0-staging.0",
95
- "@powerhousedao/ph-cli": "6.0.0-staging.0",
96
- "@powerhousedao/reactor-api": "6.0.0-staging.0",
97
- "@powerhousedao/reactor-browser": "6.0.0-staging.0",
98
- "@powerhousedao/reactor-local": "6.0.0-staging.0",
99
- "@powerhousedao/switchboard": "6.0.0-staging.0",
92
+ "@powerhousedao/analytics-engine-core": "6.0.0-dev.105",
93
+ "@powerhousedao/config": "6.0.0-dev.105",
94
+ "@powerhousedao/connect": "6.0.0-dev.105",
95
+ "@powerhousedao/ph-cli": "6.0.0-dev.105",
96
+ "@powerhousedao/reactor-api": "6.0.0-dev.105",
97
+ "@powerhousedao/reactor-browser": "6.0.0-dev.105",
98
+ "@powerhousedao/reactor-local": "6.0.0-dev.105",
99
+ "@powerhousedao/switchboard": "6.0.0-dev.105",
100
100
  "@tailwindcss/cli": "^4.1.18",
101
- "@tailwindcss/vite": "4.1.18",
102
101
  "@testing-library/react": "^16.3.0",
103
102
  "@types/node": "^24.9.2",
104
103
  "@types/react": "^19.2.3",
105
104
  "@vitejs/plugin-react": "^5.1.0",
106
- "document-drive": "6.0.0-staging.0",
105
+ "document-drive": "6.0.0-dev.105",
107
106
  "eslint": "^9.38.0",
108
107
  "eslint-config-prettier": "^10.1.8",
109
108
  "eslint-plugin-prettier": "^5.5.4",
@@ -118,9 +117,7 @@
118
117
  "typescript": "^5.9.3",
119
118
  "typescript-eslint": "^8.46.2",
120
119
  "vite": "^6.2.3",
121
- "vite-plugin-html": "3.2.2",
122
120
  "vite-plugin-node-polyfills": "^0.24.0",
123
- "vite-plugin-svgr": "4.5.0",
124
121
  "vitest": "^3.0.9"
125
122
  },
126
123
  "peerDependencies": {
@@ -128,7 +125,7 @@
128
125
  "react-dom": ">=19.0.0"
129
126
  },
130
127
  "overrides": {
131
- "graphql": "^16.12.0"
128
+ "graphql": "$graphql"
132
129
  },
133
130
  "bugs": {
134
131
  "url": "https://github.com/powerhouse-inc/network-admin/issues"