mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
Fix links for docs (#2908)
* fix docs paths * docsLink directive * fix: bugs (#2909) --------- Co-authored-by: Alex Inkin <alexander@inkin.ru>
This commit is contained in:
@@ -601,10 +601,6 @@ export class StartSdk<Manifest extends T.SDKManifest, Store> {
|
||||
setupPostInstall: (fn: InstallFn<Manifest, Store>) => PostInstall.of(fn),
|
||||
/**
|
||||
* @description Use this function to determine how this service will be hosted and served. The function executes on service install, service update, and inputSpec save.
|
||||
*
|
||||
* "input" will be of type `Input` for inputSpec save. It will be `null` for install and update.
|
||||
*
|
||||
* To learn about creating multi-hosts and interfaces, check out the {@link https://docs.start9.com/packaging-guide/learn/interfaces documentation}.
|
||||
* @param inputSpec - The inputSpec spec of this service as exported from /inputSpec/spec.
|
||||
* @param fn - an async function that returns an array of interface receipts. The function always has access to `effects`; it has access to `input` only after inputSpec save, otherwise `input` will be null.
|
||||
* @example
|
||||
@@ -612,8 +608,7 @@ export class StartSdk<Manifest extends T.SDKManifest, Store> {
|
||||
*
|
||||
* ```
|
||||
export const setInterfaces = sdk.setupInterfaces(
|
||||
inputSpecSpec,
|
||||
async ({ effects, input }) => {
|
||||
async ({ effects }) => {
|
||||
// ** UI multi-host **
|
||||
const uiMulti = sdk.MultiHost.of(effects, 'ui-multi')
|
||||
const uiMultiOrigin = await uiMulti.bindPort(80, {
|
||||
|
||||
Reference in New Issue
Block a user