@powerhousedao/network-admin 0.0.58 → 0.0.60

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,CA0bxE,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,CA6bxE,CAAC"}
@@ -33,8 +33,7 @@ export const getResolvers = (subgraph) => {
33
33
  String(filter.code || "").toLowerCase())
34
34
  return false;
35
35
  if (filter.name &&
36
- String(builder.name || "").toLowerCase() !==
37
- String(filter.name || "").toLowerCase())
36
+ !String(builder.name || "").toLowerCase().includes(String(filter.name || "").toLowerCase()))
38
37
  return false;
39
38
  if (filter.slug &&
40
39
  String(builder.slug || "").toLowerCase() !==
@@ -316,6 +315,7 @@ export const getResolvers = (subgraph) => {
316
315
  const name = String(state?.name ?? doc.header?.name ?? "");
317
316
  const icon = String(state?.icon ?? "");
318
317
  const description = String(state?.description ?? state?.slug ?? "");
318
+ const about = String(state?.about ?? "");
319
319
  const type = state?.type ?? "INDIVIDUAL";
320
320
  // Document model uses 'skils' (typo), but GraphQL schema uses 'skills'
321
321
  const skills = Array.isArray(state?.skils)
@@ -335,6 +335,7 @@ export const getResolvers = (subgraph) => {
335
335
  name,
336
336
  icon,
337
337
  description,
338
+ about,
338
339
  lastModified: state?.lastModified ?? null,
339
340
  type,
340
341
  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.58",
4
+ "version": "0.0.60",
5
5
  "license": "AGPL-3.0-only",
6
6
  "type": "module",
7
7
  "files": [