Compare commits
18 Commits
Author | SHA1 | Date | |
---|---|---|---|
e13236e10f | |||
18d52a9018 | |||
582b269d63 | |||
6293db82fd | |||
eda528b6d9 | |||
4e52240ae7 | |||
61b6835b31 | |||
48c65d726b | |||
8b61ec02a2 | |||
90c3a9b3b4 | |||
f25fb72924 | |||
995f7772ef | |||
60a528aad4 | |||
310d60a84e | |||
5fd5fc501f | |||
bf79856f67 | |||
b1025faa62 | |||
f22ec7d654 |
10
package.json
10
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "4.0.43",
|
"version": "4.0.52",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "common classes for TypeScript",
|
"description": "common classes for TypeScript",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
@ -26,14 +26,14 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/tsclass/tsclass#readme",
|
"homepage": "https://github.com/tsclass/tsclass#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"type-fest": "^4.3.1"
|
"type-fest": "^4.10.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@git.zone/tsbuild": "^2.1.70",
|
"@git.zone/tsbuild": "^2.1.72",
|
||||||
"@git.zone/tsrun": "^1.2.46",
|
"@git.zone/tsrun": "^1.2.46",
|
||||||
"@git.zone/tstest": "^1.0.81",
|
"@git.zone/tstest": "^1.0.86",
|
||||||
"@push.rocks/tapbundle": "^5.0.15",
|
"@push.rocks/tapbundle": "^5.0.15",
|
||||||
"@types/node": "^20.6.0"
|
"@types/node": "^20.11.17"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"ts/**/*",
|
"ts/**/*",
|
||||||
|
1089
pnpm-lock.yaml
generated
1089
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@tsclass/tsclass',
|
name: '@tsclass/tsclass',
|
||||||
version: '4.0.43',
|
version: '4.0.52',
|
||||||
description: 'common classes for TypeScript'
|
description: 'common classes for TypeScript'
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,12 @@ import { type ICompany } from './company.js';
|
|||||||
import { type IContact } from './contact.js';
|
import { type IContact } from './contact.js';
|
||||||
export class IJob {
|
export class IJob {
|
||||||
type: 'contract' | 'employment';
|
type: 'contract' | 'employment';
|
||||||
|
techTags?: string[];
|
||||||
|
qualificationTags?: string[];
|
||||||
|
languages?: {
|
||||||
|
name: string;
|
||||||
|
level: 'basic' | 'intermediate' | 'advanced' | 'native';
|
||||||
|
}[];
|
||||||
name: string;
|
name: string;
|
||||||
description: string;
|
description: string;
|
||||||
monthlyTotal: number;
|
monthlyTotal: number;
|
||||||
|
@ -2,6 +2,13 @@ import * as business from './index.js';
|
|||||||
import * as finance from '../finance/index.js';
|
import * as finance from '../finance/index.js';
|
||||||
import * as database from '../database/index.js';
|
import * as database from '../database/index.js';
|
||||||
export interface ILetter {
|
export interface ILetter {
|
||||||
|
versionInfo: {
|
||||||
|
type: 'draft' | 'final';
|
||||||
|
/**
|
||||||
|
* should follow semVer
|
||||||
|
*/
|
||||||
|
version: string;
|
||||||
|
};
|
||||||
incidenceId: string;
|
incidenceId: string;
|
||||||
type: 'invoice' | 'notice' | 'warning' | 'verification' | 'contract';
|
type: 'invoice' | 'notice' | 'warning' | 'verification' | 'contract';
|
||||||
date: number;
|
date: number;
|
||||||
|
@ -25,11 +25,15 @@ import * as network from './network/index.js';
|
|||||||
// SaaS
|
// SaaS
|
||||||
import * as saas from './saas/index.js';
|
import * as saas from './saas/index.js';
|
||||||
|
|
||||||
|
// Storage
|
||||||
|
import * as storage from './storage/index.js';
|
||||||
|
|
||||||
// Website
|
// Website
|
||||||
import * as website from './website/index.js';
|
import * as website from './website/index.js';
|
||||||
|
|
||||||
export { business, container, code, database, finance, content, general, network, saas, website };
|
export { business, container, code, database, finance, content, general, network, saas, storage, website };
|
||||||
|
|
||||||
import type * as typeFest from 'type-fest';
|
import type * as typeFest from 'type-fest';
|
||||||
|
import * as typeFestOwn from './typefest.own.js';
|
||||||
|
|
||||||
export { type typeFest };
|
export { type typeFest, type typeFestOwn };
|
||||||
|
@ -4,6 +4,8 @@ export * from './device.js';
|
|||||||
export * from './dns.js';
|
export * from './dns.js';
|
||||||
export * from './dnschallenge.js';
|
export * from './dnschallenge.js';
|
||||||
export * from './domaindelegation.js';
|
export * from './domaindelegation.js';
|
||||||
|
export * from './jwt.js';
|
||||||
export * from './networknode.js';
|
export * from './networknode.js';
|
||||||
export * from './request.js';
|
export * from './request.js';
|
||||||
export * from './reverseproxy.js';
|
export * from './reverseproxy.js';
|
||||||
|
export * from './ssh.js';
|
||||||
|
4
ts/network/jwt.ts
Normal file
4
ts/network/jwt.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export interface IJwtKeypair {
|
||||||
|
privatePem: string;
|
||||||
|
publicPem: string;
|
||||||
|
}
|
5
ts/network/ssh.ts
Normal file
5
ts/network/ssh.ts
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
export interface ISshKey {
|
||||||
|
keyName: string;
|
||||||
|
public: string;
|
||||||
|
private?: string;
|
||||||
|
}
|
7
ts/storage/index.ts
Normal file
7
ts/storage/index.ts
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
export interface IS3Descriptor {
|
||||||
|
endpoint: string;
|
||||||
|
port?: number;
|
||||||
|
useSsl?: boolean;
|
||||||
|
accessKey: string;
|
||||||
|
accessSecret: string;
|
||||||
|
}
|
8
ts/typefest.own.ts
Normal file
8
ts/typefest.own.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
type SecondArgument<T> = T extends (arg1: any, arg2: infer P, ...args: any[]) => any ? P : never;
|
||||||
|
|
||||||
|
type ValueType<T> = T extends { [key: string]: infer U } ? U : never;
|
||||||
|
|
||||||
|
export type {
|
||||||
|
SecondArgument,
|
||||||
|
ValueType
|
||||||
|
}
|
Reference in New Issue
Block a user