@kernhq/module-quire 0.11.1 → 0.12.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.
Files changed (48) hide show
  1. package/dist/contract/models.d.ts +46 -0
  2. package/dist/contract/models.d.ts.map +1 -1
  3. package/dist/contract/models.js +73 -0
  4. package/dist/contract/models.js.map +1 -1
  5. package/dist/contract/permissions.d.ts +17 -1
  6. package/dist/contract/permissions.d.ts.map +1 -1
  7. package/dist/contract/permissions.js +34 -0
  8. package/dist/contract/permissions.js.map +1 -1
  9. package/dist/contract/router.d.ts +670 -0
  10. package/dist/contract/router.d.ts.map +1 -1
  11. package/dist/contract/router.js +273 -2
  12. package/dist/contract/router.js.map +1 -1
  13. package/dist/server/_impl.d.ts +770 -0
  14. package/dist/server/_impl.d.ts.map +1 -1
  15. package/dist/server/_impl.js +264 -2
  16. package/dist/server/_impl.js.map +1 -1
  17. package/dist/server/schema.d.ts +318 -1
  18. package/dist/server/schema.d.ts.map +1 -1
  19. package/dist/server/schema.js +86 -0
  20. package/dist/server/schema.js.map +1 -1
  21. package/dist/server/services/access.d.ts +1 -0
  22. package/dist/server/services/access.d.ts.map +1 -1
  23. package/dist/server/services/index.d.ts +3 -0
  24. package/dist/server/services/index.d.ts.map +1 -1
  25. package/dist/server/services/index.js +5 -1
  26. package/dist/server/services/index.js.map +1 -1
  27. package/dist/server/services/pages.d.ts.map +1 -1
  28. package/dist/server/services/pages.js +6 -0
  29. package/dist/server/services/pages.js.map +1 -1
  30. package/dist/server/services/publications.d.ts +177 -0
  31. package/dist/server/services/publications.d.ts.map +1 -0
  32. package/dist/server/services/publications.js +553 -0
  33. package/dist/server/services/publications.js.map +1 -0
  34. package/dist/server/services/versions.d.ts +4 -0
  35. package/dist/server/services/versions.d.ts.map +1 -1
  36. package/migrations/0008_publications.sql +140 -0
  37. package/migrations/meta/_journal.json +7 -0
  38. package/package.json +1 -1
  39. package/src/client/components/PublishDialog.svelte +857 -0
  40. package/src/client/i18n.ts +434 -0
  41. package/src/client/index.ts +21 -0
  42. package/src/client/mock.ts +426 -2
  43. package/src/client/pages/PageView.svelte +139 -0
  44. package/src/client/public-url.ts +64 -0
  45. package/src/client/query.ts +16 -0
  46. package/src/contract/models.ts +77 -0
  47. package/src/contract/permissions.ts +53 -1
  48. package/src/contract/router.ts +302 -1
@@ -400,6 +400,8 @@ export declare function implement_(kernel: Kernel): {
400
400
  icon: import("zod").ZodNullable<import("zod").ZodString>;
401
401
  hasChildren: import("zod").ZodBoolean;
402
402
  archivedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
403
+ excludedFromPublic: import("zod").ZodDefault<import("zod").ZodBoolean>;
404
+ hasPublishedVersion: import("zod").ZodDefault<import("zod").ZodBoolean>;
403
405
  }, import("zod/v4/core").$strip>>, import("@orpc/server").MergedErrorMap<Record<never, never>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
404
406
  BAD_REQUEST: {
405
407
  data: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
@@ -4506,5 +4508,773 @@ export declare function implement_(kernel: Kernel): {
4506
4508
  };
4507
4509
  }>>, Record<never, never>>;
4508
4510
  };
