@powerhousedao/registry 6.2.3-dev.8 → 6.2.3-staging.0

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.
package/README.md CHANGED
@@ -32,6 +32,36 @@ If the package is not published locally, Verdaccio transparently proxies metadat
32
32
 
33
33
  Responses carry caching headers keyed on the request shape. Version-pinned requests (`<pkg>@1.2.3/...`) are served `Cache-Control: public, max-age=31536000, immutable`; moving requests (a dist-tag like `@dev`/`@latest`, or untagged) get `public, max-age=60, must-revalidate`. A version-derived weak `ETag` is sent, and a matching `If-None-Match` returns `304`. When the upstream metadata lookup fails (as opposed to a genuine not-found), the endpoint serves the latest cached version if present, otherwise responds `503` rather than a cacheable `404`.
34
34
 
35
+ ### Pieces
36
+
37
+ A reactor's workflow runtime reads pieces from these endpoints, ahead of the
38
+ Activepieces catalogue.
39
+
40
+ #### `GET /pieces`
41
+
42
+ The catalog of pieces that published packages ship, in the shape of
43
+ cloud.activepieces.com's list endpoint. `?suggestionType=ACTION_AND_TRIGGER`
44
+ adds suggested actions and triggers.
45
+
46
+ #### `GET /pieces/<name>` and `GET /pieces/<name>?version=<v>`
47
+
48
+ One piece's detail: the latest version, or the one named. An unknown version
49
+ returns `404` with `available`, the versions the registry has.
50
+
51
+ #### `GET /pieces/<name>/versions`
52
+
53
+ Every version of the piece: `[{ version, packageVersion, publishedAt }]`. A
54
+ piece's version is always the version of the package that ships it.
55
+
56
+ #### `GET /-/pieces/bundled/<file>.tgz`
57
+
58
+ The piece directory as an npm-shaped tarball, the file a reactor's piece worker
59
+ downloads. The file name is the piece name with `/` replaced by `-`, then
60
+ `-<version>`, as cdn.activepieces.com names its own. It is served immutable.
61
+
62
+ Piece names under `@activepieces/` are reserved: a package that claims one is
63
+ refused.
64
+
35
65
  ### Publish Notifications
36
66
 
37
67
  When a package is published, the registry can notify subscribers in real time via Server-Sent Events (SSE) and webhooks.
package/dist/cli.d.mts CHANGED
@@ -1,10 +1,6 @@
1
- import * as cmd_ts_dist_cjs_argparser_js0 from "cmd-ts/dist/cjs/argparser.js";
2
- import * as cmd_ts_dist_cjs_helpdoc_js0 from "cmd-ts/dist/cjs/helpdoc.js";
3
- import * as cmd_ts_dist_cjs_runner_js0 from "cmd-ts/dist/cjs/runner.js";
4
-
5
1
  //#region cli.d.ts
6
- declare const registryCommand: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
7
- parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<{
2
+ export declare const registryCommand: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
3
+ parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
8
4
  port: number;
9
5
  storageDir: string;
10
6
  cdnCacheDir: string;
@@ -26,7 +22,7 @@ declare const registryCommand: Partial<cmd_ts_dist_cjs_argparser_js0.Register> &
26
22
  localPackages: string | undefined;
27
23
  databaseUrl: string | undefined;
28
24
  }>>;
29
- } & cmd_ts_dist_cjs_helpdoc_js0.PrintHelp & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & cmd_ts_dist_cjs_helpdoc_js0.Named & Partial<cmd_ts_dist_cjs_helpdoc_js0.Versioned> & cmd_ts_dist_cjs_argparser_js0.Register & cmd_ts_dist_cjs_runner_js0.Handling<{
25
+ } & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
30
26
  port: number;
31
27
  storageDir: string;
32
28
  cdnCacheDir: string;
@@ -48,8 +44,8 @@ declare const registryCommand: Partial<cmd_ts_dist_cjs_argparser_js0.Register> &
48
44
  localPackages: string | undefined;
49
45
  databaseUrl: string | undefined;
50
46
  }, Promise<void>> & {
51
- run(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<Promise<void>>>;
52
- } & Partial<cmd_ts_dist_cjs_helpdoc_js0.Versioned & cmd_ts_dist_cjs_helpdoc_js0.Descriptive & cmd_ts_dist_cjs_helpdoc_js0.Aliased>;
47
+ run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<Promise<void>>>;
48
+ } & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased>;
53
49
  //#endregion
54
- export { registryCommand };
50
+ export {};
55
51
  //# sourceMappingURL=cli.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.mts","names":[],"sources":["../cli.ts"],"mappings":";;;;;cAiBa,eAAA,EAAe,OAAA,CAkK1B,6BAAA,CAlK0B,QAAA;iBAAA,6BAAA,CAAA,YAAA"}
1
+ {"version":3,"file":"cli.d.mts","names":[],"sources":["../cli.ts"],"mappings":";qBAiBa,iBAAe,+CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkK1B,6CAAA,iDAAA,mDAAA"}