@astrale-os/kernel-core 0.9.0-beta.43 → 0.9.0-beta.45
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/dist/callable/index.d.ts +1 -1
- package/dist/callable/index.js +1 -1
- package/dist/callable/invocation/call.d.ts +13 -2
- package/dist/callable/invocation/call.js +40 -1
- package/dist/callable/invocation/index.d.ts +1 -1
- package/dist/callable/invocation/index.js +1 -1
- package/dist/graph/path/authoring/path.d.ts +2 -1
- package/dist/graph/path/authoring/path.js +7 -2
- package/dist/graph/path/language/model.d.ts +8 -3
- package/dist/graph/path/language/syntax.js +23 -8
- package/dist/schema/authority/operation-node.d.ts +2 -0
- package/dist/schema/authority/policy.d.ts +2 -0
- package/dist/schema/callables/function.d.ts +16 -6
- package/dist/schema/callables/function.js +1 -1
- package/dist/schema/callables/view.d.ts +4 -2
- package/dist/schema/definitions/class.d.ts +2 -0
- package/dist/schema/domain/domain.d.ts +283 -1268
- package/dist/schema/identity/identity.d.ts +21 -17
- package/dist/schema/kernel/projection/callables.js +2 -3
- package/dist/schema/kernel/projection/keys.js +1 -2
- package/dist/schema/kernel/projection/path.js +2 -29
- package/dist/schema/kernel/projection/project.js +2 -3
- package/dist/schema/kernel/schema.d.ts +707 -1654
- package/dist/schema/kernel/syscalls/contracts/admit.d.ts +5 -1
- package/dist/schema/kernel/syscalls/contracts/admit.js +9 -2
- package/dist/schema/kernel/syscalls/contracts/delegate.d.ts +1 -0
- package/dist/schema/kernel/syscalls/contracts/delegate.js +1 -0
- package/dist/schema/kernel/syscalls/declarations/admit.d.ts +6 -2
- package/dist/schema/kernel/syscalls/declarations/admit.js +1 -1
- package/dist/schema/kernel/syscalls/declarations/can.d.ts +1 -1
- package/dist/schema/kernel/syscalls/declarations/can.js +1 -1
- package/dist/schema/kernel/syscalls/declarations/delegate.d.ts +2 -1
- package/dist/schema/kernel/syscalls/declarations/delegate.js +2 -2
- package/dist/schema/kernel/syscalls/declarations/index.d.ts +20 -15
- package/dist/schema/kernel/syscalls/declarations/install.d.ts +1 -1
- package/dist/schema/kernel/syscalls/declarations/introspect.d.ts +1 -1
- package/dist/schema/kernel/syscalls/declarations/journal.d.ts +1 -1
- package/dist/schema/kernel/syscalls/declarations/mint.d.ts +1 -1
- package/dist/schema/kernel/syscalls/declarations/mint.js +1 -1
- package/dist/schema/kernel/syscalls/declarations/mutate.d.ts +1 -1
- package/dist/schema/kernel/syscalls/declarations/query.d.ts +1 -1
- package/dist/schema/kernel/syscalls/declarations/register.d.ts +1 -1
- package/dist/schema/kernel/syscalls/declarations/uninstall.d.ts +1 -1
- package/dist/schema/kernel/syscalls/declarations/view-resolve.d.ts +1 -1
- package/dist/schema/kernel/syscalls/declarations/view-resolve.js +1 -1
- package/dist/schema/kernel/syscalls/declarations/whoami.d.ts +1 -1
- package/dist/schema/kernel/syscalls/declarations/whoami.js +1 -1
- package/dist/schema/kernel/syscalls/declarations/whois.d.ts +1 -1
- package/dist/schema/kernel/syscalls/declarations/whois.js +1 -1
- package/dist/schema/kernel/syscalls/descriptors/function.d.ts +7 -2
- package/dist/schema/kernel/syscalls/descriptors/identity.d.ts +11 -5
- package/dist/schema/kernel/syscalls/descriptors/identity.js +1 -1
- package/dist/schema/kernel/syscalls/descriptors/view.d.ts +2 -1
- package/dist/schema/meta/descriptable.d.ts +2 -0
- package/dist/schema/meta/iconable.d.ts +2 -0
- package/dist/schema/meta/named.d.ts +2 -0
- package/dist/schema/meta/node.d.ts +2 -0
- package/dist/schema/meta/remotable.d.ts +2 -0
- package/dist/schema/meta/statused.d.ts +2 -0
- package/dist/schema/meta/timestamped.d.ts +2 -0
- package/package.json +2 -2
package/dist/callable/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export type { BinaryOutput, BufferedBinaryResult, Callable, CallableSignature, CallOf, InputOf, OutputContractOf, OutputOf, SignatureOf, StreamingBinaryResult, TypedCallableOutput, } from './contract/index.js';
|
|
2
|
-
export type
|
|
2
|
+
export { Target, targetPath, type Call, type CallableResult } from './invocation/index.js';
|
package/dist/callable/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export { Target, targetPath } from './invocation/index.js';
|
|
@@ -1,7 +1,18 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Key, Revision } from '@astrale-os/kernel-dsl/v1/addressing';
|
|
2
2
|
import type { Value } from '@astrale-os/kernel-dsl/value';
|
|
3
|
+
import { type NodePath } from '@astrale-os/kernel-core/path';
|
|
4
|
+
/** One declaration, optionally bound to an instance and a declaring Domain revision. */
|
|
5
|
+
export type Target = {
|
|
6
|
+
readonly callable: Key.Callable;
|
|
7
|
+
readonly instance?: NodePath;
|
|
8
|
+
readonly revision?: Revision;
|
|
9
|
+
};
|
|
10
|
+
/** Capture a structured invocation target at a representation boundary. */
|
|
11
|
+
export declare function Target(input: Target): Target;
|
|
12
|
+
/** Project an admitted target to its canonical graph path without discarding the original Call. */
|
|
13
|
+
export declare function targetPath(target: NodePath | Target): NodePath;
|
|
3
14
|
/** One canonical callable invocation meaning, independent of its carrier. */
|
|
4
15
|
export interface Call {
|
|
5
|
-
readonly target: NodePath;
|
|
16
|
+
readonly target: NodePath | Target;
|
|
6
17
|
readonly input: Value;
|
|
7
18
|
}
|
|
@@ -1 +1,40 @@
|
|
|
1
|
-
|
|
1
|
+
import { Path } from '@astrale-os/kernel-core/path';
|
|
2
|
+
import { callableAddress, patterns } from '@astrale-os/kernel-dsl/v1/addressing';
|
|
3
|
+
/** Capture a structured invocation target at a representation boundary. */
|
|
4
|
+
export function Target(input) {
|
|
5
|
+
if (input === null ||
|
|
6
|
+
typeof input !== 'object' ||
|
|
7
|
+
Array.isArray(input) ||
|
|
8
|
+
Reflect.ownKeys(input).some((field) => !['callable', 'instance', 'revision'].includes(String(field)))) {
|
|
9
|
+
throw new TypeError('Invocation Target must contain only callable, instance and revision.');
|
|
10
|
+
}
|
|
11
|
+
const callable = input.callable;
|
|
12
|
+
const coordinate = callableAddress(callable);
|
|
13
|
+
const revision = input.revision;
|
|
14
|
+
if (revision !== undefined &&
|
|
15
|
+
(typeof revision !== 'string' || !patterns.revision.test(revision))) {
|
|
16
|
+
throw new TypeError('Invocation Target revision is invalid.');
|
|
17
|
+
}
|
|
18
|
+
const suppliedInstance = input.instance;
|
|
19
|
+
const instance = suppliedInstance === undefined ? undefined : Path.parse(suppliedInstance);
|
|
20
|
+
if (instance !== undefined &&
|
|
21
|
+
(coordinate.kind !== 'method' || instance.ast.steps.at(-1)?.kind === 'method')) {
|
|
22
|
+
throw new TypeError('Only an instance Method target can carry a node instance path.');
|
|
23
|
+
}
|
|
24
|
+
return Object.freeze({
|
|
25
|
+
callable,
|
|
26
|
+
...(instance === undefined ? {} : { instance: instance.raw }),
|
|
27
|
+
...(revision === undefined ? {} : { revision }),
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
/** Project an admitted target to its canonical graph path without discarding the original Call. */
|
|
31
|
+
export function targetPath(target) {
|
|
32
|
+
if (typeof target === 'string')
|
|
33
|
+
return target;
|
|
34
|
+
const coordinate = callableAddress(target.callable);
|
|
35
|
+
if (coordinate.kind === 'function')
|
|
36
|
+
return Path.project(coordinate).raw;
|
|
37
|
+
return target.instance === undefined
|
|
38
|
+
? Path.staticMethod(Path.project(coordinate.owner), coordinate.name).raw
|
|
39
|
+
: Path.instanceMethod(Path.parse(target.instance), target.callable).raw;
|
|
40
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export { Target, targetPath, type Call } from './call.js';
|
|
2
2
|
export type { CallableResult } from './result.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export { Target, targetPath } from './call.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DefinitionRef, Key } from '@astrale-os/kernel-dsl/v1/addressing';
|
|
2
|
+
import { MethodKey } from '@astrale-os/kernel-dsl/v1/addressing';
|
|
2
3
|
import { type ClassKey as ClassKeyValue } from '@astrale-os/kernel-dsl/v1/addressing';
|
|
3
4
|
import type { NodeId } from '../../node/identity/index.js';
|
|
4
5
|
import type { DomainAnchor as PathDomainAnchor, DomainProjection as PathDomainProjection, IdAnchor as PathIdAnchor, MethodStep as PathMethodStep, NodePath, PathAST, PathAnchor, PathDiagnostic, PathDiagnosticCode, PathStep, ProjectionKind as PathProjectionKind, ProjectionStep as PathProjectionStep, TraversalStep as PathTraversalStep } from '../language/index.js';
|
|
@@ -19,7 +20,7 @@ export declare class Path {
|
|
|
19
20
|
static domain(origin: Key.Origin): Path.Domain;
|
|
20
21
|
static project(input: ClassKeyValue | Path.ProjectionRef): Path.Projection;
|
|
21
22
|
static staticMethod(owner: Path.Projection, name: string): Path.Method;
|
|
22
|
-
static instanceMethod(source: Path,
|
|
23
|
+
static instanceMethod(source: Path, callable: MethodKey): Path.Method;
|
|
23
24
|
out(classKey: ClassKeyValue, options?: Path.TraversalOptions): Path;
|
|
24
25
|
in(classKey: ClassKeyValue, options?: Path.TraversalOptions): Path;
|
|
25
26
|
equals(other: Path): boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MethodKey } from '@astrale-os/kernel-dsl/v1/addressing';
|
|
1
2
|
import { ClassKey, isDefinitionRef, } from '@astrale-os/kernel-dsl/v1/addressing';
|
|
2
3
|
import { EdgeSlug } from '../../edge/slug/index.js';
|
|
3
4
|
import { isNodeId } from '../../node/identity/index.js';
|
|
@@ -51,10 +52,14 @@ export class Path {
|
|
|
51
52
|
steps: [...owner.ast.steps, { kind: 'method', dispatch: 'static', name }],
|
|
52
53
|
}));
|
|
53
54
|
}
|
|
54
|
-
static instanceMethod(source,
|
|
55
|
+
static instanceMethod(source, callable) {
|
|
56
|
+
const { owner, name } = MethodKey.address(callable);
|
|
55
57
|
return createPath(normalizePathAST({
|
|
56
58
|
anchor: source.ast.anchor,
|
|
57
|
-
steps: [
|
|
59
|
+
steps: [
|
|
60
|
+
...source.ast.steps,
|
|
61
|
+
{ kind: 'method', dispatch: 'instance', class: ClassKey.of(owner), name },
|
|
62
|
+
],
|
|
58
63
|
}));
|
|
59
64
|
}
|
|
60
65
|
out(classKey, options = {}) {
|
|
@@ -25,11 +25,16 @@ export interface ProjectionStep {
|
|
|
25
25
|
readonly kind: 'projection';
|
|
26
26
|
readonly projection: DomainProjection;
|
|
27
27
|
}
|
|
28
|
-
export
|
|
28
|
+
export type MethodStep = {
|
|
29
29
|
readonly kind: 'method';
|
|
30
|
-
readonly dispatch: 'static'
|
|
30
|
+
readonly dispatch: 'static';
|
|
31
31
|
readonly name: string;
|
|
32
|
-
}
|
|
32
|
+
} | {
|
|
33
|
+
readonly kind: 'method';
|
|
34
|
+
readonly dispatch: 'instance';
|
|
35
|
+
readonly class: ClassKey;
|
|
36
|
+
readonly name: string;
|
|
37
|
+
};
|
|
33
38
|
export interface TraversalStep {
|
|
34
39
|
readonly kind: 'traverse';
|
|
35
40
|
readonly direction: 'out' | 'in';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { patterns } from '@astrale-os/kernel-dsl/v1/addressing';
|
|
1
|
+
import { patterns, MethodKey } from '@astrale-os/kernel-dsl/v1/addressing';
|
|
2
2
|
import { ClassKey } from '@astrale-os/kernel-dsl/v1/addressing';
|
|
3
3
|
import { EdgeSlug, isEdgeSlug } from '../../edge/slug/index.js';
|
|
4
4
|
import { isNodeId } from '../../node/identity/index.js';
|
|
@@ -34,7 +34,9 @@ export function normalizePathAST(input) {
|
|
|
34
34
|
continue;
|
|
35
35
|
}
|
|
36
36
|
if (candidate.kind === 'method') {
|
|
37
|
-
if (!hasExactKeys(candidate,
|
|
37
|
+
if (!hasExactKeys(candidate, candidate.dispatch === 'instance'
|
|
38
|
+
? ['kind', 'dispatch', 'class', 'name']
|
|
39
|
+
: ['kind', 'dispatch', 'name']))
|
|
38
40
|
invalidAST();
|
|
39
41
|
if (candidate.dispatch !== 'static' && candidate.dispatch !== 'instance')
|
|
40
42
|
invalidAST();
|
|
@@ -49,7 +51,18 @@ export function normalizePathAST(input) {
|
|
|
49
51
|
invalidAST();
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
|
-
|
|
54
|
+
if (candidate.dispatch === 'instance') {
|
|
55
|
+
if (!ClassKey.is(candidate.class))
|
|
56
|
+
invalidAST();
|
|
57
|
+
steps.push({
|
|
58
|
+
kind: 'method',
|
|
59
|
+
dispatch: 'instance',
|
|
60
|
+
class: ClassKey(candidate.class),
|
|
61
|
+
name: candidate.name,
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
else
|
|
65
|
+
steps.push({ kind: 'method', dispatch: 'static', name: candidate.name });
|
|
53
66
|
continue;
|
|
54
67
|
}
|
|
55
68
|
if (candidate.kind === 'traverse') {
|
|
@@ -111,11 +124,12 @@ function parseSteps(input, start, anchorKind) {
|
|
|
111
124
|
let cursor = start;
|
|
112
125
|
while (cursor < input.length) {
|
|
113
126
|
if (input.startsWith('::', cursor)) {
|
|
114
|
-
const
|
|
115
|
-
if (!
|
|
116
|
-
throw pathError(input, 'PATH_INVALID_METHOD', '
|
|
127
|
+
const key = input.slice(cursor + 2);
|
|
128
|
+
if (!MethodKey.is(key)) {
|
|
129
|
+
throw pathError(input, 'PATH_INVALID_METHOD', 'Instance Method requires a complete domain-qualified Method key.', cursor + 2);
|
|
117
130
|
}
|
|
118
|
-
|
|
131
|
+
const { owner, name } = MethodKey.address(key);
|
|
132
|
+
steps.push({ kind: 'method', dispatch: 'instance', class: ClassKey.of(owner), name });
|
|
119
133
|
cursor = input.length;
|
|
120
134
|
continue;
|
|
121
135
|
}
|
|
@@ -234,7 +248,8 @@ function serializeNormalizedPathAST(ast) {
|
|
|
234
248
|
output += `:${step.projection.kind}.${step.projection.name}`;
|
|
235
249
|
}
|
|
236
250
|
else if (step.kind === 'method') {
|
|
237
|
-
output +=
|
|
251
|
+
output +=
|
|
252
|
+
step.dispatch === 'instance' ? `::${step.class}.method.${step.name}` : `:${step.name}`;
|
|
238
253
|
}
|
|
239
254
|
else {
|
|
240
255
|
output += `${step.direction === 'in' ? '<~' : '~'}"${step.class}"`;
|
|
@@ -27,6 +27,8 @@ export declare const Operation: builder.NodeClass<{
|
|
|
27
27
|
};
|
|
28
28
|
readonly methods: Readonly<Record<never, never>>;
|
|
29
29
|
}, builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "name", unknown, undefined>, never, never>, undefined>;
|
|
30
|
+
readonly abstractInstanceMethods: never;
|
|
31
|
+
readonly abstractStaticMethods: never;
|
|
30
32
|
readonly effectiveInstanceMethods: never;
|
|
31
33
|
readonly effectiveStaticMethods: never;
|
|
32
34
|
}>;
|
|
@@ -27,6 +27,8 @@ export declare const Policy: builder.NodeClass<{
|
|
|
27
27
|
};
|
|
28
28
|
readonly methods: Readonly<Record<never, never>>;
|
|
29
29
|
}, builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "description", unknown, never>, never, never>, never>;
|
|
30
|
+
readonly abstractInstanceMethods: never;
|
|
31
|
+
readonly abstractStaticMethods: never;
|
|
30
32
|
readonly effectiveInstanceMethods: never;
|
|
31
33
|
readonly effectiveStaticMethods: never;
|
|
32
34
|
}>;
|
|
@@ -24,12 +24,16 @@ export declare const Function: builder.NodeClass<{
|
|
|
24
24
|
readonly auth: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "auth", "self", undefined>;
|
|
25
25
|
readonly policy: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "policy", "self", never>;
|
|
26
26
|
readonly static: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "static", "self", never>;
|
|
27
|
-
readonly
|
|
27
|
+
readonly abstract: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "abstract", "self", never>;
|
|
28
28
|
};
|
|
29
29
|
readonly methods: Readonly<{
|
|
30
30
|
admit: builder.Method<builder.CallableProjection<{
|
|
31
31
|
call: {
|
|
32
|
-
target: string
|
|
32
|
+
target: string | {
|
|
33
|
+
callable: string;
|
|
34
|
+
instance?: string | undefined;
|
|
35
|
+
revision?: string | undefined;
|
|
36
|
+
};
|
|
33
37
|
input: unknown;
|
|
34
38
|
};
|
|
35
39
|
credential?: string | undefined;
|
|
@@ -39,7 +43,7 @@ export declare const Function: builder.NodeClass<{
|
|
|
39
43
|
callable: string;
|
|
40
44
|
receiver?: string | undefined;
|
|
41
45
|
};
|
|
42
|
-
}, "authenticated", true,
|
|
46
|
+
}, "authenticated", true, false>>;
|
|
43
47
|
}>;
|
|
44
48
|
readonly effectiveProperties: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "description", builder.ClassOwnerProjection<"node", {
|
|
45
49
|
readonly abstract: true;
|
|
@@ -48,11 +52,17 @@ export declare const Function: builder.NodeClass<{
|
|
|
48
52
|
readonly description: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "description", "self", never>;
|
|
49
53
|
};
|
|
50
54
|
readonly methods: Readonly<Record<never, never>>;
|
|
51
|
-
}, builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "description", unknown, never>, never, never>, never> | (builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value,
|
|
55
|
+
}, builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "description", unknown, never>, never, never>, never> | (builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "abstract", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "auth", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "input", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "kind", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "output", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "policy", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "static", "self", never>);
|
|
56
|
+
readonly abstractInstanceMethods: never;
|
|
57
|
+
readonly abstractStaticMethods: never;
|
|
52
58
|
readonly effectiveInstanceMethods: never;
|
|
53
59
|
readonly effectiveStaticMethods: builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
54
60
|
call: {
|
|
55
|
-
target: string
|
|
61
|
+
target: string | {
|
|
62
|
+
callable: string;
|
|
63
|
+
instance?: string | undefined;
|
|
64
|
+
revision?: string | undefined;
|
|
65
|
+
};
|
|
56
66
|
input: unknown;
|
|
57
67
|
};
|
|
58
68
|
credential?: string | undefined;
|
|
@@ -62,5 +72,5 @@ export declare const Function: builder.NodeClass<{
|
|
|
62
72
|
callable: string;
|
|
63
73
|
receiver?: string | undefined;
|
|
64
74
|
};
|
|
65
|
-
}, "authenticated", true,
|
|
75
|
+
}, "authenticated", true, false>>, "admit", "self">;
|
|
66
76
|
}>;
|
|
@@ -12,7 +12,7 @@ export const Function = nodeClass({
|
|
|
12
12
|
auth: { enum: ['anonymous', 'authenticated', 'authorized'] },
|
|
13
13
|
policy: property({ type: 'object' }, { required: false }),
|
|
14
14
|
static: property({ type: 'boolean' }, { required: false }),
|
|
15
|
-
|
|
15
|
+
abstract: property({ type: 'boolean' }, { required: false }),
|
|
16
16
|
},
|
|
17
17
|
methods: FunctionMethods,
|
|
18
18
|
});
|
|
@@ -51,7 +51,7 @@ export declare const View: builder.NodeClass<{
|
|
|
51
51
|
revision: string;
|
|
52
52
|
}[];
|
|
53
53
|
};
|
|
54
|
-
}, "authorized", true,
|
|
54
|
+
}, "authorized", true, false>>;
|
|
55
55
|
}>;
|
|
56
56
|
readonly effectiveProperties: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "description", builder.ClassOwnerProjection<"node", {
|
|
57
57
|
readonly abstract: true;
|
|
@@ -61,6 +61,8 @@ export declare const View: builder.NodeClass<{
|
|
|
61
61
|
};
|
|
62
62
|
readonly methods: Readonly<Record<never, never>>;
|
|
63
63
|
}, builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "description", unknown, never>, never, never>, never>;
|
|
64
|
+
readonly abstractInstanceMethods: never;
|
|
65
|
+
readonly abstractStaticMethods: never;
|
|
64
66
|
readonly effectiveInstanceMethods: never;
|
|
65
67
|
readonly effectiveStaticMethods: builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
66
68
|
target: string;
|
|
@@ -94,5 +96,5 @@ export declare const View: builder.NodeClass<{
|
|
|
94
96
|
revision: string;
|
|
95
97
|
}[];
|
|
96
98
|
};
|
|
97
|
-
}, "authorized", true,
|
|
99
|
+
}, "authorized", true, false>>, "resolve", "self">;
|
|
98
100
|
}>;
|
|
@@ -51,6 +51,8 @@ export declare const Class: builder.NodeClass<{
|
|
|
51
51
|
};
|
|
52
52
|
readonly methods: Readonly<Record<never, never>>;
|
|
53
53
|
}, builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "icon", unknown, never>, never, never>, never> | (builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "abstract", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "kind", "self", undefined>);
|
|
54
|
+
readonly abstractInstanceMethods: never;
|
|
55
|
+
readonly abstractStaticMethods: never;
|
|
54
56
|
readonly effectiveInstanceMethods: never;
|
|
55
57
|
readonly effectiveStaticMethods: never;
|
|
56
58
|
}>;
|