@nakafa/aksara-contracts 4.1.2 → 5.0.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.
@@ -3714,7 +3714,7 @@ export type PublicationResponse = typeof PublicationResponseSchema.Type;
3714
3714
  /** Strictly decodes one unknown publication response without throwing. */
3715
3715
  export declare const decodePublicationResponse: (input: unknown) => Effect.Effect<{
3716
3716
  readonly ok: true;
3717
- readonly operation: "accept";
3717
+ readonly operation: "abort";
3718
3718
  readonly value: {
3719
3719
  readonly complete: boolean;
3720
3720
  readonly processedItems: number;
@@ -3723,13 +3723,106 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
3723
3723
  };
3724
3724
  } | {
3725
3725
  readonly ok: true;
3726
- readonly operation: "abort";
3726
+ readonly operation: "accept";
3727
3727
  readonly value: {
3728
3728
  readonly complete: boolean;
3729
3729
  readonly processedItems: number;
3730
3730
  readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
3731
3731
  readonly totalItems: number;
3732
3732
  };
3733
+ } | {
3734
+ readonly ok: true;
3735
+ readonly operation: "activate";
3736
+ readonly value: {
3737
+ readonly activatedHeads: number;
3738
+ readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
3739
+ readonly deletedHeads: number;
3740
+ readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3741
+ readonly projectionDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3742
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
3743
+ readonly resultCount: number;
3744
+ readonly resultDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3745
+ readonly routeDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3746
+ readonly snapshots: {
3747
+ readonly assessment: {
3748
+ readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
3749
+ readonly mode: "inherit" | "replace" | "restore";
3750
+ readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
3751
+ readonly rowCount: number;
3752
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3753
+ };
3754
+ readonly program: {
3755
+ readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
3756
+ readonly mode: "inherit" | "replace" | "restore";
3757
+ readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
3758
+ readonly rowCount: number;
3759
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3760
+ };
3761
+ readonly quran: {
3762
+ readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
3763
+ readonly mode: "inherit" | "replace" | "restore";
3764
+ readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
3765
+ readonly rowCount: number;
3766
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3767
+ };
3768
+ };
3769
+ readonly stagedArtifacts: number;
3770
+ readonly stagedItems: number;
3771
+ readonly stagedProjections: number;
3772
+ readonly stagedRoutes: number;
3773
+ readonly stagedSnapshotRows: number;
3774
+ };
3775
+ } | {
3776
+ readonly ok: true;
3777
+ readonly operation: "activateRecovery";
3778
+ readonly value: {
3779
+ readonly activatedHeads: number;
3780
+ readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
3781
+ readonly deletedHeads: number;
3782
+ readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3783
+ readonly projectionDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3784
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
3785
+ readonly resultCount: number;
3786
+ readonly resultDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3787
+ readonly routeDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3788
+ readonly snapshots: {
3789
+ readonly assessment: {
3790
+ readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
3791
+ readonly mode: "inherit" | "replace" | "restore";
3792
+ readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
3793
+ readonly rowCount: number;
3794
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3795
+ };
3796
+ readonly program: {
3797
+ readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
3798
+ readonly mode: "inherit" | "replace" | "restore";
3799
+ readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
3800
+ readonly rowCount: number;
3801
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3802
+ };
3803
+ readonly quran: {
3804
+ readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
3805
+ readonly mode: "inherit" | "replace" | "restore";
3806
+ readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
3807
+ readonly rowCount: number;
3808
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
3809
+ };
3810
+ };
3811
+ readonly stagedArtifacts: number;
3812
+ readonly stagedItems: number;
3813
+ readonly stagedProjections: number;
3814
+ readonly stagedRoutes: number;
3815
+ readonly stagedSnapshotRows: number;
3816
+ };
3817
+ } | {
3818
+ readonly ok: true;
3819
+ readonly operation: "cleanup";
3820
+ readonly value: {
3821
+ readonly complete: boolean;
3822
+ readonly deletedArtifacts: number;
3823
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
3824
+ readonly retryAt?: number | undefined;
3825
+ };
3733
3826
  } | {
3734
3827
  readonly ok: true;
3735
3828
  readonly operation: "current";
@@ -3999,133 +4092,311 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
3999
4092
  };
