-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
developmentStandard developmentStandard developmentr&d:polykey:core activity 1Secret Vault Sharing and Secret History ManagementSecret Vault Sharing and Secret History Managementr&d:polykey:supporting activitySupporting core activitySupporting core activity
Description
Specification
During #552 the agent domain was rolled into the nodes domain at src/nodes/agent. The agent domain was restructured during this time as well.
- All the handlers were updated to use default exports.
- All the handlers were updated to use arrow functions.
- The
ServerManifestwas moved into theindex.ts. - The caller definitions were moved into
nodes/agent/callers. - The caller definitions were split into separate files. (I don't like this change, it means that each caller which can be defined in a single line need to be spread across 60+ files.) I should check with @CMCDragonkai to see if it's required.
clientManifestwas moved intonodes/agent/callers/index.ts.errors.ts,types.tsandutils.tsare innodes/agentdirectory now.
Pretty much try to structure the client domain like nodes/agent directory. If anything is unclear, make a comment here asking about it.
Additional context
- Related #522
- Related Fixing
Polykeyand all tests for release #562 - Related Consolidating
ClientServiceand js-ws and js-rpc integration #560
Tasks
- 1. All the handlers were updated to use default exports.
- 2. All the handlers were updated to use arrow functions.
- 3. The
ServerManifestwas moved into theindex.ts. - 4. The caller definitions were moved into
nodes/agent/callers. - 5. The caller definitions were split into separate files. (I don't like this change, it means that each caller which can be defined in a single line need to be spread across 60+ files.) I should check with @CMCDragonkai to see if it's required.
- 6.
clientManifestwas moved intonodes/agent/callers/index.ts. - 7.
errors.ts,types.tsandutils.tsare innodes/agentdirectory now.
Metadata
Metadata
Assignees
Labels
developmentStandard developmentStandard developmentr&d:polykey:core activity 1Secret Vault Sharing and Secret History ManagementSecret Vault Sharing and Secret History Managementr&d:polykey:supporting activitySupporting core activitySupporting core activity