@riddledc/riddle-proof-packs 0.2.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/LICENSE +21 -0
- package/README.md +107 -0
- package/dist/index.cjs +1131 -0
- package/dist/index.d.cts +62 -0
- package/dist/index.d.ts +62 -0
- package/dist/index.js +1095 -0
- package/package.json +47 -0
- package/packs/auth-smoke/README.md +21 -0
- package/packs/auth-smoke/profile.json +65 -0
- package/packs/canvas-gameplay/README.md +21 -0
- package/packs/canvas-gameplay/profile.json +225 -0
- package/packs/gameplay-window-call-until/README.md +21 -0
- package/packs/gameplay-window-call-until/profile.json +101 -0
- package/packs/handled-recovery-action-malformed-success/README.md +21 -0
- package/packs/handled-recovery-action-malformed-success/profile.json +126 -0
- package/packs/handled-recovery-list-load/README.md +21 -0
- package/packs/handled-recovery-list-load/profile.json +101 -0
- package/packs/mobile-layout-smoke/README.md +21 -0
- package/packs/mobile-layout-smoke/profile.json +64 -0
- package/packs/page-content-basic/README.md +21 -0
- package/packs/page-content-basic/profile.json +29 -0
- package/packs/route-inventory-basic/README.md +21 -0
- package/packs/route-inventory-basic/profile.json +29 -0
- package/packs/spa-route-exit-state-hygiene/README.md +21 -0
- package/packs/spa-route-exit-state-hygiene/profile.json +87 -0
- package/packs/terminal-result-partial-evidence/README.md +21 -0
- package/packs/terminal-result-partial-evidence/profile.json +122 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as _riddledc_riddle_proof from '@riddledc/riddle-proof';
|
|
2
|
+
import { RiddleProofProfile } from '@riddledc/riddle-proof';
|
|
3
|
+
|
|
4
|
+
interface RiddleProofPackProfileManifest {
|
|
5
|
+
/** Profile slug and canonical manifest key. */
|
|
6
|
+
readonly name: string;
|
|
7
|
+
/** Normalized, validated proof profile for runtime consumption. */
|
|
8
|
+
readonly profile: RiddleProofProfile;
|
|
9
|
+
readonly slug: string;
|
|
10
|
+
readonly sourcePath: string;
|
|
11
|
+
readonly packId: string | undefined;
|
|
12
|
+
readonly packPublicName: string | undefined;
|
|
13
|
+
readonly requiredReceipts: readonly string[];
|
|
14
|
+
readonly purpose: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
declare const RIDDLE_PROOF_PACK_PROFILES: Readonly<Record<string, RiddleProofProfile>>;
|
|
17
|
+
declare const RIDDLE_PROOF_PACK_MANIFEST: ReadonlyArray<RiddleProofPackProfileManifest>;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Returns all known proof pack profiles, in the same order as the manifest definitions.
|
|
21
|
+
*/
|
|
22
|
+
declare function listRiddleProofPackProfiles(): readonly RiddleProofPackProfileManifest[];
|
|
23
|
+
/**
|
|
24
|
+
* Alias kept for future ergonomic stability.
|
|
25
|
+
*/
|
|
26
|
+
declare function listRiddleProofPacks(): readonly RiddleProofPackProfileManifest[];
|
|
27
|
+
/**
|
|
28
|
+
* Returns the first matching profile metadata for the provided pack identifier.
|
|
29
|
+
*/
|
|
30
|
+
declare function getRiddleProofPackProfileByPackId(packId: string): RiddleProofPackProfileManifest | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Returns every manifest entry that includes an explicit `pack_id`.
|
|
33
|
+
*/
|
|
34
|
+
declare function getPackEnabledRiddleProofPackProfiles(): readonly RiddleProofPackProfileManifest[];
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Returns profile metadata by canonical profile name.
|
|
38
|
+
*/
|
|
39
|
+
declare function getRiddleProofPackProfileManifest(name: string): RiddleProofPackProfileManifest | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Returns the profile JSON for a pack profile name or alias.
|
|
42
|
+
*/
|
|
43
|
+
declare function getRiddleProofPackProfile(name: string): _riddledc_riddle_proof.RiddleProofProfile;
|
|
44
|
+
/**
|
|
45
|
+
* Returns every manifest entry with the requested `pack_id`.
|
|
46
|
+
*/
|
|
47
|
+
declare function getRiddleProofProfilesByPackId(packId: string): readonly RiddleProofPackProfileManifest[];
|
|
48
|
+
|
|
49
|
+
interface RiddleProofPackProfileOverrides {
|
|
50
|
+
/** Override target URL for a particular invocation. */
|
|
51
|
+
url?: string;
|
|
52
|
+
/** Override route for profile launch. */
|
|
53
|
+
route?: string;
|
|
54
|
+
/** Runtime-specific target overrides. */
|
|
55
|
+
target?: Partial<RiddleProofProfile["target"]>;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Returns an instantiated, validated profile with lightweight invocation overrides applied.
|
|
59
|
+
*/
|
|
60
|
+
declare function instantiateRiddleProofProfile(profileName: string, options?: RiddleProofPackProfileOverrides): RiddleProofProfile;
|
|
61
|
+
|
|
62
|
+
export { RIDDLE_PROOF_PACK_MANIFEST, RIDDLE_PROOF_PACK_PROFILES, type RiddleProofPackProfileManifest, getPackEnabledRiddleProofPackProfiles, getRiddleProofPackProfile, getRiddleProofPackProfileByPackId, getRiddleProofPackProfileManifest, getRiddleProofProfilesByPackId, instantiateRiddleProofProfile, listRiddleProofPackProfiles, listRiddleProofPacks };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as _riddledc_riddle_proof from '@riddledc/riddle-proof';
|
|
2
|
+
import { RiddleProofProfile } from '@riddledc/riddle-proof';
|
|
3
|
+
|
|
4
|
+
interface RiddleProofPackProfileManifest {
|
|
5
|
+
/** Profile slug and canonical manifest key. */
|
|
6
|
+
readonly name: string;
|
|
7
|
+
/** Normalized, validated proof profile for runtime consumption. */
|
|
8
|
+
readonly profile: RiddleProofProfile;
|
|
9
|
+
readonly slug: string;
|
|
10
|
+
readonly sourcePath: string;
|
|
11
|
+
readonly packId: string | undefined;
|
|
12
|
+
readonly packPublicName: string | undefined;
|
|
13
|
+
readonly requiredReceipts: readonly string[];
|
|
14
|
+
readonly purpose: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
declare const RIDDLE_PROOF_PACK_PROFILES: Readonly<Record<string, RiddleProofProfile>>;
|
|
17
|
+
declare const RIDDLE_PROOF_PACK_MANIFEST: ReadonlyArray<RiddleProofPackProfileManifest>;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Returns all known proof pack profiles, in the same order as the manifest definitions.
|
|
21
|
+
*/
|
|
22
|
+
declare function listRiddleProofPackProfiles(): readonly RiddleProofPackProfileManifest[];
|
|
23
|
+
/**
|
|
24
|
+
* Alias kept for future ergonomic stability.
|
|
25
|
+
*/
|
|
26
|
+
declare function listRiddleProofPacks(): readonly RiddleProofPackProfileManifest[];
|
|
27
|
+
/**
|
|
28
|
+
* Returns the first matching profile metadata for the provided pack identifier.
|
|
29
|
+
*/
|
|
30
|
+
declare function getRiddleProofPackProfileByPackId(packId: string): RiddleProofPackProfileManifest | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Returns every manifest entry that includes an explicit `pack_id`.
|
|
33
|
+
*/
|
|
34
|
+
declare function getPackEnabledRiddleProofPackProfiles(): readonly RiddleProofPackProfileManifest[];
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Returns profile metadata by canonical profile name.
|
|
38
|
+
*/
|
|
39
|
+
declare function getRiddleProofPackProfileManifest(name: string): RiddleProofPackProfileManifest | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Returns the profile JSON for a pack profile name or alias.
|
|
42
|
+
*/
|
|
43
|
+
declare function getRiddleProofPackProfile(name: string): _riddledc_riddle_proof.RiddleProofProfile;
|
|
44
|
+
/**
|
|
45
|
+
* Returns every manifest entry with the requested `pack_id`.
|
|
46
|
+
*/
|
|
47
|
+
declare function getRiddleProofProfilesByPackId(packId: string): readonly RiddleProofPackProfileManifest[];
|
|
48
|
+
|
|
49
|
+
interface RiddleProofPackProfileOverrides {
|
|
50
|
+
/** Override target URL for a particular invocation. */
|
|
51
|
+
url?: string;
|
|
52
|
+
/** Override route for profile launch. */
|
|
53
|
+
route?: string;
|
|
54
|
+
/** Runtime-specific target overrides. */
|
|
55
|
+
target?: Partial<RiddleProofProfile["target"]>;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Returns an instantiated, validated profile with lightweight invocation overrides applied.
|
|
59
|
+
*/
|
|
60
|
+
declare function instantiateRiddleProofProfile(profileName: string, options?: RiddleProofPackProfileOverrides): RiddleProofProfile;
|
|
61
|
+
|
|
62
|
+
export { RIDDLE_PROOF_PACK_MANIFEST, RIDDLE_PROOF_PACK_PROFILES, type RiddleProofPackProfileManifest, getPackEnabledRiddleProofPackProfiles, getRiddleProofPackProfile, getRiddleProofPackProfileByPackId, getRiddleProofPackProfileManifest, getRiddleProofProfilesByPackId, instantiateRiddleProofProfile, listRiddleProofPackProfiles, listRiddleProofPacks };
|