4000
4093
  } | {
4001
4094
  readonly ok: true;
4002
- readonly operation: "stageRelease";
4095
+ readonly operation: "rollbackPage";
4003
4096
  readonly value: {
4004
- readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4005
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4006
- readonly phase: "completed";
4007
- readonly receipt: {
4008
- readonly activatedHeads: number;
4009
- readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
4010
- readonly deletedHeads: number;
4011
- readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4012
- readonly projectionDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4013
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4014
- readonly resultCount: number;
4015
- readonly resultDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4016
- readonly routeDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4017
- readonly snapshots: {
4018
- readonly assessment: {
4019
- readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4020
- readonly mode: "inherit" | "replace" | "restore";
4021
- readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4022
- readonly rowCount: number;
4023
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4097
+ readonly done: boolean;
4098
+ readonly nextIndex: number;
4099
+ readonly records: readonly {
4100
+ readonly current: {
4101
+ readonly artifact: {
4102
+ readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4103
+ readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
4104
+ readonly payload: {
4105
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4106
+ readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4107
+ readonly compilerVersion: "0.2.0";
4108
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4109
+ readonly contentTree: {
4110
+ readonly $node: "element";
4111
+ readonly children: readonly import("../tree.js").ContentTreeChild[];
4112
+ readonly name: import("../tree.js").ContentTreeElementName;
4113
+ readonly props: {
4114
+ readonly [key: string]: import("../tree.js").ContentTreeValue;
4115
+ };
4116
+ };
4117
+ readonly format: "content-tree";
4118
+ readonly mdxCompilerVersion: "3.1.1";
4119
+ readonly plainText: string;
4120
+ readonly rawMdx: string;
4121
+ readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
4122
+ readonly requiredComponents: readonly string[];
4123
+ readonly sourceHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4124
+ };
4125
+ readonly signature: string & import("effect/Brand").Brand<"@NakafaAI/AksaraEd25519Signature">;
4024
4126
  };
4025
- readonly program: {
4026
- readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4027
- readonly mode: "inherit" | "replace" | "restore";
4028
- readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4029
- readonly rowCount: number;
4030
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4127
+ readonly change: {
4128
+ readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4129
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4130
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4131
+ readonly delivery: "authenticated" | "entitled" | "public";
4132
+ readonly family: "article" | "material" | "page";
4133
+ readonly operation: "upsert";
4134
+ readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
4135
+ readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
4031
4136
  };
4032
- readonly quran: {
4033
- readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4034
- readonly mode: "inherit" | "replace" | "restore";
4035
- readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4036
- readonly rowCount: number;
4037
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4137
+ readonly projection: {
4138
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4139
+ readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
4140
+ readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
4141
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4142
+ readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
4143
+ readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
4144
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4145
+ readonly graph: {
4146
+ readonly alignmentId: string;
4147
+ readonly assetId: string;
4148
+ readonly conceptId: string;
4149
+ readonly learningObjectId: string;
4150
+ readonly lensId: string;
4151
+ };
4152
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4153
+ readonly categoryTitle: string;
4154
+ readonly kind: "article";
4155
+ readonly metadata: {
4156
+ readonly dateModified?: string;
4157
+ readonly datePublished: string;
4158
+ readonly authors: readonly {
4159
+ readonly name: string;
4160
+ }[];
4161
+ readonly description?: string | undefined;
4162
+ readonly title: string;
4163
+ };
4164
+ readonly official: boolean;
4165
+ readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4166
+ readonly references: readonly {
4167
+ readonly authors: string;
4168
+ readonly citation?: string | undefined;
4169
+ readonly details?: string | undefined;
4170
+ readonly publication?: string | undefined;
4171
+ readonly title: string;
4172
+ readonly url?: string | undefined;
4173
+ readonly year: number;
4174
+ }[];
4175
+ readonly sitemap: true;
4176
+ } | {
4177
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4178
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4179
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4180
+ readonly graph: {
4181
+ readonly alignmentId: string;
4182
+ readonly assetId: string;
4183
+ readonly conceptId: string;
4184
+ readonly learningObjectId: string;
4185
+ readonly lensId: string;
4186
+ };
4187
+ readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
4188
+ readonly order: number;
4189
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4190
+ readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
4191
+ readonly kind: "subject-lesson";
4192
+ readonly metadata: {
4193
+ readonly dateModified?: string;
4194
+ readonly datePublished: string;
4195
+ readonly authors: readonly {
4196
+ readonly name: string;
4197
+ }[];
4198
+ readonly description?: string | undefined;
4199
+ readonly searchTitle?: string;
4200
+ readonly subject?: string | undefined;
4201
+ readonly title: string;
4202
+ };
4203
+ readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4204
+ readonly sitemap: true;
4205
+ readonly topicTitle: string;
4206
+ } | {
4207
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4208
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4209
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4210
+ readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
4211
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4212
+ readonly kind: "public-page";
4213
+ readonly metadata: {
4214
+ readonly dateModified?: string;
4215
+ readonly datePublished: string;
4216
+ readonly description: string;
4217
+ readonly title: string;
4218
+ };
4219
+ readonly sitemap: true;
4220
+ readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
4038
4221
  };
4039
- };
4040
- readonly stagedArtifacts: number;
4041
- readonly stagedItems: number;
4042
- readonly stagedProjections: number;
4043
- readonly stagedRoutes: number;
4044
- readonly stagedSnapshotRows: number;
4045
- };
4046
- } | {
4047
- readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4048
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4049
- readonly phase: "missing";
4050
- } | {
4051
- readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4052
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4053
- readonly phase: "aborted" | "aborting" | "staging" | "verified" | "verifying";
4054
- };
4055
- } | {
4056
- readonly ok: true;
4057
- readonly operation: "stageRecovery";
4058
- readonly value: {
4059
- readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4060
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4061
- readonly phase: "completed";
4062
- readonly receipt: {
4063
- readonly activatedHeads: number;
4064
- readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
4065
- readonly deletedHeads: number;
4066
- readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4067
- readonly projectionDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4068
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4069
- readonly resultCount: number;
4070
- readonly resultDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4071
- readonly routeDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4072
- readonly snapshots: {
4073
- readonly assessment: {
4074
- readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4075
- readonly mode: "inherit" | "replace" | "restore";
4076
- readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4077
- readonly rowCount: number;
4078
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4222
+ } | {
4223
+ readonly change: {
4224
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4225
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4226
+ readonly family: "article" | "material" | "page";
4227
+ readonly operation: "delete";
4079
4228
  };
4080
- readonly program: {
4081
- readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4082
- readonly mode: "inherit" | "replace" | "restore";
4083
- readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4084
- readonly rowCount: number;
4085
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4229
+ };
4230
+ readonly index: number;
4231
+ readonly prior: {
4232
+ readonly artifact: {
4233
+ readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4234
+ readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
4235
+ readonly payload: {
4236
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4237
+ readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4238
+ readonly compilerVersion: "0.2.0";
4239
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4240
+ readonly contentTree: {
4241
+ readonly $node: "element";
4242
+ readonly children: readonly import("../tree.js").ContentTreeChild[];
4243
+ readonly name: import("../tree.js").ContentTreeElementName;
4244
+ readonly props: {
4245
+ readonly [key: string]: import("../tree.js").ContentTreeValue;
4246
+ };
4247
+ };
4248
+ readonly format: "content-tree";
4249
+ readonly mdxCompilerVersion: "3.1.1";
4250
+ readonly plainText: string;
4251
+ readonly rawMdx: string;
4252
+ readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
4253
+ readonly requiredComponents: readonly string[];
4254
+ readonly sourceHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4255
+ };
4256
+ readonly signature: string & import("effect/Brand").Brand<"@NakafaAI/AksaraEd25519Signature">;
4086
4257
  };
4087
- readonly quran: {
4088
- readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4089
- readonly mode: "inherit" | "replace" | "restore";
4090
- readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4091
- readonly rowCount: number;
4092
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4258
+ readonly change: {
4259
+ readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4260
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4261
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4262
+ readonly delivery: "authenticated" | "entitled" | "public";
4263
+ readonly family: "article" | "material" | "page";
4264
+ readonly operation: "upsert";
4265
+ readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
4266
+ readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
4267
+ };
4268
+ readonly projection: {
4269
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4270
+ readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
4271
+ readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
4272
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4273
+ readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
4274
+ readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
4275
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4276
+ readonly graph: {
4277
+ readonly alignmentId: string;
4278
+ readonly assetId: string;
4279
+ readonly conceptId: string;
4280
+ readonly learningObjectId: string;
4281
+ readonly lensId: string;
4282
+ };
4283
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4284
+ readonly categoryTitle: string;
4285
+ readonly kind: "article";
4286
+ readonly metadata: {
4287
+ readonly dateModified?: string;
4288
+ readonly datePublished: string;
4289
+ readonly authors: readonly {
4290
+ readonly name: string;
4291
+ }[];
4292
+ readonly description?: string | undefined;
4293
+ readonly title: string;
4294
+ };
4295
+ readonly official: boolean;
4296
+ readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4297
+ readonly references: readonly {
4298
+ readonly authors: string;
4299
+ readonly citation?: string | undefined;
4300
+ readonly details?: string | undefined;
4301
+ readonly publication?: string | undefined;
4302
+ readonly title: string;
4303
+ readonly url?: string | undefined;
4304
+ readonly year: number;
4305
+ }[];
4306
+ readonly sitemap: true;
4307
+ } | {
4308
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4309
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4310
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4311
+ readonly graph: {
4312
+ readonly alignmentId: string;
4313
+ readonly assetId: string;
4314
+ readonly conceptId: string;
4315
+ readonly learningObjectId: string;
4316
+ readonly lensId: string;
4317
+ };
4318
+ readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
4319
+ readonly order: number;
4320
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4321
+ readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
4322
+ readonly kind: "subject-lesson";
4323
+ readonly metadata: {
4324
+ readonly dateModified?: string;
4325
+ readonly datePublished: string;
4326
+ readonly authors: readonly {
4327
+ readonly name: string;
4328
+ }[];
4329
+ readonly description?: string | undefined;
4330
+ readonly searchTitle?: string;
4331
+ readonly subject?: string | undefined;
4332
+ readonly title: string;
4333
+ };
4334
+ readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4335
+ readonly sitemap: true;
4336
+ readonly topicTitle: string;
4337
+ } | {
4338
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4339
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4340
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4341
+ readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
4342
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4343
+ readonly kind: "public-page";
4344
+ readonly metadata: {
4345
+ readonly dateModified?: string;
4346
+ readonly datePublished: string;
4347
+ readonly description: string;
4348
+ readonly title: string;
4349
+ };
4350
+ readonly sitemap: true;
4351
+ readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
4352
+ };
4353
+ } | {
4354
+ readonly change: {
4355
+ readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4356
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4357
+ readonly family: "article" | "material" | "page";
4358
+ readonly operation: "delete";
4093
4359
  };
4094
4360
  };
4095
- readonly stagedArtifacts: number;
4096
- readonly stagedItems: number;
4097
- readonly stagedProjections: number;
4098
- readonly stagedRoutes: number;
4099
- readonly stagedSnapshotRows: number;
4100
- };
4101
- } | {
4102
- readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4103
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4104
- readonly phase: "missing";
4105
- } | {
4106
- readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4107
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4108
- readonly phase: "aborted" | "aborting" | "staging" | "verified" | "verifying";
4361
+ }[];
4362
+ readonly rollbackOf: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4363
+ readonly rollbackOfManifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4364
+ readonly total: number;
4109
4365
  };
4110
4366
  } | {
4111
4367
  readonly ok: true;
4112
- readonly operation: "stageSnapshot";
4368
+ readonly operation: "routePage";
4113
4369
  readonly value: {
4114
- readonly created: 0 | 1;
4115
- readonly family: "assessment" | "program" | "quran";
4116
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4117
- readonly snapshotId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4118
- readonly unchanged: 0 | 1;
4370
+ readonly done: boolean;
4371
+ readonly nextIndex: number;
4372
+ readonly records: readonly {
4373
+ readonly current: {
4374
+ readonly change: {
4375
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4376
+ readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4377
+ readonly operation: "bind";
4378
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4379
+ } | {
4380
+ readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4381
+ readonly operation: "delete";
4382
+ readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4383
+ };
4384
+ readonly index: number;
4385
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4386
+ };
4387
+ readonly priorContentKey: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">) | null;
4388
+ }[];
4389
+ readonly rollbackOf: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4390
+ readonly rollbackOfManifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4391
+ readonly total: number;
4119
4392
  };
4120
4393
  } | {
4121
4394
  readonly ok: true;
4122
- readonly operation: "stageSnapshotBatch";
4395
+ readonly operation: "stageArtifactBatch";
4123
4396
  readonly value: {
4124
4397
  readonly batchIndex: number;
4125
4398
  readonly created: number;
4126
- readonly family: "assessment" | "program" | "quran";
4127
4399
  readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4128
- readonly snapshotId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4129
4400
  readonly unchanged: number;
4130
4401
  };
4131
4402
  } | {
@@ -4144,15 +4415,6 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
4144
4415
  readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4145
4416
  readonly unchanged: number;
4146
4417
  };
4147
- } | {
4148
- readonly ok: true;
4149
- readonly operation: "stageRouteBatch";
4150
- readonly value: {
4151
- readonly batchIndex: number;
4152
- readonly created: number;
4153
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4154
- readonly unchanged: number;
4155
- };
4156
4418
  } | {
4157
4419
  readonly ok: true;
4158
4420
  readonly operation: "stageProjectionBatch";
@@ -4164,16 +4426,7 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
4164
4426
  };
4165
4427
  } | {
4166
4428
  readonly ok: true;
4167
- readonly operation: "stageArtifactBatch";
4168
- readonly value: {
4169
- readonly batchIndex: number;
4170
- readonly created: number;
4171
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4172
- readonly unchanged: number;
4173
- };
4174
- } | {
4175
- readonly ok: true;
4176
- readonly operation: "status";
4429
+ readonly operation: "stageRecovery";
4177
4430
  readonly value: {
4178
4431
  readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4179
4432
  readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
@@ -4228,465 +4481,205 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
4228
4481
  };
4229
4482
  } | {
4230
4483
  readonly ok: true;
4231
- readonly operation: "verify";
4232
- readonly value: {
4233
- readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4234
- readonly phase: "verifying";
4235
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4236
- } | {
4237
- readonly evidence: {
4238
- readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
4239
- readonly baseActiveAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]] | null;
4240
- readonly baseManifestHash: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4241
- readonly baseReleaseId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">) | null;
4242
- readonly baseResultCount: number;
4243
- readonly baseResultDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4244
- readonly deleteHeads: number;
4245
- readonly itemCount: number;
4246
- readonly itemsDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4247
- readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4248
- readonly projectionCount: number;
4249
- readonly projectionDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4250
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4251
- readonly rendererManifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4252
- readonly resultCount: number;
4253
- readonly resultDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4254
- readonly rollbackCount: number;
4255
- readonly rollbackDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4256
- readonly routeCount: number;
4257
- readonly routeDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4258
- readonly snapshots: {
4259
- readonly assessment: {
4260
- readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4261
- readonly mode: "inherit" | "replace" | "restore";
4262
- readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4263
- readonly rowCount: number;
4264
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4265
- };
4266
- readonly program: {
4267
- readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4268
- readonly mode: "inherit" | "replace" | "restore";
4269
- readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4270
- readonly rowCount: number;
4271
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4272
- };
4273
- readonly quran: {
4274
- readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4275
- readonly mode: "inherit" | "replace" | "restore";
4276
- readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4277
- readonly rowCount: number;
4278
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4279
- };
4280
- };
4281
- readonly stagedArtifacts: number;
4282
- readonly stagedRoutes: number;
4283
- readonly stagedSnapshotRows: number;
4284
- readonly upsertHeads: number;
4285
- };
4286
- readonly phase: "verified";
4287
- };
4288
- } | {
4289
- readonly ok: true;
4290
- readonly operation: "activate";
4291
- readonly value: {
4292
- readonly activatedHeads: number;
4293
- readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
4294
- readonly deletedHeads: number;
4295
- readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4296
- readonly projectionDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4297
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4298
- readonly resultCount: number;
4299
- readonly resultDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4300
- readonly routeDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4301
- readonly snapshots: {
4302
- readonly assessment: {
4303
- readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4304
- readonly mode: "inherit" | "replace" | "restore";
4305
- readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4306
- readonly rowCount: number;
4307
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4308
- };
4309
- readonly program: {
4310
- readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4311
- readonly mode: "inherit" | "replace" | "restore";
4312
- readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4313
- readonly rowCount: number;
4314
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4315
- };
4316
- readonly quran: {
4317
- readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4318
- readonly mode: "inherit" | "replace" | "restore";
4319
- readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4320
- readonly rowCount: number;
4321
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4322
- };
4323
- };
4324
- readonly stagedArtifacts: number;
4325
- readonly stagedItems: number;
4326
- readonly stagedProjections: number;
4327
- readonly stagedRoutes: number;
4328
- readonly stagedSnapshotRows: number;
4329
- };
4330
- } | {
4331
- readonly ok: true;
4332
- readonly operation: "activateRecovery";
4333
- readonly value: {
4334
- readonly activatedHeads: number;
4335
- readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
4336
- readonly deletedHeads: number;
4337
- readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4338
- readonly projectionDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4339
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4340
- readonly resultCount: number;
4341
- readonly resultDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4342
- readonly routeDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4343
- readonly snapshots: {
4344
- readonly assessment: {
4345
- readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4346
- readonly mode: "inherit" | "replace" | "restore";
4347
- readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4348
- readonly rowCount: number;
4349
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4350
- };
4351
- readonly program: {
4352
- readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4353
- readonly mode: "inherit" | "replace" | "restore";
4354
- readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4355
- readonly rowCount: number;
4356
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4357
- };
4358
- readonly quran: {
4359
- readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4360
- readonly mode: "inherit" | "replace" | "restore";
4361
- readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4362
- readonly rowCount: number;
4363
- readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4364
- };
4365
- };
4366
- readonly stagedArtifacts: number;
4367
- readonly stagedItems: number;
4368
- readonly stagedProjections: number;
4369
- readonly stagedRoutes: number;
4370
- readonly stagedSnapshotRows: number;
4371
- };
4372
- } | {
4373
- readonly ok: true;
4374
- readonly operation: "rollbackPage";
4375
- readonly value: {
4376
- readonly done: boolean;
4377
- readonly nextIndex: number;
4378
- readonly records: readonly {
4379
- readonly current: {
4380
- readonly artifact: {
4381
- readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4382
- readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
4383
- readonly payload: {
4384
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4385
- readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4386
- readonly compilerVersion: "0.2.0";
4387
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4388
- readonly contentTree: {
4389
- readonly $node: "element";
4390
- readonly children: readonly import("../tree.js").ContentTreeChild[];
4391
- readonly name: import("../tree.js").ContentTreeElementName;
4392
- readonly props: {
4393
- readonly [key: string]: import("../tree.js").ContentTreeValue;
4394
- };
4395
- };
4396
- readonly format: "content-tree";
4397
- readonly mdxCompilerVersion: "3.1.1";
4398
- readonly plainText: string;
4399
- readonly rawMdx: string;
4400
- readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
4401
- readonly requiredComponents: readonly string[];
4402
- readonly sourceHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4403
- };
4404
- readonly signature: string & import("effect/Brand").Brand<"@NakafaAI/AksaraEd25519Signature">;
4405
- };
4406
- readonly change: {
4407
- readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4408
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4409
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4410
- readonly delivery: "authenticated" | "entitled" | "public";
4411
- readonly family: "article" | "material" | "page";
4412
- readonly operation: "upsert";
4413
- readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
4414
- readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
4415
- };
4416
- readonly projection: {
4417
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4418
- readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
4419
- readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
4420
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4421
- readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
4422
- readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
4423
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4424
- readonly graph: {
4425
- readonly alignmentId: string;
4426
- readonly assetId: string;
4427
- readonly conceptId: string;
4428
- readonly learningObjectId: string;
4429
- readonly lensId: string;
4430
- };
4431
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4432
- readonly categoryTitle: string;
4433
- readonly kind: "article";
4434
- readonly metadata: {
4435
- readonly dateModified?: string;
4436
- readonly datePublished: string;
4437
- readonly authors: readonly {
4438
- readonly name: string;
4439
- }[];
4440
- readonly description?: string | undefined;
4441
- readonly title: string;
4442
- };
4443
- readonly official: boolean;
4444
- readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4445
- readonly references: readonly {
4446
- readonly authors: string;
4447
- readonly citation?: string | undefined;
4448
- readonly details?: string | undefined;
4449
- readonly publication?: string | undefined;
4450
- readonly title: string;
4451
- readonly url?: string | undefined;
4452
- readonly year: number;
4453
- }[];
4454
- readonly sitemap: true;
4455
- } | {
4456
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4457
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4458
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4459
- readonly graph: {
4460
- readonly alignmentId: string;
4461
- readonly assetId: string;
4462
- readonly conceptId: string;
4463
- readonly learningObjectId: string;
4464
- readonly lensId: string;
4465
- };
4466
- readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
4467
- readonly order: number;
4468
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4469
- readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
4470
- readonly kind: "subject-lesson";
4471
- readonly metadata: {
4472
- readonly dateModified?: string;
4473
- readonly datePublished: string;
4474
- readonly authors: readonly {
4475
- readonly name: string;
4476
- }[];
4477
- readonly description?: string | undefined;
4478
- readonly searchTitle?: string;
4479
- readonly subject?: string | undefined;
4480
- readonly title: string;
4481
- };
4482
- readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4483
- readonly sitemap: true;
4484
- readonly topicTitle: string;
4485
- } | {
4486
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4487
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4488
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4489
- readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
4490
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4491
- readonly kind: "public-page";
4492
- readonly metadata: {
4493
- readonly dateModified?: string;
4494
- readonly datePublished: string;
4495
- readonly description: string;
4496
- readonly title: string;
4497
- };
4498
- readonly sitemap: true;
4499
- readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
4500
- };
4501
- } | {
4502
- readonly change: {
4503
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4504
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4505
- readonly family: "article" | "material" | "page";
4506
- readonly operation: "delete";
4507
- };
4508
- };
4509
- readonly index: number;
4510
- readonly prior: {
4511
- readonly artifact: {
4512
- readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4513
- readonly keyId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSigningKeyId">;
4514
- readonly payload: {
4515
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4516
- readonly compilerConfigHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4517
- readonly compilerVersion: "0.2.0";
4518
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4519
- readonly contentTree: {
4520
- readonly $node: "element";
4521
- readonly children: readonly import("../tree.js").ContentTreeChild[];
4522
- readonly name: import("../tree.js").ContentTreeElementName;
4523
- readonly props: {
4524
- readonly [key: string]: import("../tree.js").ContentTreeValue;
4525
- };
4526
- };
4527
- readonly format: "content-tree";
4528
- readonly mdxCompilerVersion: "3.1.1";
4529
- readonly plainText: string;
4530
- readonly rawMdx: string;
4531
- readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
4532
- readonly requiredComponents: readonly string[];
4533
- readonly sourceHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4534
- };
4535
- readonly signature: string & import("effect/Brand").Brand<"@NakafaAI/AksaraEd25519Signature">;
4536
- };
4537
- readonly change: {
4538
- readonly artifactHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4539
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4540
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4541
- readonly delivery: "authenticated" | "entitled" | "public";
4542
- readonly family: "article" | "material" | "page";
4543
- readonly operation: "upsert";
4544
- readonly rendererDomain: "ai-ds" | "biology" | "chemistry" | "mathematics" | "physics" | "politics" | "site" | "snbt-general" | "snbt-math" | "snbt-plain" | "snbt-quant" | "tka-math";
4545
- readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
4546
- };
4547
- readonly projection: {
4548
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4549
- readonly articleRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
4550
- readonly articleSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleSlug">;
4551
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4552
- readonly category: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleCategory">;
4553
- readonly categoryRouteSlug: string & import("effect/Brand").Brand<"@NakafaAI/AksaraArticleRouteSlug">;
4554
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4555
- readonly graph: {
4556
- readonly alignmentId: string;
4557
- readonly assetId: string;
4558
- readonly conceptId: string;
4559
- readonly learningObjectId: string;
4560
- readonly lensId: string;
4561
- };
4562
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4563
- readonly categoryTitle: string;
4564
- readonly kind: "article";
4565
- readonly metadata: {
4566
- readonly dateModified?: string;
4567
- readonly datePublished: string;
4568
- readonly authors: readonly {
4569
- readonly name: string;
4570
- }[];
4571
- readonly description?: string | undefined;
4572
- readonly title: string;
4573
- };
4574
- readonly official: boolean;
4575
- readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4576
- readonly references: readonly {
4577
- readonly authors: string;
4578
- readonly citation?: string | undefined;
4579
- readonly details?: string | undefined;
4580
- readonly publication?: string | undefined;
4581
- readonly title: string;
4582
- readonly url?: string | undefined;
4583
- readonly year: number;
4584
- }[];
4585
- readonly sitemap: true;
4586
- } | {
4587
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4588
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4589
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4590
- readonly graph: {
4591
- readonly alignmentId: string;
4592
- readonly assetId: string;
4593
- readonly conceptId: string;
4594
- readonly learningObjectId: string;
4595
- readonly lensId: string;
4596
- };
4597
- readonly materialKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialKey">;
4598
- readonly order: number;
4599
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4600
- readonly sectionKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraMaterialSection">;
4601
- readonly kind: "subject-lesson";
4602
- readonly metadata: {
4603
- readonly dateModified?: string;
4604
- readonly datePublished: string;
4605
- readonly authors: readonly {
4606
- readonly name: string;
4607
- }[];
4608
- readonly description?: string | undefined;
4609
- readonly searchTitle?: string;
4610
- readonly subject?: string | undefined;
4611
- readonly title: string;
4612
- };
4613
- readonly parentPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4614
- readonly sitemap: true;
4615
- readonly topicTitle: string;
4616
- } | {
4617
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4618
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4619
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4620
- readonly pageKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPageKey">;
4621
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4622
- readonly kind: "public-page";
4623
- readonly metadata: {
4624
- readonly dateModified?: string;
4625
- readonly datePublished: string;
4626
- readonly description: string;
4627
- readonly title: string;
4628
- };
4629
- readonly sitemap: true;
4630
- readonly sourcePath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraCorpusSourcePath">;
4484
+ readonly operation: "stageRelease";
4485
+ readonly value: {
4486
+ readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4487
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4488
+ readonly phase: "completed";
4489
+ readonly receipt: {
4490
+ readonly activatedHeads: number;
4491
+ readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
4492
+ readonly deletedHeads: number;
4493
+ readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4494
+ readonly projectionDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4495
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4496
+ readonly resultCount: number;
4497
+ readonly resultDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4498
+ readonly routeDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4499
+ readonly snapshots: {
4500
+ readonly assessment: {
4501
+ readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4502
+ readonly mode: "inherit" | "replace" | "restore";
4503
+ readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4504
+ readonly rowCount: number;
4505
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4631
4506
  };
4632
- } | {
4633
- readonly change: {
4634
- readonly artifactLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraArtifactLocale">;
4635
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4636
- readonly family: "article" | "material" | "page";
4637
- readonly operation: "delete";
4507
+ readonly program: {
4508
+ readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4509
+ readonly mode: "inherit" | "replace" | "restore";
4510
+ readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4511
+ readonly rowCount: number;
4512
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4513
+ };
4514
+ readonly quran: {
4515
+ readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4516
+ readonly mode: "inherit" | "replace" | "restore";
4517
+ readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4518
+ readonly rowCount: number;
4519
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4638
4520
  };
4639
4521
  };
4640
- }[];
4641
- readonly rollbackOf: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4642
- readonly rollbackOfManifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4643
- readonly total: number;
4522
+ readonly stagedArtifacts: number;
4523
+ readonly stagedItems: number;
4524
+ readonly stagedProjections: number;
4525
+ readonly stagedRoutes: number;
4526
+ readonly stagedSnapshotRows: number;
4527
+ };
4528
+ } | {
4529
+ readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4530
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4531
+ readonly phase: "missing";
4532
+ } | {
4533
+ readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4534
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4535
+ readonly phase: "aborted" | "aborting" | "staging" | "verified" | "verifying";
4644
4536
  };
4645
4537
  } | {
4646
4538
  readonly ok: true;
4647
- readonly operation: "routePage";
4539
+ readonly operation: "stageRouteBatch";
4648
4540
  readonly value: {
4649
- readonly done: boolean;
4650
- readonly nextIndex: number;
4651
- readonly records: readonly {
4652
- readonly current: {
4653
- readonly change: {
4654
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4655
- readonly contentKey: string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">;
4656
- readonly operation: "bind";
4657
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4658
- } | {
4659
- readonly appLocale: ("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">;
4660
- readonly operation: "delete";
4661
- readonly publicPath: string & import("effect/Brand").Brand<"@NakafaAI/AksaraPublicPath">;
4541
+ readonly batchIndex: number;
4542
+ readonly created: number;
4543
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4544
+ readonly unchanged: number;
4545
+ };
4546
+ } | {
4547
+ readonly ok: true;
4548
+ readonly operation: "stageSnapshot";
4549
+ readonly value: {
4550
+ readonly created: 0 | 1;
4551
+ readonly family: "assessment" | "program" | "quran";
4552
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4553
+ readonly snapshotId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4554
+ readonly unchanged: 0 | 1;
4555
+ };
4556
+ } | {
4557
+ readonly ok: true;
4558
+ readonly operation: "stageSnapshotBatch";
4559
+ readonly value: {
4560
+ readonly batchIndex: number;
4561
+ readonly created: number;
4562
+ readonly family: "assessment" | "program" | "quran";
4563
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4564
+ readonly snapshotId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4565
+ readonly unchanged: number;
4566
+ };
4567
+ } | {
4568
+ readonly ok: true;
4569
+ readonly operation: "status";
4570
+ readonly value: {
4571
+ readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4572
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4573
+ readonly phase: "completed";
4574
+ readonly receipt: {
4575
+ readonly activatedHeads: number;
4576
+ readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
4577
+ readonly deletedHeads: number;
4578
+ readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4579
+ readonly projectionDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4580
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4581
+ readonly resultCount: number;
4582
+ readonly resultDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4583
+ readonly routeDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4584
+ readonly snapshots: {
4585
+ readonly assessment: {
4586
+ readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4587
+ readonly mode: "inherit" | "replace" | "restore";
4588
+ readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4589
+ readonly rowCount: number;
4590
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4591
+ };
4592
+ readonly program: {
4593
+ readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4594
+ readonly mode: "inherit" | "replace" | "restore";
4595
+ readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4596
+ readonly rowCount: number;
4597
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4598
+ };
4599
+ readonly quran: {
4600
+ readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4601
+ readonly mode: "inherit" | "replace" | "restore";
4602
+ readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4603
+ readonly rowCount: number;
4604
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4662
4605
  };
4663
- readonly index: number;
4664
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4665
4606
  };
4666
- readonly priorContentKey: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraContentKey">) | null;
4667
- }[];
4668
- readonly rollbackOf: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4669
- readonly rollbackOfManifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4670
- readonly total: number;
4607
+ readonly stagedArtifacts: number;
4608
+ readonly stagedItems: number;
4609
+ readonly stagedProjections: number;
4610
+ readonly stagedRoutes: number;
4611
+ readonly stagedSnapshotRows: number;
4612
+ };
4613
+ } | {
4614
+ readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4615
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4616
+ readonly phase: "missing";
4617
+ } | {
4618
+ readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4619
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4620
+ readonly phase: "aborted" | "aborting" | "staging" | "verified" | "verifying";
4671
4621
  };
4672
4622
  } | {
4673
4623
  readonly ok: true;
4674
- readonly operation: "cleanup";
4624
+ readonly operation: "verify";
4675
4625
  readonly value: {
4676
- readonly complete: boolean;
4677
- readonly deletedArtifacts: number;
4626
+ readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4627
+ readonly phase: "verifying";
4678
4628
  readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4679
- readonly retryAt?: number | undefined;
4629
+ } | {
4630
+ readonly evidence: {
4631
+ readonly activeAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]];
4632
+ readonly baseActiveAppLocales: readonly [("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">, ...(("de" | "en" | "id") & import("effect/Brand").Brand<"@NakafaAI/AksaraAppLocale">)[]] | null;
4633
+ readonly baseManifestHash: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4634
+ readonly baseReleaseId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">) | null;
4635
+ readonly baseResultCount: number;
4636
+ readonly baseResultDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4637
+ readonly deleteHeads: number;
4638
+ readonly itemCount: number;
4639
+ readonly itemsDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4640
+ readonly manifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4641
+ readonly projectionCount: number;
4642
+ readonly projectionDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4643
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4644
+ readonly rendererManifestHash: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4645
+ readonly resultCount: number;
4646
+ readonly resultDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4647
+ readonly rollbackCount: number;
4648
+ readonly rollbackDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4649
+ readonly routeCount: number;
4650
+ readonly routeDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4651
+ readonly snapshots: {
4652
+ readonly assessment: {
4653
+ readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4654
+ readonly mode: "inherit" | "replace" | "restore";
4655
+ readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4656
+ readonly rowCount: number;
4657
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4658
+ };
4659
+ readonly program: {
4660
+ readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4661
+ readonly mode: "inherit" | "replace" | "restore";
4662
+ readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4663
+ readonly rowCount: number;
4664
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4665
+ };
4666
+ readonly quran: {
4667
+ readonly baseSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4668
+ readonly mode: "inherit" | "replace" | "restore";
4669
+ readonly resultSnapshotId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">) | null;
4670
+ readonly rowCount: number;
4671
+ readonly rowDigest: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4672
+ };
4673
+ };
4674
+ readonly stagedArtifacts: number;
4675
+ readonly stagedRoutes: number;
4676
+ readonly stagedSnapshotRows: number;
4677
+ readonly upsertHeads: number;
4678
+ };
4679
+ readonly phase: "verified";
4680
4680
  };
4681
4681
  } | {
4682
4682
  readonly failure: {
4683
- readonly activeReleaseId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">) | null;
4684
- readonly code: "CONTENT_RELEASE_STALE_BASE";
4685
- readonly expectedBaseReleaseId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">) | null;
4686
- readonly kind: "stale-base";
4687
- readonly operation: "activate" | "stageRelease";
4688
- readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4689
- } | {
4690
4683
  readonly code: "CONTENT_RELEASE_UNAUTHORIZED";
4691
4684
  readonly kind: "unauthorized";
4692
4685
  } | {
@@ -4735,6 +4728,13 @@ export declare const decodePublicationResponse: (input: unknown) => Effect.Effec
4735
4728
  readonly operation: "stageSnapshotBatch";
4736
4729
  readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4737
4730
  readonly snapshotId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraSha256Hash">;
4731
+ } | {
4732
+ readonly activeReleaseId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">) | null;
4733
+ readonly code: "CONTENT_RELEASE_STALE_BASE";
4734
+ readonly expectedBaseReleaseId: (string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">) | null;
4735
+ readonly kind: "stale-base";
4736
+ readonly operation: "activate" | "stageRelease";
4737
+ readonly releaseId: string & import("effect/Brand").Brand<"@NakafaAI/AksaraReleaseId">;
4738
4738
  };
4739
4739
  readonly ok: false;
4740
4740
  }, import("../errors.js").ContractDecodeError, never>;