Model - Remote URL

Last modified by Manuel Leduc on 2024/11/25 16:56

Developer

RemoteURLParserProvider

import { RemoteURLParser } from "./remoteURLParser";

/**
 * @since 0.12
 */

interface RemoteURLParserProvider {
  get(type?: string): RemoteURLParser | undefined;
}

RemoteURLSerializerProvider

import { RemoteURLSerializer } from "./remoteURLSerializer";

/**
 * @since 0.12
 */

interface RemoteURLSerializerProvider {
  get(type?: string): RemoteURLSerializer | undefined;
}

RemoteURLParser

import { EntityReference } from "@xwiki/cristal-model-api";

/**
 * @since 0.12
 * @throws {@link Error} in case of issue when parsing the url
 */

interface RemoteURLParser {
  parse(url: string): EntityReference | undefined;
}

Supported backends

RemoteURLSerializer

import { EntityReference } from "@xwiki/cristal-model-api";

/**
 * @since 0.12
 */

interface RemoteURLSerializer {
  serialize(reference?: EntityReference): string | undefined;
}
Supported backend

N/A

France 2030 Logo

This project is being financed by the French State as part of the France 2030 program

Ce projet est financé par l’État Français dans le cadre de France 2030

  • Powered by XWiki 16.4.4-node2. Hosted and managed by XWiki SAS

Get Connected