@tiddlywiki/mws 0.2.0 → 0.2.2

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/mws.js CHANGED
@@ -47840,15 +47840,16 @@ var tabs = {
47840
47840
  eyebrow: "Your thoughts",
47841
47841
  description: "Final wiki instances built from a template plus per-wiki customizations.",
47842
47842
  columns: [
47843
- { key: "slug", label: "Slug" },
47844
- { key: "displayName", label: "Display name" },
47843
+ { key: "slug", label: "Slug", width: 2 },
47844
+ { key: "displayName", label: "Display name", width: 2 },
47845
47845
  { key: "templateName", label: "Template" },
47846
47846
  { key: "defaultWritableBag", label: "Default bag" },
47847
- { key: "readonlyBagCount", label: "Readonly bags" },
47848
47847
  { key: "prefixRuleCount", label: "Prefix rules" },
47849
- { key: "pluginCount", label: "Plugins" },
47850
- { key: "lastCompiledAt", label: "Compiled" },
47851
- { key: "statusFlags", label: "Status" }
47848
+ { key: "readonlyBagCount", label: "Readonly bags" },
47849
+ { key: "pluginCount", label: "Plugins" }
47850
+ // { key: "edit", label: "" }
47851
+ // { key: "lastCompiledAt", label: "Compiled" },
47852
+ // { key: "statusFlags", label: "Status" },
47852
47853
  // { key: "compileValidation", label: "Validation" }
47853
47854
  ],
47854
47855
  fields: [
@@ -47955,13 +47956,13 @@ var tabs = {
47955
47956
  eyebrow: "Wiki Blueprints",
47956
47957
  description: "Reusable recipe definitions. Changes made to a template apply to every wiki using it.",
47957
47958
  columns: [
47958
- { key: "name", label: "Name" },
47959
- { key: "description", label: "Description" },
47959
+ { key: "name", label: "Name", width: 2 },
47960
+ { key: "description", label: "Description", width: 3 },
47960
47961
  { key: "readonlyBagsSummary", label: "Readonly bags" },
47961
47962
  // { key: "writablePrefixSummary", label: "Writable prefixes" },
47962
47963
  { key: "dependentWikiCount", label: "Dependent wikis" },
47963
- { key: "lastUpdatedAt", label: "Updated" },
47964
- { key: "validationStatus", label: "Validation" }
47964
+ { key: "lastUpdatedAt", label: "Updated", width: 2 }
47965
+ // { key: "validationStatus", label: "Validation" },
47965
47966
  ],
47966
47967
  fields: [
47967
47968
  { key: "type", label: "Type", type: "template-type", section: "authored", mode: "create" },
@@ -48103,8 +48104,8 @@ var tabs = {
48103
48104
  eyebrow: "Tiddler Storage",
48104
48105
  description: "Concrete tiddler storage with role-based access control.",
48105
48106
  columns: [
48106
- { key: "name", label: "Name" },
48107
- { key: "description", label: "Description" },
48107
+ { key: "name", label: "Name", width: 2 },
48108
+ { key: "description", label: "Description", width: 2 },
48108
48109
  { key: "usedByCount", label: "Used by" },
48109
48110
  { key: "readonlyUsageCount", label: "Readonly" },
48110
48111
  { key: "writableUsageCount", label: "Writable" },
@@ -48216,8 +48217,8 @@ var tabs = {
48216
48217
  eyebrow: "Access profiles",
48217
48218
  description: "Named access profiles that can be assigned to user accounts.",
48218
48219
  columns: [
48219
- { key: "name", label: "Role name" },
48220
- { key: "description", label: "Role description" }
48220
+ { key: "name", label: "Role name", width: 2 },
48221
+ { key: "description", label: "Role description", width: 7 }
48221
48222
  ],
48222
48223
  fields: [
48223
48224
  { key: "name", label: "Role name", type: "string", section: "authored", mode: "create edit" },
@@ -48238,8 +48239,8 @@ var tabs = {
48238
48239
  eyebrow: "Account logins",
48239
48240
  description: "User accounts with assigned roles.",
48240
48241
  columns: [
48241
- { key: "username", label: "Username" },
48242
- { key: "email", label: "Email" }
48242
+ { key: "username", label: "Username", width: 2 },
48243
+ { key: "email", label: "Email", width: 7 }
48243
48244
  ],
48244
48245
  fields: [
48245
48246
  { key: "username", label: "Username", type: "string", section: "authored", mode: "create edit" },
@@ -50228,7 +50229,8 @@ async function importPlugins(twFolder, cacheFolder, type, $tw, mwsVersion, array
50228
50229
  "core"
50229
50230
  ].map((e) => {
50230
50231
  const oldPath = path4.join(twFolder, e);
50231
- const relativePluginPath = path4.join("tiddlywiki", $tw.version, path4.relative(twFolder, oldPath));
50232
+ const pluginCode = path4.relative(twFolder, oldPath);
50233
+ const relativePluginPath = path4.join("tiddlywiki", $tw.version, pluginCode);
50232
50234
  return [oldPath, relativePluginPath];
50233
50235
  });
50234
50236
  const mwsRelative = `mws/${mwsVersion}/client`;
@@ -50297,9 +50299,9 @@ async function importPlugins(twFolder, cacheFolder, type, $tw, mwsVersion, array
50297
50299
  }
50298
50300
  return hash2;
50299
50301
  }));
50300
- tiddlerFiles.set(plugin.title, relativePluginPath);
50302
+ tiddlerFiles.set(plugin.title, relativePluginPath.replaceAll("\\", "/"));
50301
50303
  pluginsList.push({
50302
- path: relativePluginPath,
50304
+ path: relativePluginPath.replaceAll("\\", "/"),
50303
50305
  hashes,
50304
50306
  name: plugin.name,
50305
50307
  description: plugin.description,