---
config:
theme: dark
sequence:
noteAlign: left
---
sequenceDiagram
participant Headless as @coveo/headless
participant SSR as Server-side
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { resolve, parse } from "node:path"; | |
import { readFile, writeFile } from "node:fs/promises"; | |
/** | |
* @typedef File | |
* @property {'file'} type | |
*/ | |
/** | |
* @typedef Directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @typedef Assets | |
* @property {string} [baseSrcPath] | |
* @property {string | string[]} globs | |
*/ | |
/** | |
* @typedef Package | |
* @property {string} packageName | |
* @property {Assets | Assets[]} assets |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "search", | |
"controllers": [ | |
{ | |
"initializer": { | |
"kind": "function", | |
"name": "buildHistoryManager", | |
"params": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @typedef IQueryResult | |
* @property {IQueryResult[]} [childResults] | |
* @property {IQueryResult} [parentResult] | |
* @property {{ foldingcollection?: string, foldingparent?: string, foldingchild?: string, source: string }} raw | |
*/ | |
/** | |
* @param {IQueryResult} parent | |
* @param {IQueryResult[]} results |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html dir="ltr" lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" /> | |
<title>Coveo Atomic: Custom component example</title> | |
<script type="module" src="/build/atomic.esm.js"></script> | |
<script nomodule src="/build/atomic.js"></script> | |
<link rel="stylesheet" href="/themes/coveo.css" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "ui-kit", | |
"lockfileVersion": 2, | |
"requires": true, | |
"packages": { | |
"": { | |
"name": "ui-kit", | |
"devDependencies": { | |
"@actions/core": "1.8.2", | |
"@actions/github": "4.0.0", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Recursive decoder</title> | |
<script> | |
/** | |
* @param {string} obj |
NewerOlder