@crombolo/crombolo 0.37.0 → 0.39.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": "@crombolo/crombolo",
3
- "version": "0.37.0",
3
+ "version": "0.39.0",
4
4
  "crombolo": {
5
5
  "migrations": "compatible"
6
6
  },
@@ -55,21 +55,21 @@
55
55
  "NOTICE"
56
56
  ],
57
57
  "dependencies": {
58
- "@crombolo/api-delivery": "0.37.0",
59
- "@crombolo/api-management": "0.37.0",
60
- "@crombolo/auth": "0.37.0",
58
+ "@crombolo/api-delivery": "0.39.0",
59
+ "@crombolo/api-management": "0.39.0",
60
+ "@crombolo/auth": "0.39.0",
61
61
  "@crombolo/backoffice-dist": "18.2.0",
62
- "@crombolo/backoffice-host": "0.37.0",
63
- "@crombolo/cli": "0.37.0",
64
- "@crombolo/common": "0.37.0",
65
- "@crombolo/content": "0.37.0",
66
- "@crombolo/contracts": "0.37.0",
67
- "@crombolo/core": "0.37.0",
68
- "@crombolo/data": "0.37.0",
69
- "@crombolo/render": "0.37.0",
70
- "@crombolo/schema": "0.37.0",
71
- "@crombolo/server": "0.37.0",
72
- "@crombolo/transfer": "0.37.0"
62
+ "@crombolo/backoffice-host": "0.39.0",
63
+ "@crombolo/cli": "0.39.0",
64
+ "@crombolo/common": "0.39.0",
65
+ "@crombolo/content": "0.39.0",
66
+ "@crombolo/contracts": "0.39.0",
67
+ "@crombolo/core": "0.39.0",
68
+ "@crombolo/data": "0.39.0",
69
+ "@crombolo/render": "0.39.0",
70
+ "@crombolo/schema": "0.39.0",
71
+ "@crombolo/server": "0.39.0",
72
+ "@crombolo/transfer": "0.39.0"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": ">=19",
package/src/bundle.ts CHANGED
@@ -18,11 +18,9 @@ export {
18
18
  assertBundleTables,
19
19
  type BundleStep,
20
20
  type BundleTables,
21
- type BundleTablesCapability,
22
21
  bundleTablesCompatibility,
23
22
  defineBundleTables,
24
- type TableHandle,
25
- type Where,
23
+ type TablesDatabase,
26
24
  } from '@crombolo/data'
27
25
  export type {
28
26
  AppAlias,
@@ -34,6 +32,7 @@ export type {
34
32
  BundleForms,
35
33
  BundleHost,
36
34
  BundleIdentityProviders,
35
+ BundleJob,
37
36
  BundleLog,
38
37
  BundleMedia,
39
38
  BundleMediaCreate,
@@ -52,6 +51,10 @@ export type {
52
51
  BundleSection,
53
52
  ExtensionSectionAlias,
54
53
  ImageLocation,
54
+ JobInfo,
55
+ JobSchedule,
56
+ JobStatus,
57
+ OwnerJobs,
55
58
  Principal,
56
59
  ProviderOverrideInput,
57
60
  ServerBundle,
package/src/host.ts CHANGED
@@ -42,4 +42,7 @@ export {
42
42
  s3SchemaStore,
43
43
  VERSION,
44
44
  } from '@crombolo/server'
45
+ // A node that runs only the background jobs (story 223), for a host that
46
+ // boots its own nodes: `createServer` refuses the worker role.
47
+ export { createWorker, type WorkerHandle, type WorkerHealth } from '@crombolo/server/worker'
45
48
  export { cromboloServer } from './index.ts'
package/src/index.ts CHANGED
@@ -29,6 +29,15 @@ export type {
29
29
  SubmittedValues,
30
30
  } from '@crombolo/core'
31
31
  export { allFormFields, formFieldType, storingFormFields } from '@crombolo/core'
32
+ // Story 189: the site's own tables, declared in its config.
33
+ export {
34
+ defineSiteTables,
35
+ type ShapeDatabase,
36
+ type SiteStep,
37
+ type SiteTables,
38
+ type SqlStep,
39
+ type TablesDatabase,
40
+ } from '@crombolo/data'
32
41
  export type {
33
42
  BlockGridArea,
34
43
  BlockGridItem,
@@ -92,6 +101,7 @@ export {
92
101
  } from '@crombolo/render'
93
102
  export type { Child } from '@crombolo/render/jsx-runtime'
94
103
  export {
104
+ type AnonymiseRules,
95
105
  type AzureMediaStoreOptions,
96
106
  type AzureSchemaStoreOptions,
97
107
  awsIdentityCenter,
@@ -168,10 +178,7 @@ export { peerRangeProblem, validateBundlePackage } from '@crombolo/backoffice-ho
168
178
  export type {
169
179
  BundleStep,
170
180
  BundleTables,
171
- BundleTablesCapability,
172
181
  LiveNode,
173
- TableHandle,
174
- Where,
175
182
  } from '@crombolo/data'
176
183
  /** @deprecated Import it from `@crombolo/crombolo/bundle`. */
177
184
  /** @deprecated Import it from `@crombolo/crombolo/bundle`. */
package/src/server.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * The site's own services for page code (story 206): `site()`, acting as the
3
- * visitor, and the `Result` its services return.
3
+ * visitor, and the `Result` its services return. And what a site's named
4
+ * queries are written against (story 189).
4
5
  */
5
6
  export {
6
7
  assertSafeLocation,
@@ -17,12 +18,19 @@ export {
17
18
  Result,
18
19
  } from '@crombolo/core'
19
20
  export {
21
+ type NamedQuery,
22
+ type QueriesOf,
23
+ type QueryCaller,
24
+ type Register,
25
+ type SiteJobStatus,
26
+ type SiteJobs,
20
27
  type SiteMedia,
21
28
  type SiteMembers,
29
+ type SiteQueries,
22
30
  type SiteServices,
23
- type SiteSql,
24
31
  site,
25
32
  } from '@crombolo/render'
33
+ export type { JobInfo, JobSchedule } from '@crombolo/server'
26
34
 
27
35
  // Decision 8 of story 209: a browser that loads this has been handed server code.
28
36
  if (typeof document !== 'undefined')