/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime"; import { Attachment, HttpProblem, LdpContainer, Literal, NetworkProblem, PodOS, Problem, Relation, SolidFile, Thing } from "@pod-os/core"; import { ToolConfig } from "./components/pos-type-router/selectToolsForTypes"; import { ResultAsync } from "neverthrow"; export { Attachment, HttpProblem, LdpContainer, Literal, NetworkProblem, PodOS, Problem, Relation, SolidFile, Thing } from "@pod-os/core"; export { ToolConfig } from "./components/pos-type-router/selectToolsForTypes"; export { ResultAsync } from "neverthrow"; export namespace Components { interface PosAddLiteralValue { } interface PosAddNewThing { "referenceUri": string; } /** * Add a new relation from the current resource to another one */ interface PosAddRelation { } interface PosApp { /** * @default false */ "restorePreviousSession": boolean; } interface PosAppBrowser { /** * The mode the app is running in: - standalone: use this when you deploy it as a standalone web application - pod: use this when you host this app as a default interface for you pod * @default 'standalone' */ "mode": 'standalone' | 'pod'; /** * @default false */ "restorePreviousSession": boolean; } interface PosAppDashboard { } interface PosAppDocumentViewer { } interface PosAppGeneric { } interface PosAppImageViewer { } interface PosAppLdpContainer { } interface PosAppRdfDocument { } interface PosAppSettings { } /** * Lists whatever is attached to the current thing */ interface PosAttachments { /** * Adds an attachment visually to the list of attachments. This only adds an entry to the list, it does not actually upload the attachment. It is meant to be used after an attachment has been uploaded to update the view. * @param attachment The attachment to add to the list. */ "addToList": (attachment: Attachment) => Promise; } /** * Defines a template to use if the specified condition is met - to be used with [pos-switch](https://pod-os.org/reference/elements/components/pos-switch/). * See [storybook](https://pod-os.github.io/PodOS/storybook/?path=/story/basics--pos-switch) for an example. */ interface PosCase { /** * The test only evaluates to true if tests for preceding cases have failed */ "else"?: boolean; /** * Test if the resource has the specified property (forward link) */ "ifProperty"?: string; /** * Test if the resource is the subject of the specified property (backward link) */ "ifRev"?: string; /** * Test if the resource is of the specified type */ "ifTypeof"?: string; /** * Negates the result of the test */ "not"?: boolean; } interface PosContainerContents { } interface PosContainerItem { } interface PosContainerToolbar { } interface PosCreateNewContainerItem { "container": LdpContainer; "type": 'file' | 'folder'; } interface PosDescription { } /** * Styled wrapper around native dialog element, with slots `title` and `content` */ interface PosDialog { "close": () => Promise; "showModal": () => Promise; } interface PosDocument { "alt": string; "src": string; } interface PosErrorToast { } interface PosExampleResources { } interface PosGettingStarted { } /** * Tries fetch an image with the solid authentication, and can visualize http errors like 403 or 404 if this fails. * Falls back to classic `` on network errors like CORS. * Renders a normal link if even this fails. */ interface PosImage { "alt": string; /** * Use a blurred version of the image as its own background, if the image is scaled down to fit into the container. * @default false */ "blurredBackground": boolean; "src": string; } interface PosInternalRouter { /** * @default 'pod-os:dashboard' */ "uri": string; } /** * Displays a human-readable label of the resource, provided by [Thing.label()](https://pod-os.org/reference/core/classes/thing/#label) */ interface PosLabel { } /** * Renders a template for each resource in a list. The list is either defined by a relation from the parent resource * or by a class for which instances will be listed. * `pos-list` must contain a `