This file contains 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
namespace $ { | |
export type $mol_file_type = 'file' | 'dir' | 'link' | |
export interface $mol_file_stat { | |
type: $mol_file_type | |
size: number | |
atime: Date | |
mtime: Date | |
ctime: Date |
This file contains 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
unlinkDir: /home/urchik/projects/ocas/mam/hyoo/board/-/hyoo/board/logo | |
unlinkDir: /home/urchik/projects/ocas/mam/hyoo/board/-/hyoo/board | |
unlinkDir: /home/urchik/projects/ocas/mam/hyoo/board/group/-css | |
unlinkDir: /home/urchik/projects/ocas/mam/hyoo/board/group/-view.tree | |
reset: /home/urchik/projects/ocas/mam/hyoo/board/-/hyoo/board/logo | |
reset: /home/urchik/projects/ocas/mam/hyoo/board/-/hyoo/board | |
reset: /home/urchik/projects/ocas/mam/hyoo/board/group/-css | |
reset: /home/urchik/projects/ocas/mam/hyoo/board/group/-view.tree | |
reset: /home/urchik/projects/ocas/mam/hyoo/board/-/hyoo/board | |
reset: /home/urchik/projects/ocas/mam/hyoo/board/-/hyoo |
This file contains 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
entryPoints: | |
http: | |
address: :9081 | |
https: | |
address: :9082 | |
http: | |
tls: {} | |
local_http: | |
address: :9091 | |
providers: |
This file contains 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
// @ts-check | |
import url from 'node:url' | |
import { basename, join } from 'node:path' | |
import { stat, writeFile, readFile } from 'node:fs/promises' | |
import { spawn } from 'node:child_process' | |
/** | |
* @param {unknown} value | |
* @returns {value is import('esbuild').Plugin} |
This file contains 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
``` | |
cloc . --not-match-d=".*(node_modules|-|legacy|npm|\.mam|\.ci|adm).*" | |
424 text files. | |
287 unique files. | |
3980 files ignored. | |
github.com/AlDanial/cloc v 2.00 T=0.32 s (890.4 files/s, 59111.0 lines/s) | |
------------------------------------------------------------------------------- | |
Language files blank comment code | |
------------------------------------------------------------------------------- |
This file contains 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 { buildSync } from 'esbuild' | |
import { join } from 'path' | |
import { writeFileSync, readFileSync } from 'fs' | |
import { spawnSync } from 'child_process' | |
export function gdKitBuild({ args }) { | |
const monorepo_root = process.cwd() | |
const sync_opts = { | |
stdio: 'inherit', | |
stderr: 'inherit', |
This file contains 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
namespace $ { | |
const str = () => ('00000000000000000' + (Math.random() * 0xffffffffffffffff).toString(16)).slice(-16) | |
export class $gd_kit_entity extends $mol_object { | |
constructor(id?: string) { | |
super() | |
if (id) this.id = $mol_const(id) | |
} |
This file contains 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 { context, build } from 'esbuild' | |
import { glsl } from 'esbuild-plugin-glsl' | |
import resolve from 'esbuild-plugin-resolve' | |
import url from 'url' | |
const metaUrl = import.meta.url | |
const args = process.argv.slice(2) | |
const absWorkingDir = url.fileURLToPath(new URL('.', metaUrl)) | |
const config = { |
This file contains 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
namespace $ { | |
export type $gd_kit_media_resource = { id: string, text: string } | |
export class $gd_kit_media_sequence extends $mol_audio_room { | |
tts_id() { | |
return '' as string | null | undefined | |
} | |
@ $mol_mem_key |
This file contains 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
namespace $ { | |
export type $gd_speech_ws_command = | |
| { | |
cmd: 'init' | |
data: { | |
app_ref: string | |
audio_guid: string | |
final_sep: string | |
samplerate: number | |
source: string |
NewerOlder