@powerhousedao/network-admin 0.0.62 → 0.0.63

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,CA6bxE,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;AAc5D,eAAO,MAAM,YAAY,GAAI,UAAU,SAAS,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAybxE,CAAC"}
@@ -39,10 +39,6 @@ export const getResolvers = (subgraph) => {
39
39
  String(builder.slug || "").toLowerCase() !==
40
40
  String(filter.slug || "").toLowerCase())
41
41
  return false;
42
- if (filter.type &&
43
- String(builder.type || "").toLowerCase() !==
44
- String(filter.type || "").toLowerCase())
45
- return false;
46
42
  if (filter.status &&
47
43
  String(builder.status || "").toLowerCase() !==
48
44
  String(filter.status || "").toLowerCase())
@@ -316,7 +312,8 @@ export const getResolvers = (subgraph) => {
316
312
  const icon = String(state?.icon ?? "");
317
313
  const description = String(state?.description ?? state?.slug ?? "");
318
314
  const about = String(state?.about ?? "");
319
- const type = state?.type ?? "INDIVIDUAL";
315
+ const isOperator = state?.isOperator ?? false;
316
+ const operationalHubMember = state?.operationalHubMember ?? { name: null, phid: null };
320
317
  // Document model uses 'skils' (typo), but GraphQL schema uses 'skills'
321
318
  const skills = Array.isArray(state?.skils)
322
319
  ? state.skils
@@ -337,7 +334,8 @@ export const getResolvers = (subgraph) => {
337
334
  description,
338
335
  about,
339
336
  lastModified: state?.lastModified ?? null,
340
- type,
337
+ isOperator,
338
+ operationalHubMember,
341
339
  contributors,
342
340
  status: state?.status ?? null,
343
341
  skills,
@@ -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,YA8MpB,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,YA+MpB,CAAC"}
@@ -14,7 +14,6 @@ export const schema = gql `
14
14
  code: String
15
15
  name: String
16
16
  slug: String
17
- type: teamType
18
17
  status: BuilderStatus
19
18
  skills: [BuilderSkill!]
20
19
  scopes: [BuilderScope!]
@@ -31,7 +30,8 @@ export const schema = gql `
31
30
  description: String
32
31
  about: String
33
32
  lastModified: DateTime
34
- type: teamType!
33
+ isOperator: Boolean!
34
+ operationalHubMember: OpHubMember!
35
35
  contributors: [PHID!]!
36
36
  status: BuilderStatus
37
37
  skills: [BuilderSkill!]!
@@ -40,9 +40,9 @@ export const schema = gql `
40
40
  projects: [BuilderProject!]!
41
41
  }
42
42
 
43
- enum teamType {
44
- INDIVIDUAL
45
- TEAM
43
+ type OpHubMember {
44
+ name: String
45
+ phid: PHID
46
46
  }
47
47
 
48
48
  enum BuilderStatus {
@@ -90,7 +90,8 @@ export const schema = gql `
90
90
  icon: String!
91
91
  description: String!
92
92
  lastModified: DateTime
93
- type: teamType!
93
+ isOperator: Boolean!
94
+ operationalHubMember: OpHubMember!
94
95
  contributors: [Builder!]!
95
96
  status: BuilderStatus
96
97
  skills: [BuilderSkill!]!
@@ -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,CAiNxB,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,CAkNxB,CAAC"}
@@ -101,10 +101,11 @@ export const getResolvers = (subgraph) => {
101
101
  icon: state?.icon || "",
102
102
  description: state?.description || state?.slug || "",
103
103
  lastModified: state.lastModified || null,
104
- type: state?.type || "INDIVIDUAL",
104
+ isOperator: state?.isOperator ?? false,
105
+ operationalHubMember: state?.operationalHubMember ?? { name: null, phid: null },
105
106
  _contributorPhids: contributorPhids, // Internal field for resolver
106
107
  status: state?.status || null,
107
- skils: state?.skils || [],
108
+ skills: state?.skils || state?.skills || [],
108
109
  scopes: state?.scopes || [],
109
110
  links: state?.links || [],
110
111
  };
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../subgraphs/networks/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,MAAM,EAAE,YAqGpB,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../subgraphs/networks/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,MAAM,EAAE,YAsGpB,CAAC"}
@@ -51,7 +51,8 @@ export const schema = gql `
51
51
  icon: String!
52
52
  description: String!
53
53
  lastModified: DateTime
54
- type: teamType!
54
+ isOperator: Boolean!
55
+ operationalHubMember: OpHubMember!
55
56
  contributors: [Builder!]!
56
57
  status: BuilderStatus
57
58
  skills: [BuilderSkill!]!
@@ -59,9 +60,9 @@ export const schema = gql `
59
60
  links: [BuilderLink!]!
60
61
  }
61
62
 
62
- enum teamType {
63
- INDIVIDUAL
64
- TEAM
63
+ type OpHubMember {
64
+ name: String
65
+ phid: PHID
65
66
  }
66
67
 
67
68
  enum BuilderStatus {
@@ -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,CAi9BxE,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,CA09BxE,CAAC"}
@@ -436,10 +436,12 @@ export const getResolvers = (subgraph) => {
436
436
  const icon = String(state?.icon ?? "");
437
437
  // description: String! - non-nullable
438
438
  const description = String(state?.description ?? state?.slug ?? "");
439
- // type: teamType! - non-nullable, default to "INDIVIDUAL"
440
- const type = state?.type ?? "INDIVIDUAL";
441
- // skils: [BuilderSkill!]! - non-nullable array
442
- const skils = Array.isArray(state?.skils) ? state.skils : [];
439
+ // isOperator: Boolean! - non-nullable, default to false
440
+ const isOperator = state?.isOperator ?? false;
441
+ // operationalHubMember: OpHubMember! - non-nullable
442
+ const operationalHubMember = state?.operationalHubMember ?? { name: null, phid: null };
443
+ // skills: [BuilderSkill!]! - non-nullable array (document model uses 'skils' typo)
444
+ const skills = Array.isArray(state?.skils) ? state.skils : Array.isArray(state?.skills) ? state.skills : [];
443
445
  // scopes: [BuilderScope!]! - non-nullable array
444
446
  const scopes = Array.isArray(state?.scopes) ? state.scopes : [];
445
447
  // links: [BuilderLink!]! - non-nullable array
@@ -452,10 +454,11 @@ export const getResolvers = (subgraph) => {
452
454
  icon,
453
455
  description,
454
456
  lastModified: state?.lastModified ?? null,
455
- type,
457
+ isOperator,
458
+ operationalHubMember,
456
459
  _contributorPhids: contributorPhids, // Internal field for resolver
457
460
  status: state?.status ?? null,
458
- skils,
461
+ skills,
459
462
  scopes,
460
463
  links,
461
464
  };
@@ -544,10 +547,12 @@ export const getResolvers = (subgraph) => {
544
547
  const icon = String(state?.icon ?? "");
545
548
  // description: String! - non-nullable
546
549
  const description = String(state?.description ?? state?.slug ?? "");
547
- // type: teamType! - non-nullable, default to "INDIVIDUAL"
548
- const type = state?.type ?? "INDIVIDUAL";
549
- // skils: [BuilderSkill!]! - non-nullable array
550
- const skils = Array.isArray(state?.skils) ? state.skils : [];
550
+ // isOperator: Boolean! - non-nullable, default to false
551
+ const isOperator = state?.isOperator ?? false;
552
+ // operationalHubMember: OpHubMember! - non-nullable
553
+ const operationalHubMember = state?.operationalHubMember ?? { name: null, phid: null };
554
+ // skills: [BuilderSkill!]! - non-nullable array (document model uses 'skils' typo)
555
+ const skills = Array.isArray(state?.skils) ? state.skils : Array.isArray(state?.skills) ? state.skills : [];
551
556
  // scopes: [BuilderScope!]! - non-nullable array
552
557
  const scopes = Array.isArray(state?.scopes) ? state.scopes : [];
553
558
  // links: [BuilderLink!]! - non-nullable array
@@ -560,10 +565,11 @@ export const getResolvers = (subgraph) => {
560
565
  icon,
561
566
  description,
562
567
  lastModified: state?.lastModified ?? null,
563
- type,
568
+ isOperator,
569
+ operationalHubMember,
564
570
  _contributorPhids: contributorPhids, // Internal field for resolver
565
571
  status: state?.status ?? null,
566
- skils,
572
+ skills,
567
573
  scopes,
568
574
  links,
569
575
  };
@@ -714,10 +720,12 @@ export const getResolvers = (subgraph) => {
714
720
  const icon = String(state?.icon ?? "");
715
721
  // description: String! - non-nullable
716
722
  const description = String(state?.description ?? state?.slug ?? "");
717
- // type: teamType! - non-nullable, default to "INDIVIDUAL"
718
- const type = state?.type ?? "INDIVIDUAL";
719
- // skils: [BuilderSkill!]! - non-nullable array
720
- const skils = Array.isArray(state?.skils) ? state.skils : [];
723
+ // isOperator: Boolean! - non-nullable, default to false
724
+ const isOperator = state?.isOperator ?? false;
725
+ // operationalHubMember: OpHubMember! - non-nullable
726
+ const operationalHubMember = state?.operationalHubMember ?? { name: null, phid: null };
727
+ // skills: [BuilderSkill!]! - non-nullable array (document model uses 'skils' typo)
728
+ const skills = Array.isArray(state?.skils) ? state.skils : Array.isArray(state?.skills) ? state.skills : [];
721
729
  // scopes: [BuilderScope!]! - non-nullable array
722
730
  const scopes = Array.isArray(state?.scopes) ? state.scopes : [];
723
731
  // links: [BuilderLink!]! - non-nullable array
@@ -730,10 +738,11 @@ export const getResolvers = (subgraph) => {
730
738
  icon,
731
739
  description,
732
740
  lastModified: state?.lastModified ?? null,
733
- type,
741
+ isOperator,
742
+ operationalHubMember,
734
743
  _contributorPhids: contributorPhids, // Internal field for resolver
735
744
  status: state?.status ?? null,
736
- skils,
745
+ skills,
737
746
  scopes,
738
747
  links,
739
748
  };
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../subgraphs/workstreams/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,MAAM,EAAE,YAogBpB,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../subgraphs/workstreams/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,MAAM,EAAE,YAqgBpB,CAAC"}
@@ -466,7 +466,8 @@ export const schema = gql `
466
466
  icon: String!
467
467
  description: String!
468
468
  lastModified: DateTime
469
- type: teamType!
469
+ isOperator: Boolean!
470
+ operationalHubMember: OpHubMember!
470
471
  contributors: [Builder!]!
471
472
  status: BuilderStatus
472
473
  skills: [BuilderSkill!]!
@@ -474,9 +475,9 @@ export const schema = gql `
474
475
  links: [BuilderLink!]!
475
476
  }
476
477
 
477
- enum teamType {
478
- INDIVIDUAL
479
- TEAM
478
+ type OpHubMember {
479
+ name: String
480
+ phid: PHID
480
481
  }
481
482
 
482
483
  enum BuilderStatus {
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.62",
4
+ "version": "0.0.63",
5
5
  "license": "AGPL-3.0-only",
6
6
  "type": "module",
7
7
  "files": [
@@ -49,7 +49,7 @@
49
49
  "lint:fix": "npm run lint -- --fix",
50
50
  "tsc": "tsc",
51
51
  "tsc:watch": "tsc --watch",
52
- "tailwind": "npx @tailwindcss/cli -i ./style.css -o ./dist/style.css",
52
+ "tailwind": "pnpm exec tailwindcss -i ./style.css -o ./dist/style.css",
53
53
  "prepublishOnly": "npm run build",
54
54
  "check-circular-imports": "npx dpdm -T ./index.ts",
55
55
  "generate": "ph-cli generate",
@@ -62,15 +62,15 @@
62
62
  "service-unstartup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh"
63
63
  },
64
64
  "dependencies": {
65
- "@powerhousedao/builder-profile": "^0.0.15",
66
- "@powerhousedao/builder-tools": "5.3.0-staging.13",
67
- "@powerhousedao/common": "5.3.0-staging.13",
68
- "@powerhousedao/design-system": "5.3.0-staging.13",
65
+ "@powerhousedao/builder-profile": "0.0.17",
66
+ "@powerhousedao/builder-tools": "5.3.0-staging.21",
67
+ "@powerhousedao/common": "5.3.0-staging.21",
68
+ "@powerhousedao/design-system": "5.3.0-staging.21",
69
69
  "@powerhousedao/document-engineering": "^1.40.1",
70
- "@powerhousedao/project-management": "0.0.67",
71
- "@powerhousedao/vetra": "^5.3.0-staging.13",
70
+ "@powerhousedao/project-management": "0.0.68",
71
+ "@powerhousedao/vetra": "5.3.0-staging.21",
72
72
  "@uiw/react-md-editor": "^4.0.8",
73
- "document-model": "5.3.0-staging.13",
73
+ "document-model": "5.3.0-staging.21",
74
74
  "error": "^10.4.0",
75
75
  "graphql": "^16.10.0",
76
76
  "graphql-tag": "^2.12.6",
@@ -84,21 +84,21 @@
84
84
  "@electric-sql/pglite": "^0.2.12",
85
85
  "@eslint/js": "^9.38.0",
86
86
  "@powerhousedao/analytics-engine-core": "^0.5.0",
87
- "@powerhousedao/codegen": "5.3.0-staging.13",
88
- "@powerhousedao/config": "5.3.0-staging.13",
89
- "@powerhousedao/connect": "5.3.0-staging.13",
90
- "@powerhousedao/ph-cli": "5.3.0-staging.13",
91
- "@powerhousedao/reactor-api": "5.3.0-staging.13",
92
- "@powerhousedao/reactor-browser": "5.3.0-staging.13",
93
- "@powerhousedao/reactor-local": "5.3.0-staging.13",
87
+ "@powerhousedao/codegen": "5.3.0-staging.21",
88
+ "@powerhousedao/config": "5.3.0-staging.21",
89
+ "@powerhousedao/connect": "5.3.0-staging.21",
90
+ "@powerhousedao/ph-cli": "5.3.0-staging.21",
91
+ "@powerhousedao/reactor-api": "5.3.0-staging.21",
92
+ "@powerhousedao/reactor-browser": "5.3.0-staging.21",
93
+ "@powerhousedao/reactor-local": "5.3.0-staging.21",
94
94
  "@powerhousedao/scalars": "staging",
95
- "@powerhousedao/switchboard": "5.3.0-staging.13",
95
+ "@powerhousedao/switchboard": "5.3.0-staging.21",
96
96
  "@tailwindcss/cli": "^4.1.4",
97
97
  "@testing-library/react": "^16.3.0",
98
98
  "@types/node": "^24.9.2",
99
99
  "@types/react": "^19.2.2",
100
100
  "@vitejs/plugin-react": "^5.1.0",
101
- "document-drive": "5.3.0-staging.13",
101
+ "document-drive": "5.3.0-staging.21",
102
102
  "eslint": "^9.38.0",
103
103
  "eslint-config-prettier": "^10.1.8",
104
104
  "eslint-plugin-prettier": "^5.5.4",
@@ -121,5 +121,5 @@
121
121
  "react-dom": "^19.2.0"
122
122
  },
123
123
  "readme": "ERROR: No README data found!",
124
- "_id": "@powerhousedao/network-admin@0.0.60"
124
+ "_id": "@powerhousedao/network-admin@0.0.62"
125
125
  }