ivaldi/source/types.ts
2025-07-08 15:06:16 +02:00

64 lines
1.2 KiB
TypeScript

/*
This file is part of »ivaldi«.
Copyright 2025 'Fenris Wolf' <fenris@folksprak.org>
»ivaldi« is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
»ivaldi« is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with »ivaldi«. If not, see <http://www.gnu.org/licenses/>.
*/
namespace _ivaldi
{
/**
*/
type type_lib = (
{
kind : "node";
data : {
modules : Array<string>;
};
}
|
{
kind : "plankton";
data : {
modules : Array<string>;
};
}
);
/**
*/
export type type_data = {
version : string;
name : string;
libs : Array<type_lib>;
sources : Array<string>;
target : ("node" | "web");
directories : {
lib : string;
source : string;
temp : string;
build : string;
makefile : string;
};
commands : {
typescript_compile : string;
};
};
}