Skip to main content

createAuthoringSessionRequestSchema

@gooi/language-server


@gooi/language-server / contracts/session-contracts / createAuthoringSessionRequestSchema

Variable: createAuthoringSessionRequestSchema

const createAuthoringSessionRequestSchema: ZodObject<{ context: ZodObject<{ capabilityIndexSnapshot: ZodObject<{ artifactHash: ZodString; artifactVersion: ZodLiteral<"1.0.0">; capabilities: ZodArray<ZodObject<{ capabilityId: ZodString; capabilityVersion: ZodString; certificationState: ZodEnum<{ certified: ...; pending: ...; rejected: ...; revoked: ...; uncertified: ...; }>; declaredEffects: ZodArray<ZodEnum<...>>; deprecation: ZodObject<{ deprecatedAt: ...; isDeprecated: ...; removalAt: ...; replacementCapabilityId: ...; }, $strip>; examples: ZodObject<{ error: ...; input: ...; output: ...; }, $strip>; ioSchemaRefs: ZodObject<{ errorSchemaRef: ...; inputSchemaRef: ...; outputSchemaRef: ...; }, $strip>; lastVerifiedAt: ZodNullable<ZodISODateTime>; provenance: ZodEnum<{ catalog: ...; local-spec: ...; }>; providerAvailability: ZodArray<ZodObject<..., ...>>; trustTier: ZodEnum<{ community: ...; trusted: ...; unknown: ...; verified: ...; }>; }, $strip>>; catalogIdentity: ZodObject<{ catalogHash: ZodString; catalogSource: ZodString; catalogVersion: ZodString; }, $strip>; sourceHash: ZodString; }, $strip>; compiledEntrypointBundleIdentity: ZodObject<{ artifactHash: ZodString; artifactId: ZodLiteral<"CompiledEntrypointBundle">; artifactVersion: ZodString; }, $strict>; documentPath: ZodString; documentText: ZodString; documentUri: ZodString; lockfile: ZodObject<{ artifactHash: ZodString; artifactVersion: ZodLiteral<"1.0.0">; catalogSnapshot: ZodObject<{ catalogHash: ZodString; catalogSource: ZodString; catalogVersion: ZodString; }, $strip>; envelopeVersions: ZodObject<{ authoringDiagnosticsEnvelope: ZodLiteral<"1.0.0">; authoringErrorEnvelope: ZodLiteral<"1.0.0">; authoringRequestEnvelope: ZodLiteral<"1.0.0">; authoringResultEnvelope: ZodLiteral<"1.0.0">; }, $strip>; remoteSource: ZodOptional<ZodObject<{ fetchedAt: ZodISODateTime; id: ZodString; url: ZodURL; }, $strip>>; requiredArtifacts: ZodObject<{ capabilityIndexSnapshot: ZodObject<{ artifactHash: ZodString; artifactId: ZodString; artifactVersion: ZodString; }, $strip>; compiledEntrypointBundle: ZodObject<{ artifactHash: ZodString; artifactId: ZodString; artifactVersion: ZodString; }, $strip>; symbolGraphSnapshot: ZodObject<{ artifactHash: ZodString; artifactId: ZodString; artifactVersion: ZodString; }, $strip>; }, $strip>; sourceHash: ZodString; sourceKind: ZodLiteral<"workspace-local">; }, $strip>; sourceSpec: ZodOptional<ZodUnknown>; symbolGraphSnapshot: ZodObject<{ artifactHash: ZodString; artifactVersion: ZodLiteral<"1.0.0">; references: ZodArray<ZodObject<{ fromSymbolId: ZodString; relationship: ZodEnum<{ emits_signal: ...; impacts_query: ...; references: ...; refresh_subscription: ...; }>; toSymbolId: ZodString; }, $strip>>; renameConstraints: ZodArray<ZodObject<{ blockedReason: ZodOptional<ZodString>; renameable: ZodBoolean; symbolKind: ZodEnum<{ action: ...; ambient_symbol: ...; capability: ...; entrypoint: ...; expression_variable: ...; projection: ...; route: ...; signal: ...; step_binding: ...; }>; }, $strip>>; sourceHash: ZodString; symbols: ZodArray<ZodObject<{ id: ZodString; kind: ZodEnum<{ action: ...; ambient_symbol: ...; capability: ...; entrypoint: ...; expression_variable: ...; projection: ...; route: ...; signal: ...; step_binding: ...; }>; location: ZodObject<{ character: ...; line: ...; path: ...; }, $strip>; name: ZodString; ownerSymbolId: ZodOptional<ZodString>; }, $strip>>; }, $strip>; }, $strip>; initialVersion: ZodDefault<ZodNumber>; }, $strip>

Defined in: authoring/language-server/src/contracts/session-contracts.ts:24

Session create request.