4511
+ publications: {
4512
+ list: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
4513
+ workspaceId: string;
4514
+ kernel: Kernel;
4515
+ principal: {
4516
+ kind: "service" | "user" | "api_key" | "anonymous";
4517
+ userId: (string & import("zod").$brand<"UserId">) | null;
4518
+ email: string | null;
4519
+ name: string | null;
4520
+ locale: "en" | "fa" | "ar" | "de";
4521
+ instanceAdmin: boolean;
4522
+ service: string | null;
4523
+ memberships: {
4524
+ workspaceId: string & import("zod").$brand<"WorkspaceId">;
4525
+ role: "owner" | "admin" | "member" | "guest";
4526
+ roleIds: string[];
4527
+ groupIds: string[];
4528
+ status: "active" | "invited" | "suspended";
4529
+ }[];
4530
+ permissionVersion: number;
4531
+ };
4532
+ requestId: string;
4533
+ ip: string;
4534
+ headers: Record<string, string | string[] | undefined>;
4535
+ }>, never> & Record<never, never>, import("zod").ZodObject<{
4536
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
4537
+ spaceId: import("zod").ZodUUID;
4538
+ }, import("zod/v4/core").$strip>, import("zod").ZodArray<import("zod").ZodObject<{
4539
+ id: import("zod").ZodUUID;
4540
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
4541
+ rootPageId: import("zod").ZodUUID;
4542
+ includeDescendants: import("zod").ZodBoolean;
4543
+ slug: import("zod").ZodString;
4544
+ hasPassword: import("zod").ZodBoolean;
4545
+ expiresAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
4546
+ seoTitle: import("zod").ZodString;
4547
+ seoDescription: import("zod").ZodString;
4548
+ ogImageUrl: import("zod").ZodNullable<import("zod").ZodString>;
4549
+ indexable: import("zod").ZodBoolean;
4550
+ theme: import("zod").ZodEnum<{
4551
+ auto: "auto";
4552
+ light: "light";
4553
+ dark: "dark";
4554
+ }>;
4555
+ createdBy: import("zod").ZodNullable<import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UserId", "out">>;
4556
+ createdAt: import("zod").ZodISODateTime;
4557
+ updatedAt: import("zod").ZodISODateTime;
4558
+ }, import("zod/v4/core").$strip>>, import("@orpc/server").MergedErrorMap<Record<never, never>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
4559
+ BAD_REQUEST: {
4560
+ data: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
4561
+ };
4562
+ UNAUTHORIZED: {};
4563
+ FORBIDDEN: {
4564
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
4565
+ permission: import("zod").ZodOptional<import("zod").ZodString>;
4566
+ }, import("zod/v4/core").$strip>>;
4567
+ };
4568
+ NOT_FOUND: {};
4569
+ CONFLICT: {
4570
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
4571
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
4572
+ }, import("zod/v4/core").$strip>>;
4573
+ };
4574
+ RATE_LIMITED: {};
4575
+ MODULE_DISABLED: {
4576
+ data: import("zod").ZodObject<{
4577
+ module: import("zod").ZodString;
4578
+ }, import("zod/v4/core").$strip>;
4579
+ };
4580
+ }>>, Record<never, never>>;
4581
+ get: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
4582
+ workspaceId: string;
4583
+ kernel: Kernel;
4584
+ principal: {
4585
+ kind: "service" | "user" | "api_key" | "anonymous";
4586
+ userId: (string & import("zod").$brand<"UserId">) | null;
4587
+ email: string | null;
4588
+ name: string | null;
4589
+ locale: "en" | "fa" | "ar" | "de";
4590
+ instanceAdmin: boolean;
4591
+ service: string | null;
4592
+ memberships: {
4593
+ workspaceId: string & import("zod").$brand<"WorkspaceId">;
4594
+ role: "owner" | "admin" | "member" | "guest";
4595
+ roleIds: string[];
4596
+ groupIds: string[];
4597
+ status: "active" | "invited" | "suspended";
4598
+ }[];
4599
+ permissionVersion: number;
4600
+ };
4601
+ requestId: string;
4602
+ ip: string;
4603
+ headers: Record<string, string | string[] | undefined>;
4604
+ }>, never> & Record<never, never>, import("zod").ZodObject<{
4605
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
4606
+ publicationId: import("zod").ZodUUID;
4607
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4608
+ id: import("zod").ZodUUID;
4609
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
4610
+ rootPageId: import("zod").ZodUUID;
4611
+ includeDescendants: import("zod").ZodBoolean;
4612
+ slug: import("zod").ZodString;
4613
+ hasPassword: import("zod").ZodBoolean;
4614
+ expiresAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
4615
+ seoTitle: import("zod").ZodString;
4616
+ seoDescription: import("zod").ZodString;
4617
+ ogImageUrl: import("zod").ZodNullable<import("zod").ZodString>;
4618
+ indexable: import("zod").ZodBoolean;
4619
+ theme: import("zod").ZodEnum<{
4620
+ auto: "auto";
4621
+ light: "light";
4622
+ dark: "dark";
4623
+ }>;
4624
+ createdBy: import("zod").ZodNullable<import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UserId", "out">>;
4625
+ createdAt: import("zod").ZodISODateTime;
4626
+ updatedAt: import("zod").ZodISODateTime;
4627
+ }, import("zod/v4/core").$strip>, import("@orpc/server").MergedErrorMap<Record<never, never>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
4628
+ BAD_REQUEST: {
4629
+ data: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
4630
+ };
4631
+ UNAUTHORIZED: {};
4632
+ FORBIDDEN: {
4633
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
4634
+ permission: import("zod").ZodOptional<import("zod").ZodString>;
4635
+ }, import("zod/v4/core").$strip>>;
4636
+ };
4637
+ NOT_FOUND: {};
4638
+ CONFLICT: {
4639
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
4640
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
4641
+ }, import("zod/v4/core").$strip>>;
4642
+ };
4643
+ RATE_LIMITED: {};
4644
+ MODULE_DISABLED: {
4645
+ data: import("zod").ZodObject<{
4646
+ module: import("zod").ZodString;
4647
+ }, import("zod/v4/core").$strip>;
4648
+ };
4649
+ }>>, Record<never, never>>;
4650
+ create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
4651
+ workspaceId: string;
4652
+ kernel: Kernel;
4653
+ principal: {
4654
+ kind: "service" | "user" | "api_key" | "anonymous";
4655
+ userId: (string & import("zod").$brand<"UserId">) | null;
4656
+ email: string | null;
4657
+ name: string | null;
4658
+ locale: "en" | "fa" | "ar" | "de";
4659
+ instanceAdmin: boolean;
4660
+ service: string | null;
4661
+ memberships: {
4662
+ workspaceId: string & import("zod").$brand<"WorkspaceId">;
4663
+ role: "owner" | "admin" | "member" | "guest";
4664
+ roleIds: string[];
4665
+ groupIds: string[];
4666
+ status: "active" | "invited" | "suspended";
4667
+ }[];
4668
+ permissionVersion: number;
4669
+ };
4670
+ requestId: string;
4671
+ ip: string;
4672
+ headers: Record<string, string | string[] | undefined>;
4673
+ }>, never> & Record<never, never>, import("zod").ZodObject<{
4674
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
4675
+ rootPageId: import("zod").ZodUUID;
4676
+ slug: import("zod").ZodString;
4677
+ includeDescendants: import("zod").ZodDefault<import("zod").ZodBoolean>;
4678
+ password: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
4679
+ expiresAt: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodISODateTime>>;
4680
+ seoTitle: import("zod").ZodDefault<import("zod").ZodString>;
4681
+ seoDescription: import("zod").ZodDefault<import("zod").ZodString>;
4682
+ ogImageUrl: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
4683
+ indexable: import("zod").ZodDefault<import("zod").ZodBoolean>;
4684
+ theme: import("zod").ZodDefault<import("zod").ZodEnum<{
4685
+ auto: "auto";
4686
+ light: "light";
4687
+ dark: "dark";
4688
+ }>>;
4689
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4690
+ id: import("zod").ZodUUID;
4691
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
4692
+ rootPageId: import("zod").ZodUUID;
4693
+ includeDescendants: import("zod").ZodBoolean;
4694
+ slug: import("zod").ZodString;
4695
+ hasPassword: import("zod").ZodBoolean;
4696
+ expiresAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
4697
+ seoTitle: import("zod").ZodString;
4698
+ seoDescription: import("zod").ZodString;
4699
+ ogImageUrl: import("zod").ZodNullable<import("zod").ZodString>;
4700
+ indexable: import("zod").ZodBoolean;
4701
+ theme: import("zod").ZodEnum<{
4702
+ auto: "auto";
4703
+ light: "light";
4704
+ dark: "dark";
4705
+ }>;
4706
+ createdBy: import("zod").ZodNullable<import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UserId", "out">>;
4707
+ createdAt: import("zod").ZodISODateTime;
4708
+ updatedAt: import("zod").ZodISODateTime;
4709
+ }, import("zod/v4/core").$strip>, import("@orpc/server").MergedErrorMap<Record<never, never>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
4710
+ BAD_REQUEST: {
4711
+ data: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
4712
+ };
4713
+ UNAUTHORIZED: {};
4714
+ FORBIDDEN: {
4715
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
4716
+ permission: import("zod").ZodOptional<import("zod").ZodString>;
4717
+ }, import("zod/v4/core").$strip>>;
4718
+ };
4719
+ NOT_FOUND: {};
4720
+ CONFLICT: {
4721
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
4722
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
4723
+ }, import("zod/v4/core").$strip>>;
4724
+ };
4725
+ RATE_LIMITED: {};
4726
+ MODULE_DISABLED: {
4727
+ data: import("zod").ZodObject<{
4728
+ module: import("zod").ZodString;
4729
+ }, import("zod/v4/core").$strip>;
4730
+ };
4731
+ }>>, Record<never, never>>;
4732
+ update: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
4733
+ workspaceId: string;
4734
+ kernel: Kernel;
4735
+ principal: {
4736
+ kind: "service" | "user" | "api_key" | "anonymous";
4737
+ userId: (string & import("zod").$brand<"UserId">) | null;
4738
+ email: string | null;
4739
+ name: string | null;
4740
+ locale: "en" | "fa" | "ar" | "de";
4741
+ instanceAdmin: boolean;
4742
+ service: string | null;
4743
+ memberships: {
4744
+ workspaceId: string & import("zod").$brand<"WorkspaceId">;
4745
+ role: "owner" | "admin" | "member" | "guest";
4746
+ roleIds: string[];
4747
+ groupIds: string[];
4748
+ status: "active" | "invited" | "suspended";
4749
+ }[];
4750
+ permissionVersion: number;
4751
+ };
4752
+ requestId: string;
4753
+ ip: string;
4754
+ headers: Record<string, string | string[] | undefined>;
4755
+ }>, never> & Record<never, never>, import("zod").ZodObject<{
4756
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
4757
+ publicationId: import("zod").ZodUUID;
4758
+ slug: import("zod").ZodOptional<import("zod").ZodString>;
4759
+ includeDescendants: import("zod").ZodOptional<import("zod").ZodBoolean>;
4760
+ password: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
4761
+ expiresAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodISODateTime>>;
4762
+ seoTitle: import("zod").ZodOptional<import("zod").ZodString>;
4763
+ seoDescription: import("zod").ZodOptional<import("zod").ZodString>;
4764
+ ogImageUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
4765
+ indexable: import("zod").ZodOptional<import("zod").ZodBoolean>;
4766
+ theme: import("zod").ZodOptional<import("zod").ZodEnum<{
4767
+ auto: "auto";
4768
+ light: "light";
4769
+ dark: "dark";
4770
+ }>>;
4771
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4772
+ id: import("zod").ZodUUID;
4773
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
4774
+ rootPageId: import("zod").ZodUUID;
4775
+ includeDescendants: import("zod").ZodBoolean;
4776
+ slug: import("zod").ZodString;
4777
+ hasPassword: import("zod").ZodBoolean;
4778
+ expiresAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
4779
+ seoTitle: import("zod").ZodString;
4780
+ seoDescription: import("zod").ZodString;
4781
+ ogImageUrl: import("zod").ZodNullable<import("zod").ZodString>;
4782
+ indexable: import("zod").ZodBoolean;
4783
+ theme: import("zod").ZodEnum<{
4784
+ auto: "auto";
4785
+ light: "light";
4786
+ dark: "dark";
4787
+ }>;
4788
+ createdBy: import("zod").ZodNullable<import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UserId", "out">>;
4789
+ createdAt: import("zod").ZodISODateTime;
4790
+ updatedAt: import("zod").ZodISODateTime;
4791
+ }, import("zod/v4/core").$strip>, import("@orpc/server").MergedErrorMap<Record<never, never>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
4792
+ BAD_REQUEST: {
4793
+ data: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
4794
+ };
4795
+ UNAUTHORIZED: {};
4796
+ FORBIDDEN: {
4797
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
4798
+ permission: import("zod").ZodOptional<import("zod").ZodString>;
4799
+ }, import("zod/v4/core").$strip>>;
4800
+ };
4801
+ NOT_FOUND: {};
4802
+ CONFLICT: {
4803
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
4804
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
4805
+ }, import("zod/v4/core").$strip>>;
4806
+ };
4807
+ RATE_LIMITED: {};
4808
+ MODULE_DISABLED: {
4809
+ data: import("zod").ZodObject<{
4810
+ module: import("zod").ZodString;
4811
+ }, import("zod/v4/core").$strip>;
4812
+ };
4813
+ }>>, Record<never, never>>;
4814
+ remove: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
4815
+ workspaceId: string;
4816
+ kernel: Kernel;
4817
+ principal: {
4818
+ kind: "service" | "user" | "api_key" | "anonymous";
4819
+ userId: (string & import("zod").$brand<"UserId">) | null;
4820
+ email: string | null;
4821
+ name: string | null;
4822
+ locale: "en" | "fa" | "ar" | "de";
4823
+ instanceAdmin: boolean;
4824
+ service: string | null;
4825
+ memberships: {
4826
+ workspaceId: string & import("zod").$brand<"WorkspaceId">;
4827
+ role: "owner" | "admin" | "member" | "guest";
4828
+ roleIds: string[];
4829
+ groupIds: string[];
4830
+ status: "active" | "invited" | "suspended";
4831
+ }[];
4832
+ permissionVersion: number;
4833
+ };
4834
+ requestId: string;
4835
+ ip: string;
4836
+ headers: Record<string, string | string[] | undefined>;
4837
+ }>, never> & Record<never, never>, import("zod").ZodObject<{
4838
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
4839
+ publicationId: import("zod").ZodUUID;
4840
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4841
+ ok: import("zod").ZodLiteral<true>;
4842
+ }, import("zod/v4/core").$strip>, import("@orpc/server").MergedErrorMap<Record<never, never>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
4843
+ BAD_REQUEST: {
4844
+ data: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
4845
+ };
4846
+ UNAUTHORIZED: {};
4847
+ FORBIDDEN: {
4848
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
4849
+ permission: import("zod").ZodOptional<import("zod").ZodString>;
4850
+ }, import("zod/v4/core").$strip>>;
4851
+ };
4852
+ NOT_FOUND: {};
4853
+ CONFLICT: {
4854
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
4855
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
4856
+ }, import("zod/v4/core").$strip>>;
4857
+ };
4858
+ RATE_LIMITED: {};
4859
+ MODULE_DISABLED: {
4860
+ data: import("zod").ZodObject<{
4861
+ module: import("zod").ZodString;
4862
+ }, import("zod/v4/core").$strip>;
4863
+ };
4864
+ }>>, Record<never, never>>;
4865
+ optOut: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, {
4866
+ workspaceId: string;
4867
+ kernel: Kernel;
4868
+ principal: {
4869
+ kind: "service" | "user" | "api_key" | "anonymous";
4870
+ userId: (string & import("zod").$brand<"UserId">) | null;
4871
+ email: string | null;
4872
+ name: string | null;
4873
+ locale: "en" | "fa" | "ar" | "de";
4874
+ instanceAdmin: boolean;
4875
+ service: string | null;
4876
+ memberships: {
4877
+ workspaceId: string & import("zod").$brand<"WorkspaceId">;
4878
+ role: "owner" | "admin" | "member" | "guest";
4879
+ roleIds: string[];
4880
+ groupIds: string[];
4881
+ status: "active" | "invited" | "suspended";
4882
+ }[];
4883
+ permissionVersion: number;
4884
+ };
4885
+ requestId: string;
4886
+ ip: string;
4887
+ headers: Record<string, string | string[] | undefined>;
4888
+ }>, never> & Record<never, never>, import("zod").ZodObject<{
4889
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
4890
+ pageId: import("zod").ZodUUID;
4891
+ excluded: import("zod").ZodDefault<import("zod").ZodBoolean>;
4892
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4893
+ pageId: import("zod").ZodUUID;
4894
+ excluded: import("zod").ZodBoolean;
4895
+ }, import("zod/v4/core").$strip>, import("@orpc/server").MergedErrorMap<Record<never, never>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
4896
+ BAD_REQUEST: {
4897
+ data: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
4898
+ };
4899
+ UNAUTHORIZED: {};
4900
+ FORBIDDEN: {
4901
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
4902
+ permission: import("zod").ZodOptional<import("zod").ZodString>;
4903
+ }, import("zod/v4/core").$strip>>;
4904
+ };
4905
+ NOT_FOUND: {};
4906
+ CONFLICT: {
4907
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
4908
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
4909
+ }, import("zod/v4/core").$strip>>;
4910
+ };
4911
+ RATE_LIMITED: {};
4912
+ MODULE_DISABLED: {
4913
+ data: import("zod").ZodObject<{
4914
+ module: import("zod").ZodString;
4915
+ }, import("zod/v4/core").$strip>;
4916
+ };
4917
+ }>>, Record<never, never>>;
4918
+ };
4919
+ public: {
4920
+ site: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, Record<never, never>>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers"> & {
4921
+ principal: {
4922
+ kind: "service" | "user" | "api_key" | "anonymous";
4923
+ userId: (string & import("zod").$brand<"UserId">) | null;
4924
+ email: string | null;
4925
+ name: string | null;
4926
+ locale: "en" | "fa" | "ar" | "de";
4927
+ instanceAdmin: boolean;
4928
+ service: string | null;
4929
+ memberships: {
4930
+ workspaceId: string & import("zod").$brand<"WorkspaceId">;
4931
+ role: "owner" | "admin" | "member" | "guest";
4932
+ roleIds: string[];
4933
+ groupIds: string[];
4934
+ status: "active" | "invited" | "suspended";
4935
+ }[];
4936
+ permissionVersion: number;
4937
+ apiKeyScope?: "read" | "read_write" | undefined;
4938
+ };
4939
+ kernel: Kernel;
4940
+ requestId: string;
4941
+ ip: string;
4942
+ headers: Record<string, string | string[] | undefined>;
4943
+ workspaceId?: string;
4944
+ }, import("zod").ZodObject<{
4945
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
4946
+ slug: import("zod").ZodString;
4947
+ token: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
4948
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4949
+ slug: import("zod").ZodString;
4950
+ theme: import("zod").ZodEnum<{
4951
+ auto: "auto";
4952
+ light: "light";
4953
+ dark: "dark";
4954
+ }>;
4955
+ locked: import("zod").ZodBoolean;
4956
+ site: import("zod").ZodNullable<import("zod").ZodObject<{
4957
+ title: import("zod").ZodString;
4958
+ description: import("zod").ZodString;
4959
+ ogImageUrl: import("zod").ZodNullable<import("zod").ZodString>;
4960
+ indexable: import("zod").ZodBoolean;
4961
+ updatedAt: import("zod").ZodISODateTime;
4962
+ nav: import("zod").ZodArray<import("zod").ZodObject<{
4963
+ path: import("zod").ZodString;
4964
+ parentPath: import("zod").ZodNullable<import("zod").ZodString>;
4965
+ title: import("zod").ZodString;
4966
+ icon: import("zod").ZodNullable<import("zod").ZodString>;
4967
+ }, import("zod/v4/core").$strip>>;
4968
+ }, import("zod/v4/core").$strip>>;
4969
+ }, import("zod/v4/core").$strip>, import("@orpc/server").MergedErrorMap<Record<never, never>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
4970
+ BAD_REQUEST: {
4971
+ data: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
4972
+ };
4973
+ UNAUTHORIZED: {};
4974
+ FORBIDDEN: {
4975
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
4976
+ permission: import("zod").ZodOptional<import("zod").ZodString>;
4977
+ }, import("zod/v4/core").$strip>>;
4978
+ };
4979
+ NOT_FOUND: {};
4980
+ CONFLICT: {
4981
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
4982
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
4983
+ }, import("zod/v4/core").$strip>>;
4984
+ };
4985
+ RATE_LIMITED: {};
4986
+ MODULE_DISABLED: {
4987
+ data: import("zod").ZodObject<{
4988
+ module: import("zod").ZodString;
4989
+ }, import("zod/v4/core").$strip>;
4990
+ };
4991
+ }>>, Record<never, never>>;
4992
+ page: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, Record<never, never>>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers"> & {
4993
+ principal: {
4994
+ kind: "service" | "user" | "api_key" | "anonymous";
4995
+ userId: (string & import("zod").$brand<"UserId">) | null;
4996
+ email: string | null;
4997
+ name: string | null;
4998
+ locale: "en" | "fa" | "ar" | "de";
4999
+ instanceAdmin: boolean;
5000
+ service: string | null;
5001
+ memberships: {
5002
+ workspaceId: string & import("zod").$brand<"WorkspaceId">;
5003
+ role: "owner" | "admin" | "member" | "guest";
5004
+ roleIds: string[];
5005
+ groupIds: string[];
5006
+ status: "active" | "invited" | "suspended";
5007
+ }[];
5008
+ permissionVersion: number;
5009
+ apiKeyScope?: "read" | "read_write" | undefined;
5010
+ };
5011
+ kernel: Kernel;
5012
+ requestId: string;
5013
+ ip: string;
5014
+ headers: Record<string, string | string[] | undefined>;
5015
+ workspaceId?: string;
5016
+ }, import("zod").ZodObject<{
5017
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
5018
+ slug: import("zod").ZodString;
5019
+ path: import("zod").ZodDefault<import("zod").ZodString>;
5020
+ basePath: import("zod").ZodDefault<import("zod").ZodString>;
5021
+ token: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
5022
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5023
+ path: import("zod").ZodString;
5024
+ title: import("zod").ZodString;
5025
+ icon: import("zod").ZodNullable<import("zod").ZodString>;
5026
+ coverUrl: import("zod").ZodNullable<import("zod").ZodString>;
5027
+ html: import("zod").ZodString;
5028
+ publishedAt: import("zod").ZodISODateTime;
5029
+ etag: import("zod").ZodString;
5030
+ breadcrumbs: import("zod").ZodArray<import("zod").ZodObject<{
5031
+ path: import("zod").ZodString;
5032
+ title: import("zod").ZodString;
5033
+ }, import("zod/v4/core").$strip>>;
5034
+ }, import("zod/v4/core").$strip>, import("@orpc/server").MergedErrorMap<Record<never, never>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
5035
+ BAD_REQUEST: {
5036
+ data: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
5037
+ };
5038
+ UNAUTHORIZED: {};
5039
+ FORBIDDEN: {
5040
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
5041
+ permission: import("zod").ZodOptional<import("zod").ZodString>;
5042
+ }, import("zod/v4/core").$strip>>;
5043
+ };
5044
+ NOT_FOUND: {};
5045
+ CONFLICT: {
5046
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
5047
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
5048
+ }, import("zod/v4/core").$strip>>;
5049
+ };
5050
+ RATE_LIMITED: {};
5051
+ MODULE_DISABLED: {
5052
+ data: import("zod").ZodObject<{
5053
+ module: import("zod").ZodString;
5054
+ }, import("zod/v4/core").$strip>;
5055
+ };
5056
+ }>>, Record<never, never>>;
5057
+ search: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, Record<never, never>>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers"> & {
5058
+ principal: {
5059
+ kind: "service" | "user" | "api_key" | "anonymous";
5060
+ userId: (string & import("zod").$brand<"UserId">) | null;
5061
+ email: string | null;
5062
+ name: string | null;
5063
+ locale: "en" | "fa" | "ar" | "de";
5064
+ instanceAdmin: boolean;
5065
+ service: string | null;
5066
+ memberships: {
5067
+ workspaceId: string & import("zod").$brand<"WorkspaceId">;
5068
+ role: "owner" | "admin" | "member" | "guest";
5069
+ roleIds: string[];
5070
+ groupIds: string[];
5071
+ status: "active" | "invited" | "suspended";
5072
+ }[];
5073
+ permissionVersion: number;
5074
+ apiKeyScope?: "read" | "read_write" | undefined;
5075
+ };
5076
+ kernel: Kernel;
5077
+ requestId: string;
5078
+ ip: string;
5079
+ headers: Record<string, string | string[] | undefined>;
5080
+ workspaceId?: string;
5081
+ }, import("zod").ZodObject<{
5082
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
5083
+ slug: import("zod").ZodString;
5084
+ q: import("zod").ZodString;
5085
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
5086
+ token: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
5087
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5088
+ items: import("zod").ZodArray<import("zod").ZodObject<{
5089
+ path: import("zod").ZodString;
5090
+ title: import("zod").ZodString;
5091
+ snippet: import("zod").ZodString;
5092
+ }, import("zod/v4/core").$strip>>;
5093
+ }, import("zod/v4/core").$strip>, import("@orpc/server").MergedErrorMap<Record<never, never>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
5094
+ BAD_REQUEST: {
5095
+ data: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
5096
+ };
5097
+ UNAUTHORIZED: {};
5098
+ FORBIDDEN: {
5099
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
5100
+ permission: import("zod").ZodOptional<import("zod").ZodString>;
5101
+ }, import("zod/v4/core").$strip>>;
5102
+ };
5103
+ NOT_FOUND: {};
5104
+ CONFLICT: {
5105
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
5106
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
5107
+ }, import("zod/v4/core").$strip>>;
5108
+ };
5109
+ RATE_LIMITED: {};
5110
+ MODULE_DISABLED: {
5111
+ data: import("zod").ZodObject<{
5112
+ module: import("zod").ZodString;
5113
+ }, import("zod/v4/core").$strip>;
5114
+ };
5115
+ }>>, Record<never, never>>;
5116
+ sitemap: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, Record<never, never>>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers"> & {
5117
+ principal: {
5118
+ kind: "service" | "user" | "api_key" | "anonymous";
5119
+ userId: (string & import("zod").$brand<"UserId">) | null;
5120
+ email: string | null;
5121
+ name: string | null;
5122
+ locale: "en" | "fa" | "ar" | "de";
5123
+ instanceAdmin: boolean;
5124
+ service: string | null;
5125
+ memberships: {
5126
+ workspaceId: string & import("zod").$brand<"WorkspaceId">;
5127
+ role: "owner" | "admin" | "member" | "guest";
5128
+ roleIds: string[];
5129
+ groupIds: string[];
5130
+ status: "active" | "invited" | "suspended";
5131
+ }[];
5132
+ permissionVersion: number;
5133
+ apiKeyScope?: "read" | "read_write" | undefined;
5134
+ };
5135
+ kernel: Kernel;
5136
+ requestId: string;
5137
+ ip: string;
5138
+ headers: Record<string, string | string[] | undefined>;
5139
+ workspaceId?: string;
5140
+ }, import("zod").ZodObject<{
5141
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
5142
+ slug: import("zod").ZodString;
5143
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5144
+ entries: import("zod").ZodArray<import("zod").ZodObject<{
5145
+ path: import("zod").ZodString;
5146
+ lastModified: import("zod").ZodISODateTime;
5147
+ }, import("zod/v4/core").$strip>>;
5148
+ }, import("zod/v4/core").$strip>, import("@orpc/server").MergedErrorMap<Record<never, never>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
5149
+ BAD_REQUEST: {
5150
+ data: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
5151
+ };
5152
+ UNAUTHORIZED: {};
5153
+ FORBIDDEN: {
5154
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
5155
+ permission: import("zod").ZodOptional<import("zod").ZodString>;
5156
+ }, import("zod/v4/core").$strip>>;
5157
+ };
5158
+ NOT_FOUND: {};
5159
+ CONFLICT: {
5160
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
5161
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
5162
+ }, import("zod/v4/core").$strip>>;
5163
+ };
5164
+ RATE_LIMITED: {};
5165
+ MODULE_DISABLED: {
5166
+ data: import("zod").ZodObject<{
5167
+ module: import("zod").ZodString;
5168
+ }, import("zod/v4/core").$strip>;
5169
+ };
5170
+ }>>, Record<never, never>>;
5171
+ robots: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, Record<never, never>>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers"> & {
5172
+ principal: {
5173
+ kind: "service" | "user" | "api_key" | "anonymous";
5174
+ userId: (string & import("zod").$brand<"UserId">) | null;
5175
+ email: string | null;
5176
+ name: string | null;
5177
+ locale: "en" | "fa" | "ar" | "de";
5178
+ instanceAdmin: boolean;
5179
+ service: string | null;
5180
+ memberships: {
5181
+ workspaceId: string & import("zod").$brand<"WorkspaceId">;
5182
+ role: "owner" | "admin" | "member" | "guest";
5183
+ roleIds: string[];
5184
+ groupIds: string[];
5185
+ status: "active" | "invited" | "suspended";
5186
+ }[];
5187
+ permissionVersion: number;
5188
+ apiKeyScope?: "read" | "read_write" | undefined;
5189
+ };
5190
+ kernel: Kernel;
5191
+ requestId: string;
5192
+ ip: string;
5193
+ headers: Record<string, string | string[] | undefined>;
5194
+ workspaceId?: string;
5195
+ }, import("zod").ZodObject<{
5196
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
5197
+ slug: import("zod").ZodString;
5198
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5199
+ indexable: import("zod").ZodBoolean;
5200
+ sitemapPath: import("zod").ZodNullable<import("zod").ZodString>;
5201
+ }, import("zod/v4/core").$strip>, import("@orpc/server").MergedErrorMap<Record<never, never>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
5202
+ BAD_REQUEST: {
5203
+ data: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
5204
+ };
5205
+ UNAUTHORIZED: {};
5206
+ FORBIDDEN: {
5207
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
5208
+ permission: import("zod").ZodOptional<import("zod").ZodString>;
5209
+ }, import("zod/v4/core").$strip>>;
5210
+ };
5211
+ NOT_FOUND: {};
5212
+ CONFLICT: {
5213
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
5214
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
5215
+ }, import("zod/v4/core").$strip>>;
5216
+ };
5217
+ RATE_LIMITED: {};
5218
+ MODULE_DISABLED: {
5219
+ data: import("zod").ZodObject<{
5220
+ module: import("zod").ZodString;
5221
+ }, import("zod/v4/core").$strip>;
5222
+ };
5223
+ }>>, Record<never, never>>;
5224
+ unlock: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<RequestContext & Record<never, never>, RequestContext & Record<never, never> & Omit<RequestContext & Record<never, never>, keyof RequestContext> & Omit<RequestContext & Record<never, never>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers">, RequestContext>, Omit<import("@orpc/server").MergedCurrentContext<RequestContext, Record<never, never>>, "workspaceId" | "kernel" | "principal" | "requestId" | "ip" | "headers"> & {
5225
+ principal: {
5226
+ kind: "service" | "user" | "api_key" | "anonymous";
5227
+ userId: (string & import("zod").$brand<"UserId">) | null;
5228
+ email: string | null;
5229
+ name: string | null;
5230
+ locale: "en" | "fa" | "ar" | "de";
5231
+ instanceAdmin: boolean;
5232
+ service: string | null;
5233
+ memberships: {
5234
+ workspaceId: string & import("zod").$brand<"WorkspaceId">;
5235
+ role: "owner" | "admin" | "member" | "guest";
5236
+ roleIds: string[];
5237
+ groupIds: string[];
5238
+ status: "active" | "invited" | "suspended";
5239
+ }[];
5240
+ permissionVersion: number;
5241
+ apiKeyScope?: "read" | "read_write" | undefined;
5242
+ };
5243
+ kernel: Kernel;
5244
+ requestId: string;
5245
+ ip: string;
5246
+ headers: Record<string, string | string[] | undefined>;
5247
+ workspaceId?: string;
5248
+ }, import("zod").ZodObject<{
5249
+ workspaceId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "WorkspaceId", "out">;
5250
+ slug: import("zod").ZodString;
5251
+ password: import("zod").ZodString;
5252
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5253
+ token: import("zod").ZodString;
5254
+ expiresAt: import("zod").ZodISODateTime;
5255
+ }, import("zod/v4/core").$strip>, import("@orpc/server").MergedErrorMap<Record<never, never>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
5256
+ BAD_REQUEST: {
5257
+ data: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
5258
+ };
5259
+ UNAUTHORIZED: {};
5260
+ FORBIDDEN: {
5261
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
5262
+ permission: import("zod").ZodOptional<import("zod").ZodString>;
5263
+ }, import("zod/v4/core").$strip>>;
5264
+ };
5265
+ NOT_FOUND: {};
5266
+ CONFLICT: {
5267
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
5268
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
5269
+ }, import("zod/v4/core").$strip>>;
5270
+ };
5271
+ RATE_LIMITED: {};
5272
+ MODULE_DISABLED: {
5273
+ data: import("zod").ZodObject<{
5274
+ module: import("zod").ZodString;
5275
+ }, import("zod/v4/core").$strip>;
5276
+ };
5277
+ }>>, Record<never, never>>;
5278
+ };
4509
5279
  };
4510
5280
  //# sourceMappingURL=_impl.d.ts.map