@kernhq/module-quire 0.10.9 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contract/models.d.ts +87 -0
- package/dist/contract/models.d.ts.map +1 -1
- package/dist/contract/models.js +73 -0
- package/dist/contract/models.js.map +1 -1
- package/dist/contract/permissions.d.ts.map +1 -1
- package/dist/contract/permissions.js +32 -0
- package/dist/contract/permissions.js.map +1 -1
- package/dist/contract/router.d.ts +645 -0
- package/dist/contract/router.d.ts.map +1 -1
- package/dist/contract/router.js +137 -2
- package/dist/contract/router.js.map +1 -1
- package/dist/server/_impl.d.ts +877 -0
- package/dist/server/_impl.d.ts.map +1 -1
- package/dist/server/_impl.js +127 -1
- package/dist/server/_impl.js.map +1 -1
- package/dist/server/schema.d.ts +482 -1
- package/dist/server/schema.d.ts.map +1 -1
- package/dist/server/schema.js +115 -1
- package/dist/server/schema.js.map +1 -1
- package/dist/server/services/index.d.ts +3 -0
- package/dist/server/services/index.d.ts.map +1 -1
- package/dist/server/services/index.js +3 -0
- package/dist/server/services/index.js.map +1 -1
- package/dist/server/services/organisation.d.ts +117 -0
- package/dist/server/services/organisation.d.ts.map +1 -0
- package/dist/server/services/organisation.js +319 -0
- package/dist/server/services/organisation.js.map +1 -0
- package/dist/server/services/pages.d.ts +16 -1
- package/dist/server/services/pages.d.ts.map +1 -1
- package/dist/server/services/pages.js +62 -3
- package/dist/server/services/pages.js.map +1 -1
- package/migrations/0007_organisation.sql +114 -0
- package/migrations/meta/0007_snapshot.json +1588 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +1 -1
- package/src/client/components/ConfirmDialog.svelte +123 -0
- package/src/client/components/FavoriteStar.svelte +81 -0
- package/src/client/components/LabelChip.svelte +46 -0
- package/src/client/components/LabelManager.svelte +336 -0
- package/src/client/components/PageLabels.svelte +158 -0
- package/src/client/components/SidebarFavorites.svelte +262 -0
- package/src/client/components/SidebarRecents.svelte +98 -0
- package/src/client/components/SidebarSpaces.svelte +266 -1
- package/src/client/i18n.ts +387 -0
- package/src/client/index.ts +8 -0
- package/src/client/mock.ts +306 -0
- package/src/client/module.ts +18 -0
- package/src/client/pages/PageView.svelte +284 -9
- package/src/client/pages/TrashPage.svelte +378 -0
- package/src/client/query.ts +24 -0
- package/src/contract/models.ts +83 -0
- package/src/contract/permissions.ts +36 -0
- package/src/contract/router.ts +153 -1
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { Ok } from './models.js';
|
|
3
|
+
/**
|
|
4
|
+
* A favourite as a sidebar draws it: the shortcut, plus enough of its page to render the row.
|
|
5
|
+
*
|
|
6
|
+
* Composed here rather than stored, for the same reason `versions.get` composes its output here —
|
|
7
|
+
* it is the shape of one answer, not a second copy of the page. A favourite whose page has been
|
|
8
|
+
* trashed or purged is not in this list at all: the row survives (nothing cascades), and every read
|
|
9
|
+
* joins to `pages`, so it is simply never drawn.
|
|
10
|
+
*/
|
|
11
|
+
export declare const FavoriteEntry: z.ZodObject<{
|
|
12
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
13
|
+
userId: z.core.$ZodBranded<z.ZodUUID, "UserId", "out">;
|
|
14
|
+
pageId: z.ZodUUID;
|
|
15
|
+
position: z.ZodString;
|
|
16
|
+
createdAt: z.ZodISODateTime;
|
|
17
|
+
spaceId: z.ZodUUID;
|
|
18
|
+
title: z.ZodString;
|
|
19
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
20
|
+
kind: z.ZodEnum<{
|
|
21
|
+
page: "page";
|
|
22
|
+
live: "live";
|
|
23
|
+
database: "database";
|
|
24
|
+
}>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export type FavoriteEntry = z.infer<typeof FavoriteEntry>;
|
|
27
|
+
/** The same, for a page somebody opened recently. */
|
|
28
|
+
export declare const RecentEntry: z.ZodObject<{
|
|
29
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
30
|
+
userId: z.core.$ZodBranded<z.ZodUUID, "UserId", "out">;
|
|
31
|
+
pageId: z.ZodUUID;
|
|
32
|
+
viewedAt: z.ZodISODateTime;
|
|
33
|
+
spaceId: z.ZodUUID;
|
|
34
|
+
title: z.ZodString;
|
|
35
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
36
|
+
kind: z.ZodEnum<{
|
|
37
|
+
page: "page";
|
|
38
|
+
live: "live";
|
|
39
|
+
database: "database";
|
|
40
|
+
}>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
export type RecentEntry = z.infer<typeof RecentEntry>;
|
|
43
|
+
/**
|
|
44
|
+
* Whether you are watching a page, and who else is.
|
|
45
|
+
*
|
|
46
|
+
* Both in one answer because a watch button has to draw both — its own pressed state and the number
|
|
47
|
+
* beside it — and asking twice within a keystroke of each other is two requests for one control.
|
|
48
|
+
*/
|
|
49
|
+
export declare const WatchState: z.ZodObject<{
|
|
50
|
+
watching: z.ZodBoolean;
|
|
51
|
+
watchers: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "UserId", "out">>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
export type WatchState = z.infer<typeof WatchState>;
|
|
3
54
|
export declare const quireContract: {
|
|
4
55
|
readonly spaces: {
|
|
5
56
|
readonly list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -706,6 +757,58 @@ export declare const quireContract: {
|
|
|
706
757
|
}, z.core.$strip>;
|
|
707
758
|
};
|
|
708
759
|
}>, Record<never, never>>;
|
|
760
|
+
/**
|
|
761
|
+
* The labels on this page, replaced by exactly this set.
|
|
762
|
+
*
|
|
763
|
+
* `set`, not `add`: a picker with three labels ticked sends three, and a picker with one ticked
|
|
764
|
+
* sends one and means the other two are gone. An additive procedure cannot express unticking
|
|
765
|
+
* without a second one to pair with it, and the pair then has to agree about a page two people
|
|
766
|
+
* are editing. Every label has to be one of the space's own — a label belongs to a space, so
|
|
767
|
+
* putting another space's label on a page would leak its vocabulary across the boundary.
|
|
768
|
+
*/
|
|
769
|
+
readonly setLabels: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
770
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
771
|
+
pageId: z.ZodUUID;
|
|
772
|
+
labelIds: z.ZodArray<z.ZodUUID>;
|
|
773
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
774
|
+
id: z.ZodUUID;
|
|
775
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
776
|
+
spaceId: z.ZodUUID;
|
|
777
|
+
name: z.ZodString;
|
|
778
|
+
colour: z.ZodEnum<{
|
|
779
|
+
success: "success";
|
|
780
|
+
grey: "grey";
|
|
781
|
+
slate: "slate";
|
|
782
|
+
accent: "accent";
|
|
783
|
+
warning: "warning";
|
|
784
|
+
danger: "danger";
|
|
785
|
+
info: "info";
|
|
786
|
+
purple: "purple";
|
|
787
|
+
}>;
|
|
788
|
+
createdAt: z.ZodISODateTime;
|
|
789
|
+
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
790
|
+
BAD_REQUEST: {
|
|
791
|
+
data: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
792
|
+
};
|
|
793
|
+
UNAUTHORIZED: {};
|
|
794
|
+
FORBIDDEN: {
|
|
795
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
796
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
797
|
+
}, z.core.$strip>>;
|
|
798
|
+
};
|
|
799
|
+
NOT_FOUND: {};
|
|
800
|
+
CONFLICT: {
|
|
801
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
802
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
803
|
+
}, z.core.$strip>>;
|
|
804
|
+
};
|
|
805
|
+
RATE_LIMITED: {};
|
|
806
|
+
MODULE_DISABLED: {
|
|
807
|
+
data: z.ZodObject<{
|
|
808
|
+
module: z.ZodString;
|
|
809
|
+
}, z.core.$strip>;
|
|
810
|
+
};
|
|
811
|
+
}>, Record<never, never>>;
|
|
709
812
|
};
|
|
710
813
|
readonly versions: {
|
|
711
814
|
readonly list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -2604,6 +2707,548 @@ export declare const quireContract: {
|
|
|
2604
2707
|
};
|
|
2605
2708
|
}>, Record<never, never>>;
|
|
2606
2709
|
};
|
|
2710
|
+
/**
|
|
2711
|
+
* The vocabulary a space puts on its pages.
|
|
2712
|
+
*
|
|
2713
|
+
* Reading is `quire.space.view` and writing is `quire.space.manage`, because a label is part of a
|
|
2714
|
+
* space's configuration rather than a page's content: renaming "Draft" changes what it means on
|
|
2715
|
+
* every page that wears it, which is not a thing somebody who may edit one page should be able to
|
|
2716
|
+
* do to everybody else's.
|
|
2717
|
+
*/
|
|
2718
|
+
readonly labels: {
|
|
2719
|
+
readonly list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2720
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
2721
|
+
spaceId: z.ZodUUID;
|
|
2722
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2723
|
+
id: z.ZodUUID;
|
|
2724
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
2725
|
+
spaceId: z.ZodUUID;
|
|
2726
|
+
name: z.ZodString;
|
|
2727
|
+
colour: z.ZodEnum<{
|
|
2728
|
+
success: "success";
|
|
2729
|
+
grey: "grey";
|
|
2730
|
+
slate: "slate";
|
|
2731
|
+
accent: "accent";
|
|
2732
|
+
warning: "warning";
|
|
2733
|
+
danger: "danger";
|
|
2734
|
+
info: "info";
|
|
2735
|
+
purple: "purple";
|
|
2736
|
+
}>;
|
|
2737
|
+
createdAt: z.ZodISODateTime;
|
|
2738
|
+
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2739
|
+
BAD_REQUEST: {
|
|
2740
|
+
data: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2741
|
+
};
|
|
2742
|
+
UNAUTHORIZED: {};
|
|
2743
|
+
FORBIDDEN: {
|
|
2744
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2745
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
2746
|
+
}, z.core.$strip>>;
|
|
2747
|
+
};
|
|
2748
|
+
NOT_FOUND: {};
|
|
2749
|
+
CONFLICT: {
|
|
2750
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2751
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2752
|
+
}, z.core.$strip>>;
|
|
2753
|
+
};
|
|
2754
|
+
RATE_LIMITED: {};
|
|
2755
|
+
MODULE_DISABLED: {
|
|
2756
|
+
data: z.ZodObject<{
|
|
2757
|
+
module: z.ZodString;
|
|
2758
|
+
}, z.core.$strip>;
|
|
2759
|
+
};
|
|
2760
|
+
}>, Record<never, never>>;
|
|
2761
|
+
/** What one page wears. `pages.setLabels` is the other half; without this one nothing draws it. */
|
|
2762
|
+
readonly forPage: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2763
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
2764
|
+
pageId: z.ZodUUID;
|
|
2765
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2766
|
+
id: z.ZodUUID;
|
|
2767
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
2768
|
+
spaceId: z.ZodUUID;
|
|
2769
|
+
name: z.ZodString;
|
|
2770
|
+
colour: z.ZodEnum<{
|
|
2771
|
+
success: "success";
|
|
2772
|
+
grey: "grey";
|
|
2773
|
+
slate: "slate";
|
|
2774
|
+
accent: "accent";
|
|
2775
|
+
warning: "warning";
|
|
2776
|
+
danger: "danger";
|
|
2777
|
+
info: "info";
|
|
2778
|
+
purple: "purple";
|
|
2779
|
+
}>;
|
|
2780
|
+
createdAt: z.ZodISODateTime;
|
|
2781
|
+
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2782
|
+
BAD_REQUEST: {
|
|
2783
|
+
data: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2784
|
+
};
|
|
2785
|
+
UNAUTHORIZED: {};
|
|
2786
|
+
FORBIDDEN: {
|
|
2787
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2788
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
2789
|
+
}, z.core.$strip>>;
|
|
2790
|
+
};
|
|
2791
|
+
NOT_FOUND: {};
|
|
2792
|
+
CONFLICT: {
|
|
2793
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2794
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2795
|
+
}, z.core.$strip>>;
|
|
2796
|
+
};
|
|
2797
|
+
RATE_LIMITED: {};
|
|
2798
|
+
MODULE_DISABLED: {
|
|
2799
|
+
data: z.ZodObject<{
|
|
2800
|
+
module: z.ZodString;
|
|
2801
|
+
}, z.core.$strip>;
|
|
2802
|
+
};
|
|
2803
|
+
}>, Record<never, never>>;
|
|
2804
|
+
readonly create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2805
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
2806
|
+
spaceId: z.ZodUUID;
|
|
2807
|
+
name: z.ZodString;
|
|
2808
|
+
colour: z.ZodDefault<z.ZodEnum<{
|
|
2809
|
+
success: "success";
|
|
2810
|
+
grey: "grey";
|
|
2811
|
+
slate: "slate";
|
|
2812
|
+
accent: "accent";
|
|
2813
|
+
warning: "warning";
|
|
2814
|
+
danger: "danger";
|
|
2815
|
+
info: "info";
|
|
2816
|
+
purple: "purple";
|
|
2817
|
+
}>>;
|
|
2818
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2819
|
+
id: z.ZodUUID;
|
|
2820
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
2821
|
+
spaceId: z.ZodUUID;
|
|
2822
|
+
name: z.ZodString;
|
|
2823
|
+
colour: z.ZodEnum<{
|
|
2824
|
+
success: "success";
|
|
2825
|
+
grey: "grey";
|
|
2826
|
+
slate: "slate";
|
|
2827
|
+
accent: "accent";
|
|
2828
|
+
warning: "warning";
|
|
2829
|
+
danger: "danger";
|
|
2830
|
+
info: "info";
|
|
2831
|
+
purple: "purple";
|
|
2832
|
+
}>;
|
|
2833
|
+
createdAt: z.ZodISODateTime;
|
|
2834
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2835
|
+
BAD_REQUEST: {
|
|
2836
|
+
data: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2837
|
+
};
|
|
2838
|
+
UNAUTHORIZED: {};
|
|
2839
|
+
FORBIDDEN: {
|
|
2840
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2841
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
2842
|
+
}, z.core.$strip>>;
|
|
2843
|
+
};
|
|
2844
|
+
NOT_FOUND: {};
|
|
2845
|
+
CONFLICT: {
|
|
2846
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2847
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2848
|
+
}, z.core.$strip>>;
|
|
2849
|
+
};
|
|
2850
|
+
RATE_LIMITED: {};
|
|
2851
|
+
MODULE_DISABLED: {
|
|
2852
|
+
data: z.ZodObject<{
|
|
2853
|
+
module: z.ZodString;
|
|
2854
|
+
}, z.core.$strip>;
|
|
2855
|
+
};
|
|
2856
|
+
}>, Record<never, never>>;
|
|
2857
|
+
readonly update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2858
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
2859
|
+
labelId: z.ZodUUID;
|
|
2860
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2861
|
+
colour: z.ZodOptional<z.ZodEnum<{
|
|
2862
|
+
success: "success";
|
|
2863
|
+
grey: "grey";
|
|
2864
|
+
slate: "slate";
|
|
2865
|
+
accent: "accent";
|
|
2866
|
+
warning: "warning";
|
|
2867
|
+
danger: "danger";
|
|
2868
|
+
info: "info";
|
|
2869
|
+
purple: "purple";
|
|
2870
|
+
}>>;
|
|
2871
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2872
|
+
id: z.ZodUUID;
|
|
2873
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
2874
|
+
spaceId: z.ZodUUID;
|
|
2875
|
+
name: z.ZodString;
|
|
2876
|
+
colour: z.ZodEnum<{
|
|
2877
|
+
success: "success";
|
|
2878
|
+
grey: "grey";
|
|
2879
|
+
slate: "slate";
|
|
2880
|
+
accent: "accent";
|
|
2881
|
+
warning: "warning";
|
|
2882
|
+
danger: "danger";
|
|
2883
|
+
info: "info";
|
|
2884
|
+
purple: "purple";
|
|
2885
|
+
}>;
|
|
2886
|
+
createdAt: z.ZodISODateTime;
|
|
2887
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2888
|
+
BAD_REQUEST: {
|
|
2889
|
+
data: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2890
|
+
};
|
|
2891
|
+
UNAUTHORIZED: {};
|
|
2892
|
+
FORBIDDEN: {
|
|
2893
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2894
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
2895
|
+
}, z.core.$strip>>;
|
|
2896
|
+
};
|
|
2897
|
+
NOT_FOUND: {};
|
|
2898
|
+
CONFLICT: {
|
|
2899
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2900
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2901
|
+
}, z.core.$strip>>;
|
|
2902
|
+
};
|
|
2903
|
+
RATE_LIMITED: {};
|
|
2904
|
+
MODULE_DISABLED: {
|
|
2905
|
+
data: z.ZodObject<{
|
|
2906
|
+
module: z.ZodString;
|
|
2907
|
+
}, z.core.$strip>;
|
|
2908
|
+
};
|
|
2909
|
+
}>, Record<never, never>>;
|
|
2910
|
+
/** Off every page that wore it, too — a label nothing can name is not a label anybody can remove. */
|
|
2911
|
+
readonly remove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2912
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
2913
|
+
labelId: z.ZodUUID;
|
|
2914
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2915
|
+
ok: z.ZodLiteral<true>;
|
|
2916
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2917
|
+
BAD_REQUEST: {
|
|
2918
|
+
data: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2919
|
+
};
|
|
2920
|
+
UNAUTHORIZED: {};
|
|
2921
|
+
FORBIDDEN: {
|
|
2922
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2923
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
2924
|
+
}, z.core.$strip>>;
|
|
2925
|
+
};
|
|
2926
|
+
NOT_FOUND: {};
|
|
2927
|
+
CONFLICT: {
|
|
2928
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2929
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2930
|
+
}, z.core.$strip>>;
|
|
2931
|
+
};
|
|
2932
|
+
RATE_LIMITED: {};
|
|
2933
|
+
MODULE_DISABLED: {
|
|
2934
|
+
data: z.ZodObject<{
|
|
2935
|
+
module: z.ZodString;
|
|
2936
|
+
}, z.core.$strip>;
|
|
2937
|
+
};
|
|
2938
|
+
}>, Record<never, never>>;
|
|
2939
|
+
};
|
|
2940
|
+
/**
|
|
2941
|
+
* One person's own shortcuts, in the order they arranged them.
|
|
2942
|
+
*
|
|
2943
|
+
* Every procedure here is filtered to the caller. Row-level security fences the *workspace*, which
|
|
2944
|
+
* is the tenant boundary and not a privacy boundary — one colleague's favourites are as visible to
|
|
2945
|
+
* the policy as your own — so the `user_id` in each of these queries is the only thing keeping a
|
|
2946
|
+
* sidebar personal. The three mutations all answer with the whole ordered list rather than the one
|
|
2947
|
+
* row they touched: a fractional-index reorder is only meaningful as an ordering, the list is one
|
|
2948
|
+
* person's and therefore short, and it saves the sidebar a refetch to redraw itself.
|
|
2949
|
+
*/
|
|
2950
|
+
readonly favorites: {
|
|
2951
|
+
readonly list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2952
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
2953
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2954
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
2955
|
+
userId: z.core.$ZodBranded<z.ZodUUID, "UserId", "out">;
|
|
2956
|
+
pageId: z.ZodUUID;
|
|
2957
|
+
position: z.ZodString;
|
|
2958
|
+
createdAt: z.ZodISODateTime;
|
|
2959
|
+
spaceId: z.ZodUUID;
|
|
2960
|
+
title: z.ZodString;
|
|
2961
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
2962
|
+
kind: z.ZodEnum<{
|
|
2963
|
+
page: "page";
|
|
2964
|
+
live: "live";
|
|
2965
|
+
database: "database";
|
|
2966
|
+
}>;
|
|
2967
|
+
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2968
|
+
BAD_REQUEST: {
|
|
2969
|
+
data: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2970
|
+
};
|
|
2971
|
+
UNAUTHORIZED: {};
|
|
2972
|
+
FORBIDDEN: {
|
|
2973
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2974
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
2975
|
+
}, z.core.$strip>>;
|
|
2976
|
+
};
|
|
2977
|
+
NOT_FOUND: {};
|
|
2978
|
+
CONFLICT: {
|
|
2979
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2980
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2981
|
+
}, z.core.$strip>>;
|
|
2982
|
+
};
|
|
2983
|
+
RATE_LIMITED: {};
|
|
2984
|
+
MODULE_DISABLED: {
|
|
2985
|
+
data: z.ZodObject<{
|
|
2986
|
+
module: z.ZodString;
|
|
2987
|
+
}, z.core.$strip>;
|
|
2988
|
+
};
|
|
2989
|
+
}>, Record<never, never>>;
|
|
2990
|
+
/** Lands at the end. Starring the same page twice is the same star, not an error. */
|
|
2991
|
+
readonly add: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2992
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
2993
|
+
pageId: z.ZodUUID;
|
|
2994
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2995
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
2996
|
+
userId: z.core.$ZodBranded<z.ZodUUID, "UserId", "out">;
|
|
2997
|
+
pageId: z.ZodUUID;
|
|
2998
|
+
position: z.ZodString;
|
|
2999
|
+
createdAt: z.ZodISODateTime;
|
|
3000
|
+
spaceId: z.ZodUUID;
|
|
3001
|
+
title: z.ZodString;
|
|
3002
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
3003
|
+
kind: z.ZodEnum<{
|
|
3004
|
+
page: "page";
|
|
3005
|
+
live: "live";
|
|
3006
|
+
database: "database";
|
|
3007
|
+
}>;
|
|
3008
|
+
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3009
|
+
BAD_REQUEST: {
|
|
3010
|
+
data: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3011
|
+
};
|
|
3012
|
+
UNAUTHORIZED: {};
|
|
3013
|
+
FORBIDDEN: {
|
|
3014
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
3015
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
3016
|
+
}, z.core.$strip>>;
|
|
3017
|
+
};
|
|
3018
|
+
NOT_FOUND: {};
|
|
3019
|
+
CONFLICT: {
|
|
3020
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
3021
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3022
|
+
}, z.core.$strip>>;
|
|
3023
|
+
};
|
|
3024
|
+
RATE_LIMITED: {};
|
|
3025
|
+
MODULE_DISABLED: {
|
|
3026
|
+
data: z.ZodObject<{
|
|
3027
|
+
module: z.ZodString;
|
|
3028
|
+
}, z.core.$strip>;
|
|
3029
|
+
};
|
|
3030
|
+
}>, Record<never, never>>;
|
|
3031
|
+
readonly remove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3032
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
3033
|
+
pageId: z.ZodUUID;
|
|
3034
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3035
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
3036
|
+
userId: z.core.$ZodBranded<z.ZodUUID, "UserId", "out">;
|
|
3037
|
+
pageId: z.ZodUUID;
|
|
3038
|
+
position: z.ZodString;
|
|
3039
|
+
createdAt: z.ZodISODateTime;
|
|
3040
|
+
spaceId: z.ZodUUID;
|
|
3041
|
+
title: z.ZodString;
|
|
3042
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
3043
|
+
kind: z.ZodEnum<{
|
|
3044
|
+
page: "page";
|
|
3045
|
+
live: "live";
|
|
3046
|
+
database: "database";
|
|
3047
|
+
}>;
|
|
3048
|
+
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3049
|
+
BAD_REQUEST: {
|
|
3050
|
+
data: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3051
|
+
};
|
|
3052
|
+
UNAUTHORIZED: {};
|
|
3053
|
+
FORBIDDEN: {
|
|
3054
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
3055
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
3056
|
+
}, z.core.$strip>>;
|
|
3057
|
+
};
|
|
3058
|
+
NOT_FOUND: {};
|
|
3059
|
+
CONFLICT: {
|
|
3060
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
3061
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3062
|
+
}, z.core.$strip>>;
|
|
3063
|
+
};
|
|
3064
|
+
RATE_LIMITED: {};
|
|
3065
|
+
MODULE_DISABLED: {
|
|
3066
|
+
data: z.ZodObject<{
|
|
3067
|
+
module: z.ZodString;
|
|
3068
|
+
}, z.core.$strip>;
|
|
3069
|
+
};
|
|
3070
|
+
}>, Record<never, never>>;
|
|
3071
|
+
/** `afterId` is the favourite to land behind; null means first. The rank is minted server-side. */
|
|
3072
|
+
readonly reorder: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3073
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
3074
|
+
pageId: z.ZodUUID;
|
|
3075
|
+
afterId: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
|
|
3076
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3077
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
3078
|
+
userId: z.core.$ZodBranded<z.ZodUUID, "UserId", "out">;
|
|
3079
|
+
pageId: z.ZodUUID;
|
|
3080
|
+
position: z.ZodString;
|
|
3081
|
+
createdAt: z.ZodISODateTime;
|
|
3082
|
+
spaceId: z.ZodUUID;
|
|
3083
|
+
title: z.ZodString;
|
|
3084
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
3085
|
+
kind: z.ZodEnum<{
|
|
3086
|
+
page: "page";
|
|
3087
|
+
live: "live";
|
|
3088
|
+
database: "database";
|
|
3089
|
+
}>;
|
|
3090
|
+
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3091
|
+
BAD_REQUEST: {
|
|
3092
|
+
data: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3093
|
+
};
|
|
3094
|
+
UNAUTHORIZED: {};
|
|
3095
|
+
FORBIDDEN: {
|
|
3096
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
3097
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
3098
|
+
}, z.core.$strip>>;
|
|
3099
|
+
};
|
|
3100
|
+
NOT_FOUND: {};
|
|
3101
|
+
CONFLICT: {
|
|
3102
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
3103
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3104
|
+
}, z.core.$strip>>;
|
|
3105
|
+
};
|
|
3106
|
+
RATE_LIMITED: {};
|
|
3107
|
+
MODULE_DISABLED: {
|
|
3108
|
+
data: z.ZodObject<{
|
|
3109
|
+
module: z.ZodString;
|
|
3110
|
+
}, z.core.$strip>;
|
|
3111
|
+
};
|
|
3112
|
+
}>, Record<never, never>>;
|
|
3113
|
+
};
|
|
3114
|
+
/** Who asked to hear about a page. Deliberately not the same list as who bookmarked it. */
|
|
3115
|
+
readonly watchers: {
|
|
3116
|
+
readonly get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3117
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
3118
|
+
pageId: z.ZodUUID;
|
|
3119
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3120
|
+
watching: z.ZodBoolean;
|
|
3121
|
+
watchers: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "UserId", "out">>;
|
|
3122
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3123
|
+
BAD_REQUEST: {
|
|
3124
|
+
data: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3125
|
+
};
|
|
3126
|
+
UNAUTHORIZED: {};
|
|
3127
|
+
FORBIDDEN: {
|
|
3128
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
3129
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
3130
|
+
}, z.core.$strip>>;
|
|
3131
|
+
};
|
|
3132
|
+
NOT_FOUND: {};
|
|
3133
|
+
CONFLICT: {
|
|
3134
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
3135
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3136
|
+
}, z.core.$strip>>;
|
|
3137
|
+
};
|
|
3138
|
+
RATE_LIMITED: {};
|
|
3139
|
+
MODULE_DISABLED: {
|
|
3140
|
+
data: z.ZodObject<{
|
|
3141
|
+
module: z.ZodString;
|
|
3142
|
+
}, z.core.$strip>;
|
|
3143
|
+
};
|
|
3144
|
+
}>, Record<never, never>>;
|
|
3145
|
+
readonly set: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3146
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
3147
|
+
pageId: z.ZodUUID;
|
|
3148
|
+
watching: z.ZodDefault<z.ZodBoolean>;
|
|
3149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3150
|
+
watching: z.ZodBoolean;
|
|
3151
|
+
watchers: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "UserId", "out">>;
|
|
3152
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3153
|
+
BAD_REQUEST: {
|
|
3154
|
+
data: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3155
|
+
};
|
|
3156
|
+
UNAUTHORIZED: {};
|
|
3157
|
+
FORBIDDEN: {
|
|
3158
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
3159
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
3160
|
+
}, z.core.$strip>>;
|
|
3161
|
+
};
|
|
3162
|
+
NOT_FOUND: {};
|
|
3163
|
+
CONFLICT: {
|
|
3164
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
3165
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3166
|
+
}, z.core.$strip>>;
|
|
3167
|
+
};
|
|
3168
|
+
RATE_LIMITED: {};
|
|
3169
|
+
MODULE_DISABLED: {
|
|
3170
|
+
data: z.ZodObject<{
|
|
3171
|
+
module: z.ZodString;
|
|
3172
|
+
}, z.core.$strip>;
|
|
3173
|
+
};
|
|
3174
|
+
}>, Record<never, never>>;
|
|
3175
|
+
};
|
|
3176
|
+
/**
|
|
3177
|
+
* Where this person has just been, newest first — and only this person.
|
|
3178
|
+
*
|
|
3179
|
+
* `record` is what a page view calls; it bumps one row rather than appending to a log, so the
|
|
3180
|
+
* table is bounded by pages-times-people instead of growing for ever to answer a question that
|
|
3181
|
+
* only ever wants the most recent handful.
|
|
3182
|
+
*/
|
|
3183
|
+
readonly recents: {
|
|
3184
|
+
readonly list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3185
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
3186
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
3187
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3188
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
3189
|
+
userId: z.core.$ZodBranded<z.ZodUUID, "UserId", "out">;
|
|
3190
|
+
pageId: z.ZodUUID;
|
|
3191
|
+
viewedAt: z.ZodISODateTime;
|
|
3192
|
+
spaceId: z.ZodUUID;
|
|
3193
|
+
title: z.ZodString;
|
|
3194
|
+
icon: z.ZodNullable<z.ZodString>;
|
|
3195
|
+
kind: z.ZodEnum<{
|
|
3196
|
+
page: "page";
|
|
3197
|
+
live: "live";
|
|
3198
|
+
database: "database";
|
|
3199
|
+
}>;
|
|
3200
|
+
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3201
|
+
BAD_REQUEST: {
|
|
3202
|
+
data: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3203
|
+
};
|
|
3204
|
+
UNAUTHORIZED: {};
|
|
3205
|
+
FORBIDDEN: {
|
|
3206
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
3207
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
3208
|
+
}, z.core.$strip>>;
|
|
3209
|
+
};
|
|
3210
|
+
NOT_FOUND: {};
|
|
3211
|
+
CONFLICT: {
|
|
3212
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
3213
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3214
|
+
}, z.core.$strip>>;
|
|
3215
|
+
};
|
|
3216
|
+
RATE_LIMITED: {};
|
|
3217
|
+
MODULE_DISABLED: {
|
|
3218
|
+
data: z.ZodObject<{
|
|
3219
|
+
module: z.ZodString;
|
|
3220
|
+
}, z.core.$strip>;
|
|
3221
|
+
};
|
|
3222
|
+
}>, Record<never, never>>;
|
|
3223
|
+
readonly record: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3224
|
+
workspaceId: z.core.$ZodBranded<z.ZodUUID, "WorkspaceId", "out">;
|
|
3225
|
+
pageId: z.ZodUUID;
|
|
3226
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3227
|
+
ok: z.ZodLiteral<true>;
|
|
3228
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3229
|
+
BAD_REQUEST: {
|
|
3230
|
+
data: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3231
|
+
};
|
|
3232
|
+
UNAUTHORIZED: {};
|
|
3233
|
+
FORBIDDEN: {
|
|
3234
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
3235
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
3236
|
+
}, z.core.$strip>>;
|
|
3237
|
+
};
|
|
3238
|
+
NOT_FOUND: {};
|
|
3239
|
+
CONFLICT: {
|
|
3240
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
3241
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3242
|
+
}, z.core.$strip>>;
|
|
3243
|
+
};
|
|
3244
|
+
RATE_LIMITED: {};
|
|
3245
|
+
MODULE_DISABLED: {
|
|
3246
|
+
data: z.ZodObject<{
|
|
3247
|
+
module: z.ZodString;
|
|
3248
|
+
}, z.core.$strip>;
|
|
3249
|
+
};
|
|
3250
|
+
}>, Record<never, never>>;
|
|
3251
|
+
};
|
|
2607
3252
|
readonly publishing: {
|
|
2608
3253
|
/** Make what is written now the version readers are served. Only meaningful for a `page`. */
|
|
2609
3254
|
readonly publish: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/contract/router.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/contract/router.ts"],"names":[],"mappings":"AACA,OAAO,EAA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