@xylex-group/athena 3.0.3 → 3.3.0
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.
- package/README.md +1 -1
- package/dist/admin.cjs +55 -1
- package/dist/admin.cjs.map +1 -1
- package/dist/admin.d.cts +32 -8
- package/dist/admin.d.ts +32 -8
- package/dist/admin.js +54 -2
- package/dist/admin.js.map +1 -1
- package/dist/athena-auth-url-C1FbVmN6.d.cts +200 -0
- package/dist/athena-auth-url-C1FbVmN6.d.ts +200 -0
- package/dist/{athena-request-headers-C7Jy-c_D.d.ts → athena-request-headers-DzimbvOA.d.ts} +48 -200
- package/dist/{athena-request-headers-DujFFyMU.d.cts → athena-request-headers-Lr_m8xCV.d.cts} +48 -200
- package/dist/billing.cjs +1 -1
- package/dist/billing.cjs.map +1 -1
- package/dist/billing.js +1 -1
- package/dist/billing.js.map +1 -1
- package/dist/browser.cjs +912 -5
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +8 -7
- package/dist/browser.d.ts +8 -7
- package/dist/browser.js +881 -6
- package/dist/browser.js.map +1 -1
- package/dist/cli/index.cjs +7909 -7061
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.d.cts +17 -10
- package/dist/cli/index.d.ts +17 -10
- package/dist/cli/index.js +7911 -7063
- package/dist/cli/index.js.map +1 -1
- package/dist/env.cjs +130 -0
- package/dist/env.cjs.map +1 -0
- package/dist/env.d.cts +70 -0
- package/dist/env.d.ts +70 -0
- package/dist/env.js +122 -0
- package/dist/env.js.map +1 -0
- package/dist/index.cjs +1570 -98
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +31 -8
- package/dist/index.d.ts +31 -8
- package/dist/index.js +1532 -100
- package/dist/index.js.map +1 -1
- package/dist/model-form-3Gr8rkdT.d.cts +281 -0
- package/dist/model-form-CotpEL7z.d.ts +281 -0
- package/dist/{module-CPG3ULxQ.d.cts → module-CQmOaDzP.d.cts} +4 -4
- package/dist/{module-BruTcxe0.d.ts → module-CWkUTcUc.d.ts} +4 -4
- package/dist/next/client.cjs +123 -7
- package/dist/next/client.cjs.map +1 -1
- package/dist/next/client.d.cts +4 -3
- package/dist/next/client.d.ts +4 -3
- package/dist/next/client.js +123 -7
- package/dist/next/client.js.map +1 -1
- package/dist/next/server.cjs +1130 -364
- package/dist/next/server.cjs.map +1 -1
- package/dist/next/server.d.cts +121 -8
- package/dist/next/server.d.ts +121 -8
- package/dist/next/server.js +1120 -365
- package/dist/next/server.js.map +1 -1
- package/dist/pipeline-BnRKO_Pd.d.cts +93 -0
- package/dist/pipeline-sWCmlFqu.d.ts +93 -0
- package/dist/{proxy-request-headers-m4D2Tduy.d.ts → proxy-request-headers-CttlcuRb.d.ts} +1 -1
- package/dist/{proxy-request-headers-DGxdoyA0.d.cts → proxy-request-headers-pIBSn1Fw.d.cts} +1 -1
- package/dist/react.cjs +672 -16
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +123 -8
- package/dist/react.d.ts +123 -8
- package/dist/react.js +671 -17
- package/dist/react.js.map +1 -1
- package/dist/schema-handlers-BtT_IQFi.d.cts +138 -0
- package/dist/schema-handlers-VjFDhIMw.d.ts +138 -0
- package/dist/social-providers.d.cts +1 -1
- package/dist/social-providers.d.ts +1 -1
- package/dist/{types-D6tZ9aoq.d.ts → types-BDX8zS7w.d.ts} +40 -1
- package/dist/{types-AOY-GLu8.d.cts → types-BVKpQmfY.d.cts} +11 -0
- package/dist/{types-AOY-GLu8.d.ts → types-BVKpQmfY.d.ts} +11 -0
- package/dist/{types-DFr2cL1N.d.cts → types-D-Am7YSd.d.cts} +40 -1
- package/dist/utils.cjs +30 -0
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +3 -2
- package/dist/utils.d.ts +3 -2
- package/dist/utils.js +30 -1
- package/dist/utils.js.map +1 -1
- package/dist/{v3-client-CWfZHcKL.d.cts → v3-client-G1SLeHRa.d.cts} +23 -1
- package/dist/{v3-client-DZp2NEhK.d.ts → v3-client-ao8BWQ8v.d.ts} +23 -1
- package/package.json +16 -2
- package/dist/model-form-Dh0sisdL.d.ts +0 -97
- package/dist/model-form-oOAJUVd4.d.cts +0 -97
- package/dist/pipeline-CIzV9f7b.d.cts +0 -8
- package/dist/pipeline-DNlc8Ayn.d.ts +0 -8
package/dist/cli/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as runSchemaGenerator } from '../pipeline-
|
|
2
|
-
import '../types-
|
|
1
|
+
import { r as runSchemaGenerator, e as ensureGeneratorConfigFile } from '../pipeline-BnRKO_Pd.cjs';
|
|
2
|
+
import '../types-D-Am7YSd.cjs';
|
|
3
3
|
import '../types-Bltx6iL6.cjs';
|
|
4
4
|
import '../types-CgCv5o6R.cjs';
|
|
5
5
|
|
|
@@ -7,14 +7,27 @@ interface GenerateCommand {
|
|
|
7
7
|
command: 'generate';
|
|
8
8
|
configPath?: string;
|
|
9
9
|
dryRun: boolean;
|
|
10
|
+
/** When false, never write/update athena.config.ts. Default true. */
|
|
11
|
+
writeConfig: boolean;
|
|
12
|
+
/** When false, skip live schema discovery. Default true. */
|
|
13
|
+
discoverSchemas: boolean;
|
|
14
|
+
}
|
|
15
|
+
interface InitCommand {
|
|
16
|
+
command: 'init';
|
|
17
|
+
configPath?: string;
|
|
18
|
+
dryRun: boolean;
|
|
19
|
+
force: boolean;
|
|
20
|
+
mode: 'direct' | 'gateway' | 'auto';
|
|
21
|
+
discoverSchemas: boolean;
|
|
10
22
|
}
|
|
11
23
|
interface HelpCommand {
|
|
12
24
|
command: 'help';
|
|
13
|
-
topic: 'root' | 'generate';
|
|
25
|
+
topic: 'root' | 'generate' | 'init';
|
|
14
26
|
}
|
|
15
|
-
type CliCommand = GenerateCommand | HelpCommand;
|
|
27
|
+
type CliCommand = GenerateCommand | InitCommand | HelpCommand;
|
|
16
28
|
interface CliRuntime {
|
|
17
29
|
runGenerator?: typeof runSchemaGenerator;
|
|
30
|
+
ensureConfig?: typeof ensureGeneratorConfigFile;
|
|
18
31
|
log?: (message: string) => void;
|
|
19
32
|
/** Defaults to `console.error`. */
|
|
20
33
|
errorLog?: (message: string) => void;
|
|
@@ -25,12 +38,6 @@ declare function parseCommand(argv: string[]): CliCommand;
|
|
|
25
38
|
* Print a CLI error to stderr with optional stack when `ATHENA_JS_DEBUG=1`.
|
|
26
39
|
*/
|
|
27
40
|
declare function logCliError(error: unknown, errorLog?: (message: string) => void): void;
|
|
28
|
-
/**
|
|
29
|
-
* CLI entrypoint used by `bin/athena-js.js`.
|
|
30
|
-
*
|
|
31
|
-
* Generator failures are logged with diagnostics (code, remote, cause chain)
|
|
32
|
-
* and exit with code `1` instead of only throwing a bare message.
|
|
33
|
-
*/
|
|
34
41
|
declare function runCLI(argv: string[], runtime?: CliRuntime): Promise<void>;
|
|
35
42
|
|
|
36
43
|
export { type CliRuntime, logCliError, parseCommand, runCLI, usage };
|
package/dist/cli/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as runSchemaGenerator } from '../pipeline-
|
|
2
|
-
import '../types-
|
|
1
|
+
import { r as runSchemaGenerator, e as ensureGeneratorConfigFile } from '../pipeline-sWCmlFqu.js';
|
|
2
|
+
import '../types-BDX8zS7w.js';
|
|
3
3
|
import '../types-Bltx6iL6.js';
|
|
4
4
|
import '../types-B75PdABb.js';
|
|
5
5
|
|
|
@@ -7,14 +7,27 @@ interface GenerateCommand {
|
|
|
7
7
|
command: 'generate';
|
|
8
8
|
configPath?: string;
|
|
9
9
|
dryRun: boolean;
|
|
10
|
+
/** When false, never write/update athena.config.ts. Default true. */
|
|
11
|
+
writeConfig: boolean;
|
|
12
|
+
/** When false, skip live schema discovery. Default true. */
|
|
13
|
+
discoverSchemas: boolean;
|
|
14
|
+
}
|
|
15
|
+
interface InitCommand {
|
|
16
|
+
command: 'init';
|
|
17
|
+
configPath?: string;
|
|
18
|
+
dryRun: boolean;
|
|
19
|
+
force: boolean;
|
|
20
|
+
mode: 'direct' | 'gateway' | 'auto';
|
|
21
|
+
discoverSchemas: boolean;
|
|
10
22
|
}
|
|
11
23
|
interface HelpCommand {
|
|
12
24
|
command: 'help';
|
|
13
|
-
topic: 'root' | 'generate';
|
|
25
|
+
topic: 'root' | 'generate' | 'init';
|
|
14
26
|
}
|
|
15
|
-
type CliCommand = GenerateCommand | HelpCommand;
|
|
27
|
+
type CliCommand = GenerateCommand | InitCommand | HelpCommand;
|
|
16
28
|
interface CliRuntime {
|
|
17
29
|
runGenerator?: typeof runSchemaGenerator;
|
|
30
|
+
ensureConfig?: typeof ensureGeneratorConfigFile;
|
|
18
31
|
log?: (message: string) => void;
|
|
19
32
|
/** Defaults to `console.error`. */
|
|
20
33
|
errorLog?: (message: string) => void;
|
|
@@ -25,12 +38,6 @@ declare function parseCommand(argv: string[]): CliCommand;
|
|
|
25
38
|
* Print a CLI error to stderr with optional stack when `ATHENA_JS_DEBUG=1`.
|
|
26
39
|
*/
|
|
27
40
|
declare function logCliError(error: unknown, errorLog?: (message: string) => void): void;
|
|
28
|
-
/**
|
|
29
|
-
* CLI entrypoint used by `bin/athena-js.js`.
|
|
30
|
-
*
|
|
31
|
-
* Generator failures are logged with diagnostics (code, remote, cause chain)
|
|
32
|
-
* and exit with code `1` instead of only throwing a bare message.
|
|
33
|
-
*/
|
|
34
41
|
declare function runCLI(argv: string[], runtime?: CliRuntime): Promise<void>;
|
|
35
42
|
|
|
36
43
|
export { type CliRuntime, logCliError, parseCommand, runCLI, usage };
|