web_plsql 1.8.2 → 1.8.4

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.
@@ -6,8 +6,8 @@
6
6
  <title>web_plsql Admin Console</title>
7
7
  <link rel="icon" type="image/svg+xml" href="/admin/assets/favicon-mQAM4tVu.svg" />
8
8
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
9
- <script type="module" crossorigin src="/admin/assets/main-CryM96vZ.js"></script>
10
- <link rel="stylesheet" crossorigin href="/admin/assets/main-CoERzZAr.css">
9
+ <script type="module" crossorigin src="/admin/assets/main-DhSIoaS4.js"></script>
10
+ <link rel="stylesheet" crossorigin href="/admin/assets/main-CBxeWHJN.css">
11
11
  </head>
12
12
  <body class="dark">
13
13
  <div class="app-container">
Binary file
Binary file
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import z$1, { z } from "zod";
1
+ import z, { z as z$1 } from "zod";
2
2
  import oracledb, { BindParameter, BindParameters, BindParameters as BindParameters$1, Connection, Connection as Connection$1, DbType, ExecuteOptions, Lob, Pool, Pool as Pool$1, Result, Result as Result$1 } from "oracledb";
3
3
  import http from "node:http";
4
4
  import https from "node:https";
@@ -99,39 +99,39 @@ type CustomAuthCallback = (req: Request, connectionPool: Pool) => Promise<string
99
99
  /**
100
100
  * PL/SQL handler behavior configuration
101
101
  */
102
- declare const z$configPlSqlHandlerType: z$1.ZodObject<{
103
- defaultPage: z$1.ZodString;
104
- pathAlias: z$1.ZodOptional<z$1.ZodString>;
105
- pathAliasProcedure: z$1.ZodOptional<z$1.ZodString>;
106
- documentTable: z$1.ZodString;
107
- exclusionList: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
108
- requestValidationFunction: z$1.ZodOptional<z$1.ZodString>;
109
- transactionMode: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodCustom<transactionCallbackType, transactionCallbackType>, z$1.ZodLiteral<"commit">, z$1.ZodLiteral<"rollback">, z$1.ZodUndefined, z$1.ZodNull]>>;
110
- errorStyle: z$1.ZodEnum<{
102
+ declare const z$configPlSqlHandlerType: z.ZodObject<{
103
+ defaultPage: z.ZodString;
104
+ pathAlias: z.ZodOptional<z.ZodString>;
105
+ pathAliasProcedure: z.ZodOptional<z.ZodString>;
106
+ documentTable: z.ZodString;
107
+ exclusionList: z.ZodOptional<z.ZodArray<z.ZodString>>;
108
+ requestValidationFunction: z.ZodOptional<z.ZodString>;
109
+ transactionMode: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<transactionCallbackType, transactionCallbackType>, z.ZodLiteral<"commit">, z.ZodLiteral<"rollback">, z.ZodUndefined, z.ZodNull]>>;
110
+ errorStyle: z.ZodEnum<{
111
111
  basic: "basic";
112
112
  debug: "debug";
113
113
  }>;
114
- cgi: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
115
- auth: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodObject<{
116
- type: z$1.ZodLiteral<"basic">;
117
- callback: z$1.ZodCustom<BasicAuthCallback, BasicAuthCallback>;
118
- realm: z$1.ZodOptional<z$1.ZodString>;
119
- }, z$1.core.$strict>, z$1.ZodObject<{
120
- type: z$1.ZodLiteral<"custom">;
121
- callback: z$1.ZodCustom<CustomAuthCallback, CustomAuthCallback>;
122
- }, z$1.core.$strict>]>>;
123
- }, z$1.core.$strict>;
124
- type configPlSqlHandlerType = z$1.infer<typeof z$configPlSqlHandlerType>;
114
+ cgi: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
115
+ auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
116
+ type: z.ZodLiteral<"basic">;
117
+ callback: z.ZodCustom<BasicAuthCallback, BasicAuthCallback>;
118
+ realm: z.ZodOptional<z.ZodString>;
119
+ }, z.core.$strict>, z.ZodObject<{
120
+ type: z.ZodLiteral<"custom">;
121
+ callback: z.ZodCustom<CustomAuthCallback, CustomAuthCallback>;
122
+ }, z.core.$strict>]>>;
123
+ }, z.core.$strict>;
124
+ type configPlSqlHandlerType = z.infer<typeof z$configPlSqlHandlerType>;
125
125
  /**
126
126
  * Database connection configuration for a PL/SQL route
127
127
  */
