@tangle-network/blueprint-ui 0.1.2 → 0.3.1

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/dist/host.d.ts DELETED
@@ -1,96 +0,0 @@
1
- export { B as BlueprintHostHero, a as BlueprintHostHeroProps, b as BlueprintHostPanel, c as BlueprintHostPanelProps } from './BlueprintHostPanel-6iVEh-f1.js';
2
- import 'react/jsx-runtime';
3
- import 'react';
4
- import 'class-variance-authority/types';
5
- import 'class-variance-authority';
6
-
7
- type BlueprintAppVisibility = 'first-party' | 'third-party';
8
- type BlueprintPublisherVerification = 'first-party' | 'verified' | 'unverified';
9
- type BlueprintExperienceTier = 'generic' | 'declarative' | 'curated-module' | 'external-app';
10
- type BlueprintSlugPolicy = 'reserved' | 'publisher-scoped' | 'public-requested';
11
- type BlueprintUiSurface = 'generic-overview' | 'service-explorer' | 'service-console' | 'actions-panel' | 'resources' | 'chat' | 'vaults' | 'metrics' | 'permissions';
12
- type BlueprintResourceRoute = 'bots' | 'agents' | 'runs' | 'vault' | 'chat' | 'custom';
13
- type BlueprintPermissionScope = 'blueprint' | 'service' | 'resource';
14
- type BlueprintExternalAppMode = 'link' | 'iframe';
15
- type BlueprintExternalAppTrust = 'trusted' | 'restricted';
16
- type BlueprintPublisher = {
17
- label: string;
18
- namespace?: string;
19
- visibility: BlueprintAppVisibility;
20
- verification: BlueprintPublisherVerification;
21
- };
22
- type BlueprintResourceModel = {
23
- serviceNoun: string;
24
- resourceNoun: string;
25
- resourceRoute?: BlueprintResourceRoute;
26
- };
27
- type BlueprintPermissionDescriptor = {
28
- key: string;
29
- label: string;
30
- scope: BlueprintPermissionScope;
31
- description?: string;
32
- };
33
- type BlueprintExternalAppConfig = {
34
- url: string;
35
- mode: BlueprintExternalAppMode;
36
- label?: string;
37
- host: string;
38
- trust: BlueprintExternalAppTrust;
39
- reason?: string;
40
- };
41
- type BlueprintUiManifest = {
42
- displayName: string;
43
- tagline: string;
44
- description: string;
45
- surfaces: BlueprintUiSurface[];
46
- resources: BlueprintResourceModel;
47
- permissions?: BlueprintPermissionDescriptor[];
48
- externalApp?: BlueprintExternalAppConfig;
49
- };
50
- type BlueprintAppModuleBinding = {
51
- moduleId: string;
52
- status: 'active' | 'planned';
53
- };
54
- type BlueprintAppEntry = {
55
- slug: string;
56
- canonicalSlug?: string;
57
- blueprintId?: bigint;
58
- publisher: BlueprintPublisher;
59
- tier: BlueprintExperienceTier;
60
- slugPolicy: BlueprintSlugPolicy;
61
- manifest: BlueprintUiManifest;
62
- module?: BlueprintAppModuleBinding;
63
- };
64
- type BlueprintAppResolvedView = {
65
- slug: string;
66
- canonicalSlug: string;
67
- blueprintId?: bigint;
68
- publisher: BlueprintPublisher;
69
- tier: BlueprintExperienceTier;
70
- slugPolicy: BlueprintSlugPolicy;
71
- manifest: BlueprintUiManifest;
72
- module?: BlueprintAppModuleBinding;
73
- fallbackEnabled: boolean;
74
- };
75
-
76
- declare function buildCanonicalBlueprintSlug(entry: BlueprintAppEntry): string;
77
- declare function resolveBlueprintAppView(entry: BlueprintAppEntry): BlueprintAppResolvedView;
78
- declare function toBlueprintAppEntry(view: BlueprintAppResolvedView): BlueprintAppEntry;
79
- declare function getBlueprintExperienceTierLabel(tier: BlueprintExperienceTier): string;
80
- declare function getBlueprintSlugPolicyLabel(policy: BlueprintSlugPolicy): string;
81
- declare function getBlueprintSurfaceLabel(surface: BlueprintUiSurface): string;
82
- declare function getBlueprintPublisherVerificationLabel(verification: BlueprintPublisherVerification): string;
83
- declare function getExternalAppTrustLabel(trust: BlueprintExternalAppTrust): string;
84
- declare function isVerifiedBlueprintPublisher(publisher: BlueprintPublisher): boolean;
85
- declare function canPublisherClaimSlug(slug: string, publisher?: Pick<BlueprintPublisher, 'namespace' | 'verification'>, reservedSlugs?: Set<string>): boolean;
86
- declare function isTrustedExternalAppHost(host: string, trustedHosts?: readonly string[]): boolean;
87
- declare function getBlueprintPath(view: BlueprintAppResolvedView): string;
88
- declare function getBlueprintServicePath(view: BlueprintAppResolvedView, serviceId: string): string;
89
- declare function sanitizeBlueprintSlugPart(value: string): string;
90
- declare function deriveBlueprintRequestedSlug(blueprint: Pick<{
91
- name: string;
92
- author: string;
93
- id: bigint;
94
- }, 'name' | 'author' | 'id'>): string;
95
-
96
- export { type BlueprintAppEntry, type BlueprintAppModuleBinding, type BlueprintAppResolvedView, type BlueprintAppVisibility, type BlueprintExperienceTier, type BlueprintExternalAppConfig, type BlueprintExternalAppMode, type BlueprintExternalAppTrust, type BlueprintPermissionDescriptor, type BlueprintPermissionScope, type BlueprintPublisher, type BlueprintPublisherVerification, type BlueprintResourceModel, type BlueprintResourceRoute, type BlueprintSlugPolicy, type BlueprintUiManifest, type BlueprintUiSurface, buildCanonicalBlueprintSlug, canPublisherClaimSlug, deriveBlueprintRequestedSlug, getBlueprintExperienceTierLabel, getBlueprintPath, getBlueprintPublisherVerificationLabel, getBlueprintServicePath, getBlueprintSlugPolicyLabel, getBlueprintSurfaceLabel, getExternalAppTrustLabel, isTrustedExternalAppHost, isVerifiedBlueprintPublisher, resolveBlueprintAppView, sanitizeBlueprintSlugPart, toBlueprintAppEntry };
package/dist/host.js DELETED
@@ -1,39 +0,0 @@
1
- import {
2
- BlueprintHostHero,
3
- BlueprintHostPanel,
4
- buildCanonicalBlueprintSlug,
5
- canPublisherClaimSlug,
6
- deriveBlueprintRequestedSlug,
7
- getBlueprintExperienceTierLabel,
8
- getBlueprintPath,
9
- getBlueprintPublisherVerificationLabel,
10
- getBlueprintServicePath,
11
- getBlueprintSlugPolicyLabel,
12
- getBlueprintSurfaceLabel,
13
- getExternalAppTrustLabel,
14
- isTrustedExternalAppHost,
15
- isVerifiedBlueprintPublisher,
16
- resolveBlueprintAppView,
17
- sanitizeBlueprintSlugPart,
18
- toBlueprintAppEntry
19
- } from "./chunk-GD3AZEJL.js";
20
- export {
21
- BlueprintHostHero,
22
- BlueprintHostPanel,
23
- buildCanonicalBlueprintSlug,
24
- canPublisherClaimSlug,
25
- deriveBlueprintRequestedSlug,
26
- getBlueprintExperienceTierLabel,
27
- getBlueprintPath,
28
- getBlueprintPublisherVerificationLabel,
29
- getBlueprintServicePath,
30
- getBlueprintSlugPolicyLabel,
31
- getBlueprintSurfaceLabel,
32
- getExternalAppTrustLabel,
33
- isTrustedExternalAppHost,
34
- isVerifiedBlueprintPublisher,
35
- resolveBlueprintAppView,
36
- sanitizeBlueprintSlugPart,
37
- toBlueprintAppEntry
38
- };
39
- //# sourceMappingURL=host.js.map
package/dist/host.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}