@aidc-toolkit/app-extension 1.0.24-beta → 1.0.26-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
- export * from "./transformer-proxy";
2
- export * from "./reg-exp-proxy";
3
- export * from "./character-set-proxy";
1
+ export * from "./transformer-proxy.js";
2
+ export * from "./reg-exp-proxy.js";
3
+ export * from "./character-set-proxy.js";
@@ -1,9 +1,9 @@
1
1
  import type { Nullishable } from "@aidc-toolkit/core";
2
2
  import { RegExpValidator } from "@aidc-toolkit/utility";
3
- import { type ParameterDescriptor, ProxyClass, ProxyMethod, ProxyParameter, Types } from "../descriptor";
4
- import type { ErrorExtends, Matrix, MatrixResultError } from "../type";
5
- import { validateSParameterDescriptor } from "./string-descriptor";
6
- import { StringProxy } from "./string-proxy";
3
+ import { type ParameterDescriptor, ProxyClass, ProxyMethod, ProxyParameter, Types } from "../descriptor.js";
4
+ import type { ErrorExtends, Matrix, MatrixResultError } from "../type.js";
5
+ import { validateSParameterDescriptor } from "./string-descriptor.js";
6
+ import { StringProxy } from "./string-proxy.js";
7
7
 
8
8
  const regExpParameterDescriptor: ParameterDescriptor = {
9
9
  name: "regExp",
@@ -1,4 +1,4 @@
1
- import { type ParameterDescriptor, Types } from "../descriptor";
1
+ import { type ParameterDescriptor, Types } from "../descriptor.js";
2
2
 
3
3
  export const sParameterDescriptor: ParameterDescriptor = {
4
4
  name: "s",
@@ -1,6 +1,6 @@
1
1
  import type { StringValidation, StringValidator } from "@aidc-toolkit/utility";
2
- import { LibProxy } from "../lib-proxy";
3
- import type { ErrorExtends, Matrix, MatrixResultError } from "../type";
2
+ import { LibProxy } from "../lib-proxy.js";
3
+ import type { ErrorExtends, Matrix, MatrixResultError } from "../type.js";
4
4
 
5
5
  export abstract class StringProxy<ThrowError extends boolean, TError extends ErrorExtends<ThrowError>, TInvocationContext, TBigInt> extends LibProxy<ThrowError, TError, TInvocationContext, TBigInt> {
6
6
  protected validateString<TStringValidation extends StringValidation>(validator: StringValidator<TStringValidation>, matrixSs: Matrix<string>, validation?: TStringValidation): Matrix<string> {
@@ -1,4 +1,4 @@
1
- import { type ParameterDescriptor, Types } from "../descriptor";
1
+ import { type ParameterDescriptor, Types } from "../descriptor.js";
2
2
 
3
3
  export const valueParameterDescriptor: ParameterDescriptor = {
4
4
  name: "value",
@@ -1,14 +1,14 @@
1
1
  import type { Nullishable } from "@aidc-toolkit/core";
2
2
  import { mapIterable, Sequence, Transformer } from "@aidc-toolkit/utility";
3
- import { type ParameterDescriptor, ProxyClass, ProxyMethod, ProxyParameter, Types } from "../descriptor";
4
- import { LibProxy } from "../lib-proxy";
5
- import type { ErrorExtends, Matrix, MatrixResultError, ResultError } from "../type";
3
+ import { type ParameterDescriptor, ProxyClass, ProxyMethod, ProxyParameter, Types } from "../descriptor.js";
4
+ import { LibProxy } from "../lib-proxy.js";
5
+ import type { ErrorExtends, Matrix, MatrixResultError, ResultError } from "../type.js";
6
6
  import {
7
7
  countParameterDescriptor,
8
8
  startValueParameterDescriptor,
9
9
  tweakParameterDescriptor,
10
10
  valueParameterDescriptor
11
- } from "./transformer-descriptor";
11
+ } from "./transformer-descriptor.js";
12
12
 
13
13
  const domainParameterDescriptor: ParameterDescriptor = {
14
14
  name: "domain",
@@ -0,0 +1,4 @@
1
+ {
2
+ "extends": "@aidc-toolkit/dev/tsconfig-template.json",
3
+ "files": ["./eslint.config.ts", "./tsup.config.ts"]
4
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "extends": "@aidc-toolkit/dev/tsconfig-template.json",
3
+ "include": ["./src/**/*"],
4
+ "compilerOptions": {
5
+ // Emit.
6
+ "outDir": "dist",
7
+
8
+ // Language and environment.
9
+ "experimentalDecorators": true
10
+ }
11
+ }
package/tsconfig.json CHANGED
@@ -1,6 +1,11 @@
1
1
  {
2
- "extends": "@aidc-toolkit/dev/tsconfig.json",
3
- "compilerOptions": {
4
- "experimentalDecorators": true
5
- }
2
+ "include": [],
3
+ "references": [
4
+ {
5
+ "path": "./tsconfig-src.json"
6
+ },
7
+ {
8
+ "path": "./tsconfig-config.json"
9
+ }
10
+ ]
6
11
  }
package/tsup.config.ts CHANGED
@@ -1,3 +1,4 @@
1
- import { tsupConfigAIDCToolkit } from "@aidc-toolkit/dev";
1
+ import { tsupConfig } from "@aidc-toolkit/dev";
2
+ import { defineConfig } from "tsup";
2
3
 
3
- export default tsupConfigAIDCToolkit;
4
+ export default defineConfig(tsupConfig);