@powerhousedao/network-admin 0.0.57 → 0.0.59

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.
@@ -1 +1 @@
1
- {"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/builders-addon/resolvers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAe5D,eAAO,MAAM,YAAY,GAAI,UAAU,SAAS,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAqbxE,CAAC"}
1
+ {"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/builders-addon/resolvers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAe5D,eAAO,MAAM,YAAY,GAAI,UAAU,SAAS,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CA4bxE,CAAC"}
@@ -316,8 +316,14 @@ export const getResolvers = (subgraph) => {
316
316
  const name = String(state?.name ?? doc.header?.name ?? "");
317
317
  const icon = String(state?.icon ?? "");
318
318
  const description = String(state?.description ?? state?.slug ?? "");
319
+ const about = String(state?.about ?? "");
319
320
  const type = state?.type ?? "INDIVIDUAL";
320
- const skills = Array.isArray(state?.skills) ? state.skills : [];
321
+ // Document model uses 'skils' (typo), but GraphQL schema uses 'skills'
322
+ const skills = Array.isArray(state?.skils)
323
+ ? state.skils
324
+ : Array.isArray(state?.skills)
325
+ ? state.skills
326
+ : [];
321
327
  const scopes = Array.isArray(state?.scopes) ? state.scopes : [];
322
328
  const links = Array.isArray(state?.links) ? state.links : [];
323
329
  const contributors = Array.isArray(state?.contributors)
@@ -330,6 +336,7 @@ export const getResolvers = (subgraph) => {
330
336
  name,
331
337
  icon,
332
338
  description,
339
+ about,
333
340
  lastModified: state?.lastModified ?? null,
334
341
  type,
335
342
  contributors,
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../subgraphs/builders-addon/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,MAAM,EAAE,YA6MpB,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../subgraphs/builders-addon/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,MAAM,EAAE,YA8MpB,CAAC"}
@@ -29,6 +29,7 @@ export const schema = gql `
29
29
  name: String
30
30
  icon: URL
31
31
  description: String
32
+ about: String
32
33
  lastModified: DateTime
33
34
  type: teamType!
34
35
  contributors: [PHID!]!
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": "0.0.57",
4
+ "version": "0.0.59",
5
5
  "license": "AGPL-3.0-only",
6
6
  "type": "module",
7
7
  "files": [