@noormdev/sdk 1.0.0-alpha.22 → 1.0.0-alpha.23
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/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14712,6 +14712,10 @@ var LoggingConfigSchema = external_exports.object({
|
|
|
14712
14712
|
maxSize: FileSizeSchema.default("10mb"),
|
|
14713
14713
|
maxFiles: external_exports.number().int().min(1).default(5)
|
|
14714
14714
|
});
|
|
14715
|
+
var TeardownConfigSchema = external_exports.object({
|
|
14716
|
+
preserveTables: external_exports.array(external_exports.string()).optional(),
|
|
14717
|
+
postScript: external_exports.string().optional()
|
|
14718
|
+
});
|
|
14715
14719
|
var SettingsSchema = external_exports.object({
|
|
14716
14720
|
build: BuildConfigSchema.optional(),
|
|
14717
14721
|
paths: PathConfigSchema.optional(),
|
|
@@ -14719,7 +14723,8 @@ var SettingsSchema = external_exports.object({
|
|
|
14719
14723
|
stages: external_exports.record(external_exports.string(), StageSchema).optional(),
|
|
14720
14724
|
strict: StrictConfigSchema.optional(),
|
|
14721
14725
|
logging: LoggingConfigSchema.optional(),
|
|
14722
|
-
secrets: external_exports.array(StageSecretSchema).optional()
|
|
14726
|
+
secrets: external_exports.array(StageSecretSchema).optional(),
|
|
14727
|
+
teardown: TeardownConfigSchema.optional()
|
|
14723
14728
|
});
|
|
14724
14729
|
var SettingsValidationError = class extends Error {
|
|
14725
14730
|
constructor(message, field, issues) {
|
|
@@ -23017,8 +23022,7 @@ async function fetchDetail(db, dialect, category, name, schema) {
|
|
|
23017
23022
|
var { quote, qualifiedName } = createDialectQuoting({
|
|
23018
23023
|
open: '"',
|
|
23019
23024
|
close: '"',
|
|
23020
|
-
escape: '""'
|
|
23021
|
-
defaultSchema: "public"
|
|
23025
|
+
escape: '""'
|
|
23022
23026
|
});
|
|
23023
23027
|
var postgresTeardownOperations = {
|
|
23024
23028
|
disableForeignKeyChecks() {
|
|
@@ -23092,8 +23096,7 @@ var mysqlTeardownOperations = {
|
|
|
23092
23096
|
var { quote: quote3, qualifiedName: qualifiedName3 } = createDialectQuoting({
|
|
23093
23097
|
open: "[",
|
|
23094
23098
|
close: "]",
|
|
23095
|
-
escape: "]]"
|
|
23096
|
-
defaultSchema: "dbo"
|
|
23099
|
+
escape: "]]"
|
|
23097
23100
|
});
|
|
23098
23101
|
var mssqlTeardownOperations = {
|
|
23099
23102
|
disableForeignKeyChecks() {
|