128
- declare const z$configPlSqlConfigType: z$1.ZodObject<{
129
- route: z$1.ZodString;
130
- user: z$1.ZodString;
131
- password: z$1.ZodString;
132
- connectString: z$1.ZodString;
133
- }, z$1.core.$strict>;
134
- type configPlSqlConfigType = z$1.infer<typeof z$configPlSqlConfigType>;
128
+ declare const z$configPlSqlConfigType: z.ZodObject<{
129
+ route: z.ZodString;
130
+ user: z.ZodString;
131
+ password: z.ZodString;
132
+ connectString: z.ZodString;
133
+ }, z.core.$strict>;
134
+ type configPlSqlConfigType = z.infer<typeof z$configPlSqlConfigType>;
135
135
  /**
136
136
  * Complete PL/SQL route configuration combining handler and connection settings
137
137
  */
@@ -139,54 +139,54 @@ type configPlSqlType = configPlSqlHandlerType & configPlSqlConfigType;
139
139
  /**
140
140
  * Root application configuration
141
141
  */
142
- declare const z$configType: z$1.ZodObject<{
143
- port: z$1.ZodNumber;
144
- routeStatic: z$1.ZodArray<z$1.ZodObject<{
145
- route: z$1.ZodString;
146
- directoryPath: z$1.ZodString;
147
- spaFallback: z$1.ZodOptional<z$1.ZodBoolean>;
148
- }, z$1.core.$strict>>;
149
- routePlSql: z$1.ZodArray<z$1.ZodObject<{
150
- route: z$1.ZodString;
151
- user: z$1.ZodString;
152
- password: z$1.ZodString;
153
- connectString: z$1.ZodString;
154
- defaultPage: z$1.ZodString;
155
- pathAlias: z$1.ZodOptional<z$1.ZodString>;
156
- pathAliasProcedure: z$1.ZodOptional<z$1.ZodString>;
157
- documentTable: z$1.ZodString;
158
- exclusionList: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
159
- requestValidationFunction: z$1.ZodOptional<z$1.ZodString>;
160
- transactionMode: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodCustom<transactionCallbackType, transactionCallbackType>, z$1.ZodLiteral<"commit">, z$1.ZodLiteral<"rollback">, z$1.ZodUndefined, z$1.ZodNull]>>;
161
- errorStyle: z$1.ZodEnum<{
142
+ declare const z$configType: z.ZodObject<{
143
+ port: z.ZodNumber;
144
+ routeStatic: z.ZodArray<z.ZodObject<{
145
+ route: z.ZodString;
146
+ directoryPath: z.ZodString;
147
+ spaFallback: z.ZodOptional<z.ZodBoolean>;
148
+ }, z.core.$strict>>;
149
+ routePlSql: z.ZodArray<z.ZodObject<{
150
+ route: z.ZodString;
151
+ user: z.ZodString;
152
+ password: z.ZodString;
153
+ connectString: z.ZodString;
154
+ defaultPage: z.ZodString;
155
+ pathAlias: z.ZodOptional<z.ZodString>;
156
+ pathAliasProcedure: z.ZodOptional<z.ZodString>;
157
+ documentTable: z.ZodString;
158
+ exclusionList: z.ZodOptional<z.ZodArray<z.ZodString>>;
159
+ requestValidationFunction: z.ZodOptional<z.ZodString>;
160
+ transactionMode: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<transactionCallbackType, transactionCallbackType>, z.ZodLiteral<"commit">, z.ZodLiteral<"rollback">, z.ZodUndefined, z.ZodNull]>>;
161
+ errorStyle: z.ZodEnum<{
162
162
  basic: "basic";
163
163
  debug: "debug";
164
164
  }>;
165
- cgi: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
166
- auth: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodObject<{
167
- type: z$1.ZodLiteral<"basic">;
168
- callback: z$1.ZodCustom<BasicAuthCallback, BasicAuthCallback>;
169
- realm: z$1.ZodOptional<z$1.ZodString>;
170
- }, z$1.core.$strict>, z$1.ZodObject<{
171
- type: z$1.ZodLiteral<"custom">;
172
- callback: z$1.ZodCustom<CustomAuthCallback, CustomAuthCallback>;
173
- }, z$1.core.$strict>]>>;
174
- }, z$1.core.$strict>>;
175
- uploadFileSizeLimit: z$1.ZodOptional<z$1.ZodNumber>;
176
- loggerFilename: z$1.ZodString;
177
- adminRoute: z$1.ZodOptional<z$1.ZodString>;
178
- adminUser: z$1.ZodOptional<z$1.ZodString>;
179
- adminPassword: z$1.ZodOptional<z$1.ZodString>;
180
- devMode: z$1.ZodOptional<z$1.ZodBoolean>;
181
- setupExtensions: z$1.ZodOptional<z$1.ZodCustom<(app: Express, pools: Pool[]) => void | Promise<void>, (app: Express, pools: Pool[]) => void | Promise<void>>>;
182
- oracle: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodObject<{
183
- poolMin: z$1.ZodDefault<z$1.ZodInt>;
184
- poolMax: z$1.ZodDefault<z$1.ZodInt>;
185
- poolIncrement: z$1.ZodDefault<z$1.ZodInt>;
186
- }, z$1.core.$strict>>>;
187
- }, z$1.core.$strict>;
188
- type configInputType = z$1.input<typeof z$configType>;
189
- type configType = z$1.output<typeof z$configType>;
165
+ cgi: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
166
+ auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
167
+ type: z.ZodLiteral<"basic">;
168
+ callback: z.ZodCustom<BasicAuthCallback, BasicAuthCallback>;
169
+ realm: z.ZodOptional<z.ZodString>;
170
+ }, z.core.$strict>, z.ZodObject<{
171
+ type: z.ZodLiteral<"custom">;
172
+ callback: z.ZodCustom<CustomAuthCallback, CustomAuthCallback>;
173
+ }, z.core.$strict>]>>;
174
+ }, z.core.$strict>>;
175
+ uploadFileSizeLimit: z.ZodOptional<z.ZodNumber>;
176
+ loggerFilename: z.ZodString;
177
+ adminRoute: z.ZodOptional<z.ZodString>;
178
+ adminUser: z.ZodOptional<z.ZodString>;
179
+ adminPassword: z.ZodOptional<z.ZodString>;
180
+ devMode: z.ZodOptional<z.ZodBoolean>;
181
+ setupExtensions: z.ZodOptional<z.ZodCustom<(app: Express, pools: Pool[]) => void | Promise<void>, (app: Express, pools: Pool[]) => void | Promise<void>>>;
182
+ oracle: z.ZodDefault<z.ZodOptional<z.ZodObject<{
183
+ poolMin: z.ZodDefault<z.ZodInt>;
184
+ poolMax: z.ZodDefault<z.ZodInt>;
185
+ poolIncrement: z.ZodDefault<z.ZodInt>;
186
+ }, z.core.$strict>>>;
187
+ }, z.core.$strict>;
188
+ type configInputType = z.input<typeof z$configType>;
189
+ type configType = z.output<typeof z$configType>;
190
190
  /**
191
191
  * Mapping of PL/SQL procedure argument names to their database types
192
192
  */