@riboseinc/paneron-registry-kit 2.2.8 → 2.2.9
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/migrations/initial.js
CHANGED
|
@@ -9,20 +9,20 @@ var _common = require("../common");
|
|
|
9
9
|
|
|
10
10
|
const enc = new TextEncoder();
|
|
11
11
|
const metadata = enc.encode(`
|
|
12
|
-
name:
|
|
12
|
+
name: Unnamed registry
|
|
13
13
|
stakeholders:
|
|
14
14
|
- role: submitter
|
|
15
|
-
name:
|
|
16
|
-
gitServerUsername:
|
|
15
|
+
name: owner entity name here...
|
|
16
|
+
gitServerUsername: VCS username here...
|
|
17
17
|
parties:
|
|
18
|
-
- name:
|
|
18
|
+
- name: owner entity party name here...
|
|
19
19
|
contacts:
|
|
20
20
|
- label: email
|
|
21
|
-
value:
|
|
21
|
+
value: owner entity party contact email here...
|
|
22
22
|
version:
|
|
23
|
-
id:
|
|
24
|
-
timestamp:
|
|
25
|
-
contentSummary:
|
|
23
|
+
id: '1'
|
|
24
|
+
timestamp: ${new Date().toISOString()}
|
|
25
|
+
contentSummary: content summary goes here...
|
|
26
26
|
`);
|
|
27
27
|
const initialMigration = {
|
|
28
28
|
versionAfter: '1.0.0',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initial.js","sourceRoot":"","sources":["../../src/migrations/initial.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAGvD,MAAM,GAAG,GAAG,IAAI,WAAW,EAAE,CAAC;AAE9B,MAAM,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"initial.js","sourceRoot":"","sources":["../../src/migrations/initial.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAGvD,MAAM,GAAG,GAAG,IAAI,WAAW,EAAE,CAAC;AAE9B,MAAM,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC;;;;;;;;;;;;;eAab,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,WAAW,EAAE;;CAExC,CAAC,CAAC;AAGH,MAAM,gBAAgB,GAAkB;IACtC,YAAY,EAAE,OAAO;IACrB,QAAQ,EAAE,KAAK,SAAU,CAAC,CAAC,wBAAwB;QACjD,MAAM;YACJ,CAAC,0BAA0B,CAAC,EAAE,QAAQ;SACvC,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,eAAe,gBAAgB,CAAC","sourcesContent":["import type { MigrationInfo } from '@riboseinc/paneron-extension-kit/types/migrations';\nimport { REGISTER_METADATA_FILENAME } from '../common';\n\n\nconst enc = new TextEncoder();\n\nconst metadata = enc.encode(`\nname: Unnamed registry\nstakeholders:\n - role: submitter\n name: owner entity name here...\n gitServerUsername: VCS username here...\n parties:\n - name: owner entity party name here...\n contacts:\n - label: email\n value: owner entity party contact email here...\nversion:\n id: '1'\n timestamp: ${(new Date()).toISOString()}\ncontentSummary: content summary goes here...\n`);\n\n\nconst initialMigration: MigrationInfo = {\n versionAfter: '1.0.0',\n migrator: async function * initialRegistryMigration () {\n yield {\n [REGISTER_METADATA_FILENAME]: metadata,\n };\n },\n};\n\nexport default initialMigration;\n"]}
|