Browse Source

Make idgen() public.

scossu 2 weeks ago
parent
commit
c938da32a5
2 changed files with 3 additions and 2 deletions
  1. 2 2
      config/model/typedef/anything.lua
  2. 1 0
      src/submission.lua

+ 2 - 2
config/model/typedef/anything.lua

@@ -9,8 +9,8 @@ return {
             uri = "pas:sourcePath",
             label = "Source path",
             description =
-                [[Path of the resource at deposit time, relative to the SIP
-                root.]],
+                "Path of the resource at deposit time, relative to the SIP \z
+                root.",
             type = "string",
             max_cardinality = 1,
         },

+ 1 - 0
src/submission.lua

@@ -304,6 +304,7 @@ end
 
 -- Submission module.
 local M = {
+    idgen = idgen,
     reset_ores = function()
         if path.isdir(pkar.config.fs.ores_path) then
             logger:warn("Removing existing opaque resource store.")