@plurnk/plurnk-schemes 1.9.0 → 1.9.2
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/SPEC.md +6 -0
- package/dist/OutputScheme.d.ts +2 -1
- package/dist/OutputScheme.d.ts.map +1 -1
- package/dist/OutputScheme.js +1 -0
- package/dist/OutputScheme.js.map +1 -1
- package/package.json +4 -4
package/SPEC.md
CHANGED
|
@@ -73,6 +73,12 @@ registration failure.
|
|
|
73
73
|
| `requiresWeb` | `noWeb === true` | Web access |
|
|
74
74
|
| `requiresInteraction` | `noInteraction === true` | Interactive access |
|
|
75
75
|
|
|
76
|
+
An executor's runtime declaration may carry the same closed affinity
|
|
77
|
+
(`OutputScheme.manifestFromRuntime` stamps `decl.flags`): the synthesized
|
|
78
|
+
runtime-alias scheme then resolves through the one authority, so dispatch
|
|
79
|
+
gating and directory teaching fall out together (e.g. the `question` runtime
|
|
80
|
+
declares `requiresInteraction`).
|
|
81
|
+
|
|
76
82
|
Proposal behavior is not scheme affinity. A handler proposes by returning 202;
|
|
77
83
|
the consumer's proposal lifecycle decides whether a client, loop auto,
|
|
78
84
|
`noProposals`, or a timeout resolves it.
|
package/dist/OutputScheme.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type { SchemeManifest } from "./types.ts";
|
|
1
|
+
import type { SchemeFlagAffinity, SchemeManifest } from "./types.ts";
|
|
2
2
|
export interface RuntimeDecl {
|
|
3
3
|
readonly name: string;
|
|
4
4
|
readonly glyph?: string;
|
|
5
5
|
readonly example?: string;
|
|
6
6
|
readonly channels: Record<string, string>;
|
|
7
7
|
readonly defaultChannel: string;
|
|
8
|
+
readonly flags?: SchemeFlagAffinity;
|
|
8
9
|
}
|
|
9
10
|
export default class OutputScheme {
|
|
10
11
|
static manifestFromRuntime(decl: RuntimeDecl): SchemeManifest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OutputScheme.d.ts","sourceRoot":"","sources":["../src/OutputScheme.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"OutputScheme.d.ts","sourceRoot":"","sources":["../src/OutputScheme.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAIrE,MAAM,WAAW,WAAW;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAIhC,QAAQ,CAAC,KAAK,CAAC,EAAE,kBAAkB,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,OAAO,YAAY;IAO7B,MAAM,CAAC,mBAAmB,CAAC,IAAI,EAAE,WAAW,GAAG,cAAc,CAkB5D;CACJ"}
|
package/dist/OutputScheme.js
CHANGED
package/dist/OutputScheme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OutputScheme.js","sourceRoot":"","sources":["../src/OutputScheme.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,kCAAkC;AAClC,4EAA4E;AAC5E,sFAAsF;AACtF,wFAAwF;AACxF,gDAAgD;
|
|
1
|
+
{"version":3,"file":"OutputScheme.js","sourceRoot":"","sources":["../src/OutputScheme.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,kCAAkC;AAClC,4EAA4E;AAC5E,sFAAsF;AACtF,wFAAwF;AACxF,gDAAgD;AAkBhD,MAAM,CAAC,OAAO,OAAO,YAAY;IAC7B,uEAAuE;IACvE,wEAAwE;IACxE,6EAA6E;IAC7E,wEAAwE;IACxE,qEAAqE;IACrE,0EAA0E;IAC1E,MAAM,CAAC,mBAAmB,CAAC,IAAiB;QACxC,OAAO;YACH,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,SAAS,EAAE,OAAO;YAClB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,QAAQ,EAAE,MAAM;YAChB,UAAU,EAAE,UAAU;YACtB,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,CAAC,QAAQ,CAAC;YACtB,QAAQ,EAAE,IAAI;YACd,YAAY,EAAE,IAAI;YAClB,YAAY,EAAE,IAAI;YAClB,eAAe,EAAE,IAAI;YACrB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,KAAK,EAAE,IAAI,CAAC,KAAK;SACpB,CAAC;IACN,CAAC;CACJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurnk/plurnk-schemes",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.2",
|
|
4
4
|
"description": "Framework + contract for the @plurnk/plurnk-schemes-* URI handler packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurnk",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"prepack": "npm run build"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@plurnk/plurnk-mimetypes": "^1.9.
|
|
52
|
+
"@plurnk/plurnk-mimetypes": "^1.9.2"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@plurnk/plurnk-contracts": "1.9.
|
|
56
|
-
"@plurnk/plurnk-meta": "1.9.
|
|
55
|
+
"@plurnk/plurnk-contracts": "1.9.2",
|
|
56
|
+
"@plurnk/plurnk-meta": "1.9.2"
|
|
57
57
|
}
|
|
58
58
|
}
|