@astrale-domains/services 0.2.2 → 0.2.3
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/CHANGELOG.md +18 -0
- package/dist/schema/deployment/index.d.ts +1 -1
- package/dist/schema/deployment/index.js +1 -1
- package/dist/schema/deployment/result.d.ts +15 -14
- package/dist/schema/deployment/result.js +3 -4
- package/dist/schema/index.d.ts +2 -2
- package/dist/schema/index.js +2 -2
- package/dist/schema/schema.d.ts +2079 -826
- package/dist/schema/schema.js +1 -5
- package/dist/schema/service/cloudflare-worker-class.d.ts +2031 -761
- package/dist/schema/service/index.d.ts +1 -3
- package/dist/schema/service/index.js +1 -3
- package/dist/schema/service/methods/delete-service.js +1 -1
- package/dist/schema/service/methods/deploy-cloudflare-worker.d.ts +5 -6
- package/dist/schema/service/methods/deploy-cloudflare-worker.js +1 -1
- package/dist/schema/service/policies.d.ts +0 -3
- package/dist/schema/service/policies.js +0 -11
- package/dist/schema/service/service-class.d.ts +35 -21
- package/dist/schema/service/service-class.js +6 -0
- package/package.json +23 -22
- package/dist/schema/service/hosted-by-service-edge-class.d.ts +0 -19
- package/dist/schema/service/hosted-by-service-edge-class.js +0 -14
- package/dist/schema/service/service-hosts-domain-edge-class.d.ts +0 -16
- package/dist/schema/service/service-hosts-domain-edge-class.js +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.3](https://github.com/astrale-os/domains/compare/services-v0.2.2...services-v0.2.3) (2026-08-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **domains:** remove Property visibility annotations from V1 schemas ([#118](https://github.com/astrale-os/domains/issues/118)) ([215e5e0](https://github.com/astrale-os/domains/commit/215e5e0ca3b849cb56fcccc685d4e3fc51cc41f5))
|
|
9
|
+
* **services:** redesign the service workspace ([#115](https://github.com/astrale-os/domains/issues/115)) ([bcb12ba](https://github.com/astrale-os/domains/commit/bcb12ba33014f83b3e4495c32abd763a01b197e8))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **services:** separate publication from consumer installation ([#107](https://github.com/astrale-os/domains/issues/107)) ([f3fec75](https://github.com/astrale-os/domains/commit/f3fec752309dddd34e3b1e182506371d87d3629e))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Documentation
|
|
18
|
+
|
|
19
|
+
* **services:** close release qualification ledger ([#105](https://github.com/astrale-os/domains/issues/105)) ([eaa9cd6](https://github.com/astrale-os/domains/commit/eaa9cd6d72677b23f20d85c79c664fc401138746))
|
|
20
|
+
|
|
3
21
|
## [0.2.2](https://github.com/astrale-os/domains/compare/services-v0.2.1...services-v0.2.2) (2026-08-27)
|
|
4
22
|
|
|
5
23
|
|
|
@@ -9,5 +9,5 @@ export { artifactModule } from './module.js';
|
|
|
9
9
|
export type { ArtifactModule } from './module.js';
|
|
10
10
|
export { artifact, deployServiceInput, revisionedDeployment } from './request.js';
|
|
11
11
|
export type { DeployServiceInput } from './request.js';
|
|
12
|
-
export { deployedFunction, deployedService, deployServiceOutput,
|
|
12
|
+
export { deployedFunction, deployedService, deployServiceOutput, publishedApplication, } from './result.js';
|
|
13
13
|
export type { DeployServiceOutput } from './result.js';
|
|
@@ -4,4 +4,4 @@ export { resourceLimits } from './limits.js';
|
|
|
4
4
|
export { deploymentRejection } from './deployment-rejection.js';
|
|
5
5
|
export { artifactModule } from './module.js';
|
|
6
6
|
export { artifact, deployServiceInput, revisionedDeployment } from './request.js';
|
|
7
|
-
export { deployedFunction, deployedService, deployServiceOutput,
|
|
7
|
+
export { deployedFunction, deployedService, deployServiceOutput, publishedApplication, } from './result.js';
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const deployedFunction: z.ZodObject<{
|
|
3
|
-
id: z.ZodString;
|
|
4
3
|
path: z.ZodString;
|
|
5
4
|
ref: z.ZodString;
|
|
6
5
|
}, z.core.$strict>;
|
|
7
|
-
export declare const
|
|
6
|
+
export declare const publishedApplication: z.ZodObject<{
|
|
8
7
|
issuer: z.ZodString;
|
|
9
8
|
origin: z.ZodString;
|
|
10
9
|
revision: z.ZodString;
|
|
11
10
|
publicationEtag: z.ZodString;
|
|
11
|
+
functions: z.ZodArray<z.ZodObject<{
|
|
12
|
+
path: z.ZodString;
|
|
13
|
+
ref: z.ZodString;
|
|
14
|
+
}, z.core.$strict>>;
|
|
12
15
|
}, z.core.$strict>;
|
|
13
16
|
export declare const deployedService: z.ZodObject<{
|
|
14
17
|
id: z.ZodString;
|
|
@@ -24,16 +27,15 @@ export declare const deployedService: z.ZodObject<{
|
|
|
24
27
|
reconciling: "reconciling";
|
|
25
28
|
}>;
|
|
26
29
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
|
|
30
|
+
application: z.ZodOptional<z.ZodObject<{
|
|
28
31
|
issuer: z.ZodString;
|
|
29
32
|
origin: z.ZodString;
|
|
30
33
|
revision: z.ZodString;
|
|
31
34
|
publicationEtag: z.ZodString;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
ref: z.ZodString;
|
|
35
|
+
functions: z.ZodArray<z.ZodObject<{
|
|
36
|
+
path: z.ZodString;
|
|
37
|
+
ref: z.ZodString;
|
|
38
|
+
}, z.core.$strict>>;
|
|
37
39
|
}, z.core.$strict>>;
|
|
38
40
|
}, z.core.$strict>;
|
|
39
41
|
export declare const deployServiceOutput: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -50,16 +52,15 @@ export declare const deployServiceOutput: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
50
52
|
reconciling: "reconciling";
|
|
51
53
|
}>;
|
|
52
54
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
-
|
|
55
|
+
application: z.ZodOptional<z.ZodObject<{
|
|
54
56
|
issuer: z.ZodString;
|
|
55
57
|
origin: z.ZodString;
|
|
56
58
|
revision: z.ZodString;
|
|
57
59
|
publicationEtag: z.ZodString;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
ref: z.ZodString;
|
|
60
|
+
functions: z.ZodArray<z.ZodObject<{
|
|
61
|
+
path: z.ZodString;
|
|
62
|
+
ref: z.ZodString;
|
|
63
|
+
}, z.core.$strict>>;
|
|
63
64
|
}, z.core.$strict>>;
|
|
64
65
|
}, z.core.$strict>, z.ZodObject<{
|
|
65
66
|
kind: z.ZodLiteral<"rejected">;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { deploymentRejection } from './deployment-rejection.js';
|
|
3
3
|
export const deployedFunction = z.strictObject({
|
|
4
|
-
id: z.string(),
|
|
5
4
|
path: z.string(),
|
|
6
5
|
ref: z.string(),
|
|
7
6
|
});
|
|
8
|
-
export const
|
|
7
|
+
export const publishedApplication = z.strictObject({
|
|
9
8
|
issuer: z.string().min(1),
|
|
10
9
|
origin: z.string().min(1),
|
|
11
10
|
revision: z.string().min(1),
|
|
12
11
|
publicationEtag: z.string().min(1),
|
|
12
|
+
functions: z.array(deployedFunction),
|
|
13
13
|
});
|
|
14
14
|
export const deployedService = z.strictObject({
|
|
15
15
|
id: z.string().min(1),
|
|
@@ -19,7 +19,6 @@ export const deployedService = z.strictObject({
|
|
|
19
19
|
revision: z.string().min(1).max(80).optional(),
|
|
20
20
|
state: z.enum(['deploying', 'reconciling', 'ready', 'failed', 'deleting']),
|
|
21
21
|
error: z.string().nullable().optional(),
|
|
22
|
-
|
|
23
|
-
functions: z.array(deployedFunction),
|
|
22
|
+
application: publishedApplication.optional(),
|
|
24
23
|
});
|
|
25
24
|
export const deployServiceOutput = z.union([deployedService, deploymentRejection]);
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { schema } from './schema.js';
|
|
2
2
|
export type { ServicesDomain, ServicesSchema } from './schema.js';
|
|
3
|
-
export { artifact, artifactModule, assetBundle, assetFile, deployedFunction, deployServiceInput, deployServiceOutput,
|
|
3
|
+
export { artifact, artifactModule, assetBundle, assetFile, deployedFunction, deployServiceInput, deployServiceOutput, publishedApplication, resourceLimits, revisionedDeployment, } from './deployment/index.js';
|
|
4
4
|
export type { ArtifactModule, AssetBundle, DeployServiceInput, DeployServiceOutput, ResourceLimits, } from './deployment/index.js';
|
|
5
|
-
export { CloudflareWorker, ObserveService, Service,
|
|
5
|
+
export { CloudflareWorker, ObserveService, Service, TraverseOwnedService, service_owned_by, } from './service/index.js';
|
package/dist/schema/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { schema } from './schema.js';
|
|
2
|
-
export { artifact, artifactModule, assetBundle, assetFile, deployedFunction, deployServiceInput, deployServiceOutput,
|
|
3
|
-
export { CloudflareWorker, ObserveService, Service,
|
|
2
|
+
export { artifact, artifactModule, assetBundle, assetFile, deployedFunction, deployServiceInput, deployServiceOutput, publishedApplication, resourceLimits, revisionedDeployment, } from './deployment/index.js';
|
|
3
|
+
export { CloudflareWorker, ObserveService, Service, TraverseOwnedService, service_owned_by, } from './service/index.js';
|