@v1ct0rbr/minivault-web 0.4.0 → 0.4.1

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.
@@ -927,8 +927,8 @@ function Y() {
927
927
  let e = O(), t = w(), n = T(t.data?.configured), [r, a] = o(!1), [s, c] = o(() => ({
928
928
  type: "LOCAL",
929
929
  localPath: ""
930
- })), [l, u] = o(!1), [d, h] = o({
931
- format: "custom",
930
+ })), [l, u] = o(!0), [d, h] = o({
931
+ format: "plain",
932
932
  includeData: !0,
933
933
  includeDropTable: !1,
934
934
  includeCreateTable: !0,
@@ -1097,7 +1097,7 @@ function Y() {
1097
1097
  }), /* @__PURE__ */ p("label", {
1098
1098
  className: "form-check-label",
1099
1099
  htmlFor: "minivault-with-dump-options",
1100
- children: "Configurar opcoes do dump (formato, dados, indices)"
1100
+ children: "Configurar opcoes do dump (formato, dados, indices) — desmarcar envia sem opcoes (formato padrão custom/binary no servidor)"
1101
1101
  })]
1102
1102
  }),
1103
1103
  l && /* @__PURE__ */ m("div", {
@@ -1128,22 +1128,28 @@ function Y() {
1128
1128
  })),
1129
1129
  children: [
1130
1130
  /* @__PURE__ */ p("option", {
1131
- value: "custom",
1132
- children: "Custom (-Fc, recomendado)"
1131
+ value: "plain",
1132
+ children: "Plain SQL (texto, legível — padrão)"
1133
1133
  }),
1134
1134
  /* @__PURE__ */ p("option", {
1135
- value: "plain",
1136
- children: "Plain SQL (texto)"
1135
+ value: "custom",
1136
+ children: "Custom (-Fc, binário, mais compacto)"
1137
1137
  }),
1138
1138
  /* @__PURE__ */ p("option", {
1139
1139
  value: "tar",
1140
- children: "Tar (-Ft)"
1140
+ children: "Tar (-Ft, binário)"
1141
1141
  })
1142
1142
  ]
1143
1143
  }),
1144
- /* @__PURE__ */ p("div", {
1144
+ /* @__PURE__ */ m("div", {
1145
1145
  className: "form-text",
1146
- children: "Colunas marcadas como omitidas têm o conteúdo nulificado no dump — aplicado apenas quando o formato é Plain SQL (texto)."
1146
+ children: [
1147
+ "Plain gera um arquivo SQL legível (",
1148
+ /* @__PURE__ */ p("code", { children: "database_dump.sql" }),
1149
+ ") — necessário para nulificar colunas. Custom/Tar geram dump binário (",
1150
+ /* @__PURE__ */ p("code", { children: "database_dump.dump" }),
1151
+ "), não abrir como texto; usar com pg_restore."
1152
+ ]
1147
1153
  })
1148
1154
  ]
1149
1155
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@v1ct0rbr/minivault-web",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Módulo independente de gerenciamento de backups (minivault). Consumível como pacote npm em qualquer app React. Cliente do minivault REST API (acesso tipicamente via proxy autenticado).",
5
5
  "author": "Victor Queiroga (https://www.linkedin.com/in/victor-queiroga)",
6
6
  "license": "MIT",