@basou/core 0.6.0 → 0.8.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basou/core",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Core primitives for Basou: sessions, events, approvals, git capability",
@@ -135,6 +135,20 @@
135
135
  ]
136
136
  }
137
137
  }
138
+ },
139
+ "import": {
140
+ "type": "object",
141
+ "properties": {
142
+ "source_roots": {
143
+ "minItems": 1,
144
+ "type": "array",
145
+ "items": {
146
+ "type": "string",
147
+ "minLength": 1,
148
+ "pattern": "^(?![~/\\\\])(?![A-Za-z]:)[^\\0\\\\]+$"
149
+ }
150
+ }
151
+ }
138
152
  }
139
153
  },
140
154
  "required": [
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://basou.dev/schemas/0.1.0/session-import.schema.json",
4
4
  "title": "Basou Session Import Payload",
5
- "description": "The portable session payload consumed by `basou session import` (and produced by `basou session export`).",
5
+ "description": "The portable session payload consumed by `basou session import`.",
6
6
  "type": "object",
7
7
  "properties": {
8
8
  "schema_version": {
@@ -56,6 +56,11 @@
56
56
  },
57
57
  "external_id": {
58
58
  "type": "string"
59
+ },
60
+ "source_size_bytes": {
61
+ "type": "integer",
62
+ "minimum": 0,
63
+ "maximum": 9007199254740991
59
64
  }
60
65
  },
61
66
  "required": [
@@ -57,6 +57,11 @@
57
57
  },
58
58
  "external_id": {
59
59
  "type": "string"
60
+ },
61
+ "source_size_bytes": {
62
+ "type": "integer",
63
+ "minimum": 0,
64
+ "maximum": 9007199254740991
60
65
  }
61
66
  },
62
67
  "required": [