graze-client 0.2.0 → 0.2.2
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/build/dts/GrazeClient.d.ts +153 -0
- package/build/dts/GrazeClient.d.ts.map +1 -0
- package/build/dts/index.d.ts +17 -0
- package/build/dts/index.d.ts.map +1 -0
- package/build/dts/schema/UpdateAlgorithmPayload.d.ts +328 -0
- package/build/dts/schema/UpdateAlgorithmPayload.d.ts.map +1 -0
- package/build/dts/schema/index.d.ts +3 -0
- package/build/dts/schema/index.d.ts.map +1 -0
- package/build/dts/schema/shared.d.ts +147 -0
- package/build/dts/schema/shared.d.ts.map +1 -0
- package/build/esm/GrazeClient.js +67 -0
- package/build/esm/GrazeClient.js.map +1 -0
- package/build/esm/index.js +41 -0
- package/build/esm/index.js.map +1 -0
- package/build/esm/schema/UpdateAlgorithmPayload.js +101 -0
- package/build/esm/schema/UpdateAlgorithmPayload.js.map +1 -0
- package/build/esm/schema/index.js +3 -0
- package/build/esm/schema/index.js.map +1 -0
- package/build/esm/schema/shared.js +63 -0
- package/build/esm/schema/shared.js.map +1 -0
- package/package.json +14 -9
- package/.changeset/config.json +0 -16
- package/.github/actions/setup/action.yml +0 -21
- package/.github/workflows/check.yml +0 -57
- package/.github/workflows/release.yml +0 -34
- package/.github/workflows/snapshot.yml +0 -24
- package/.vscode/effect.code-snippets +0 -72
- package/.vscode/extensions.json +0 -6
- package/.vscode/settings.json +0 -5
- package/CHANGELOG.md +0 -19
- package/eslint.config.mjs +0 -120
- package/patches/@changesets__get-github-info@0.6.0.patch +0 -48
- package/patches/babel-plugin-annotate-pure-calls@0.4.0.patch +0 -13
- package/scratchpad/tsconfig.json +0 -10
- package/setupTests.ts +0 -3
- package/test/Dummy.test.ts +0 -7
- package/vitest.config.ts +0 -17
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { HttpClient } from "@effect/platform";
|
|
2
|
+
import { Effect } from "effect";
|
|
3
|
+
import * as Form from "./schema/UpdateAlgorithmPayload.js";
|
|
4
|
+
declare const GrazeClient_base: Effect.Service.Class<GrazeClient, "GrazeClient", {
|
|
5
|
+
readonly effect: Effect.Effect<{
|
|
6
|
+
updateAlgorithm: (data: Form.FullForm) => Effect.Effect<{
|
|
7
|
+
readonly message: string;
|
|
8
|
+
readonly algorithm: {
|
|
9
|
+
readonly algorithm_uri: string;
|
|
10
|
+
readonly algorithm_manifest_id: number | null;
|
|
11
|
+
readonly draft_algorithm_manifest_id: number;
|
|
12
|
+
readonly record_name: string;
|
|
13
|
+
readonly display_name: string;
|
|
14
|
+
readonly description: string;
|
|
15
|
+
readonly feed_did: string;
|
|
16
|
+
readonly avatar_url: string | null;
|
|
17
|
+
readonly cpm_cents: number | null;
|
|
18
|
+
readonly deleted: boolean;
|
|
19
|
+
readonly active: boolean;
|
|
20
|
+
readonly public: boolean;
|
|
21
|
+
readonly monetization_available: boolean;
|
|
22
|
+
readonly status: string | null;
|
|
23
|
+
readonly unique_operator_ids: readonly number[];
|
|
24
|
+
readonly user_id: number;
|
|
25
|
+
readonly id: number;
|
|
26
|
+
readonly created_at: Date;
|
|
27
|
+
readonly updated_at: Date;
|
|
28
|
+
readonly deleted_at: Date | null;
|
|
29
|
+
};
|
|
30
|
+
}, import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError | import("effect/ParseResult").ParseError, never>;
|
|
31
|
+
getFeeds: () => Effect.Effect<{
|
|
32
|
+
readonly page: number;
|
|
33
|
+
readonly page_size: number;
|
|
34
|
+
readonly total_items: number;
|
|
35
|
+
readonly total_pages: number;
|
|
36
|
+
readonly user_algos: readonly {
|
|
37
|
+
readonly algorithm_uri: string;
|
|
38
|
+
readonly algorithm_manifest_id: number | null;
|
|
39
|
+
readonly draft_algorithm_manifest_id: number;
|
|
40
|
+
readonly record_name: string;
|
|
41
|
+
readonly display_name: string;
|
|
42
|
+
readonly description: string;
|
|
43
|
+
readonly feed_did: string;
|
|
44
|
+
readonly avatar_url: string | null;
|
|
45
|
+
readonly cpm_cents: number | null;
|
|
46
|
+
readonly deleted: boolean;
|
|
47
|
+
readonly active: boolean;
|
|
48
|
+
readonly public: boolean;
|
|
49
|
+
readonly monetization_available: boolean;
|
|
50
|
+
readonly status: string | null;
|
|
51
|
+
readonly unique_operator_ids: readonly number[];
|
|
52
|
+
readonly user_id: number;
|
|
53
|
+
readonly id: number;
|
|
54
|
+
readonly created_at: Date;
|
|
55
|
+
readonly updated_at: Date;
|
|
56
|
+
readonly deleted_at: Date | null;
|
|
57
|
+
readonly stats: {
|
|
58
|
+
readonly page_renders: number;
|
|
59
|
+
readonly unique_users: number;
|
|
60
|
+
readonly post_renders: number;
|
|
61
|
+
};
|
|
62
|
+
}[];
|
|
63
|
+
}, import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
64
|
+
getFeed: <WithResponse extends boolean = false>(request: {
|
|
65
|
+
readonly path: {
|
|
66
|
+
readonly feedId: number;
|
|
67
|
+
};
|
|
68
|
+
readonly withResponse?: WithResponse;
|
|
69
|
+
}) => Effect.Effect<WithResponse extends true ? [{
|
|
70
|
+
readonly algorithm_uri: string;
|
|
71
|
+
readonly algorithm_manifest_id: number | null;
|
|
72
|
+
readonly draft_algorithm_manifest_id: number;
|
|
73
|
+
readonly record_name: string;
|
|
74
|
+
readonly display_name: string;
|
|
75
|
+
readonly description: string;
|
|
76
|
+
readonly feed_did: string;
|
|
77
|
+
readonly avatar_url: string | null;
|
|
78
|
+
readonly cpm_cents: number | null;
|
|
79
|
+
readonly deleted: boolean;
|
|
80
|
+
readonly active: boolean;
|
|
81
|
+
readonly public: boolean;
|
|
82
|
+
readonly monetization_available: boolean;
|
|
83
|
+
readonly status: string | null;
|
|
84
|
+
readonly unique_operator_ids: readonly number[];
|
|
85
|
+
readonly user_id: number;
|
|
86
|
+
readonly id: number;
|
|
87
|
+
readonly created_at: Date;
|
|
88
|
+
readonly updated_at: Date;
|
|
89
|
+
readonly deleted_at: Date | null;
|
|
90
|
+
readonly stats: unknown;
|
|
91
|
+
readonly latest_error: unknown;
|
|
92
|
+
readonly latest_compute_cycle: unknown;
|
|
93
|
+
readonly subscriber_lists: unknown;
|
|
94
|
+
readonly draft_algorithm_manifest: unknown;
|
|
95
|
+
readonly algorithm_manifest: unknown;
|
|
96
|
+
}, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
|
|
97
|
+
readonly algorithm_uri: string;
|
|
98
|
+
readonly algorithm_manifest_id: number | null;
|
|
99
|
+
readonly draft_algorithm_manifest_id: number;
|
|
100
|
+
readonly record_name: string;
|
|
101
|
+
readonly display_name: string;
|
|
102
|
+
readonly description: string;
|
|
103
|
+
readonly feed_did: string;
|
|
104
|
+
readonly avatar_url: string | null;
|
|
105
|
+
readonly cpm_cents: number | null;
|
|
106
|
+
readonly deleted: boolean;
|
|
107
|
+
readonly active: boolean;
|
|
108
|
+
readonly public: boolean;
|
|
109
|
+
readonly monetization_available: boolean;
|
|
110
|
+
readonly status: string | null;
|
|
111
|
+
readonly unique_operator_ids: readonly number[];
|
|
112
|
+
readonly user_id: number;
|
|
113
|
+
readonly id: number;
|
|
114
|
+
readonly created_at: Date;
|
|
115
|
+
readonly updated_at: Date;
|
|
116
|
+
readonly deleted_at: Date | null;
|
|
117
|
+
readonly stats: unknown;
|
|
118
|
+
readonly latest_error: unknown;
|
|
119
|
+
readonly latest_compute_cycle: unknown;
|
|
120
|
+
readonly subscriber_lists: unknown;
|
|
121
|
+
readonly draft_algorithm_manifest: unknown;
|
|
122
|
+
readonly algorithm_manifest: unknown;
|
|
123
|
+
}, import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
124
|
+
publishAlgorithm: <WithResponse extends boolean = false>(request: {
|
|
125
|
+
readonly path: {
|
|
126
|
+
readonly feedId: number;
|
|
127
|
+
};
|
|
128
|
+
readonly withResponse?: WithResponse;
|
|
129
|
+
}) => Effect.Effect<WithResponse extends true ? [unknown, import("@effect/platform/HttpClientResponse").HttpClientResponse] : unknown, import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
130
|
+
hidePost: <WithResponse extends boolean = false>(request: {
|
|
131
|
+
readonly payload: {
|
|
132
|
+
readonly algo_id: number;
|
|
133
|
+
readonly at_uri: string;
|
|
134
|
+
};
|
|
135
|
+
readonly withResponse?: WithResponse;
|
|
136
|
+
}) => Effect.Effect<WithResponse extends true ? [unknown, import("@effect/platform/HttpClientResponse").HttpClientResponse] : unknown, import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
|
|
137
|
+
}, import("effect/ConfigError").ConfigError, HttpClient.HttpClient>;
|
|
138
|
+
readonly dependencies: readonly [import("effect/Layer").Layer<HttpClient.HttpClient, never, never>];
|
|
139
|
+
}>;
|
|
140
|
+
export declare class GrazeClient extends GrazeClient_base {
|
|
141
|
+
}
|
|
142
|
+
declare const GrazeError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
143
|
+
readonly _tag: "GrazeError";
|
|
144
|
+
} & Readonly<A>;
|
|
145
|
+
export declare class GrazeError extends GrazeError_base<{
|
|
146
|
+
message: string;
|
|
147
|
+
status: number;
|
|
148
|
+
statusText: string;
|
|
149
|
+
json: unknown;
|
|
150
|
+
}> {
|
|
151
|
+
}
|
|
152
|
+
export {};
|
|
153
|
+
//# sourceMappingURL=GrazeClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GrazeClient.d.ts","sourceRoot":"","sources":["../../src/GrazeClient.ts"],"names":[],"mappings":"AAMA,OAAO,EAOL,UAAU,EAEX,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAgB,MAAM,EAAoB,MAAM,QAAQ,CAAC;AAEhE,OAAO,KAAK,IAAI,MAAM,oCAAoC,CAAC;;;gCA0E1B,IAAI,CAAC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgB9C,qBAAa,WAAY,SAAQ,gBAG/B;CAED;;;;AAED,qBAAa,UAAW,SAAQ,gBAA+B;IAC7D,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;CAAG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Effect } from "effect";
|
|
2
|
+
import { GrazeClient } from "src/GrazeClient.js";
|
|
3
|
+
type Promisify<T> = T extends (...args: any[]) => Effect.Effect<infer A, infer E, never> ? (...args: Parameters<T>) => Promise<A> : never;
|
|
4
|
+
export declare class GrazeService {
|
|
5
|
+
getFeed: Promisify<typeof GrazeClient.Service.getFeed>;
|
|
6
|
+
getFeeds: Promisify<typeof GrazeClient.Service.getFeeds>;
|
|
7
|
+
hidePost: Promisify<typeof GrazeClient.Service.hidePost>;
|
|
8
|
+
updateAlgorithm: Promisify<typeof GrazeClient.Service.updateAlgorithm>;
|
|
9
|
+
publishAlgorithm: Promisify<typeof GrazeClient.Service.publishAlgorithm>;
|
|
10
|
+
constructor({ apiUrl, cookie, userId, }: {
|
|
11
|
+
apiUrl: string;
|
|
12
|
+
cookie: string;
|
|
13
|
+
userId: number;
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,MAAM,EAAS,MAAM,QAAQ,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,KAAK,SAAS,CAAC,CAAC,IAAI,CAAC,SAAS,CAC5B,GAAG,IAAI,EAAE,GAAG,EAAE,KACX,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,GACvC,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,GACtC,KAAK,CAAC;AAEV,qBAAa,YAAY;IACvB,OAAO,EAAE,SAAS,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACvD,QAAQ,EAAE,SAAS,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IACzD,QAAQ,EAAE,SAAS,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IACzD,eAAe,EAAE,SAAS,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;IACvE,gBAAgB,EAAE,SAAS,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;gBAE7D,EACV,MAAM,EACN,MAAM,EACN,MAAM,GACP,EAAE;QACD,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;KAChB;CAmBF"}
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
import { Schema as S } from "effect";
|
|
2
|
+
export declare const ListUri: typeof S.String;
|
|
3
|
+
export type ListUri = typeof ListUri.Type;
|
|
4
|
+
export declare const AttributeName: S.Union<[S.Literal<["text"]>, S.Literal<["reply"]>, S.Literal<["embed.images[*].alt"]>, S.Literal<["embed.alt"]>, S.Literal<["embed"]>, S.Literal<["embed.external.uri"]>, S.Literal<["embed.external.title"]>, S.Literal<["embed.external.description"]>]>;
|
|
5
|
+
export type AttributeName = typeof AttributeName.Type;
|
|
6
|
+
export declare const AttributeComparison: S.Literal<["=="]>;
|
|
7
|
+
export type AttributeComparison = typeof AttributeComparison.Type;
|
|
8
|
+
export declare const AttributeValue: typeof S.Null;
|
|
9
|
+
export type AttributeValue = typeof AttributeValue.Type;
|
|
10
|
+
export type Filter = And | Or | ListMemberFilter | AttributeCompare | RegexMatches | RegexNegationMatches | ContentModerationBlock | EntityExcludesLabels | EmbedType;
|
|
11
|
+
export type And = Readonly<{
|
|
12
|
+
and: ReadonlyArray<Filter>;
|
|
13
|
+
}>;
|
|
14
|
+
export type Or = Readonly<{
|
|
15
|
+
or: ReadonlyArray<Filter>;
|
|
16
|
+
}>;
|
|
17
|
+
export type ListMemberFilter = Readonly<{
|
|
18
|
+
list_member: readonly [ListUri, "in" | "not_in"];
|
|
19
|
+
}>;
|
|
20
|
+
export type AttributeCompare = Readonly<{
|
|
21
|
+
attribute_compare: readonly [
|
|
22
|
+
AttributeName,
|
|
23
|
+
AttributeComparison,
|
|
24
|
+
AttributeValue
|
|
25
|
+
];
|
|
26
|
+
}>;
|
|
27
|
+
export type RegexMatches = Readonly<{
|
|
28
|
+
regex_matches: readonly [AttributeName, string, boolean];
|
|
29
|
+
}>;
|
|
30
|
+
export type RegexNegationMatches = Readonly<{
|
|
31
|
+
regex_negation_matches: readonly [AttributeName, string, boolean];
|
|
32
|
+
}>;
|
|
33
|
+
export type ContentModerationBlock = Readonly<{
|
|
34
|
+
content_moderation: readonly ["OK", ">=", number];
|
|
35
|
+
}>;
|
|
36
|
+
export type EntityExcludesLabels = Readonly<{
|
|
37
|
+
entity_excludes: readonly ["labels", readonly ["porn", "sexual", "nudity"]];
|
|
38
|
+
}>;
|
|
39
|
+
export type EmbedType = Readonly<{
|
|
40
|
+
embed_type: readonly [
|
|
41
|
+
"==" | "!=",
|
|
42
|
+
"video" | "image" | "link" | "post" | "gif" | "image_group"
|
|
43
|
+
];
|
|
44
|
+
}>;
|
|
45
|
+
export declare const Filter: S.Union<[S.suspend<Readonly<{
|
|
46
|
+
and: ReadonlyArray<Filter>;
|
|
47
|
+
}>, Readonly<{
|
|
48
|
+
and: ReadonlyArray<Filter>;
|
|
49
|
+
}>, never>, S.suspend<Readonly<{
|
|
50
|
+
or: ReadonlyArray<Filter>;
|
|
51
|
+
}>, Readonly<{
|
|
52
|
+
or: ReadonlyArray<Filter>;
|
|
53
|
+
}>, never>, S.suspend<Readonly<{
|
|
54
|
+
list_member: readonly [ListUri, "in" | "not_in"];
|
|
55
|
+
}>, Readonly<{
|
|
56
|
+
list_member: readonly [ListUri, "in" | "not_in"];
|
|
57
|
+
}>, never>, S.suspend<Readonly<{
|
|
58
|
+
attribute_compare: readonly [AttributeName, AttributeComparison, AttributeValue];
|
|
59
|
+
}>, Readonly<{
|
|
60
|
+
attribute_compare: readonly [AttributeName, AttributeComparison, AttributeValue];
|
|
61
|
+
}>, never>, S.suspend<Readonly<{
|
|
62
|
+
regex_matches: readonly [AttributeName, string, boolean];
|
|
63
|
+
}>, Readonly<{
|
|
64
|
+
regex_matches: readonly [AttributeName, string, boolean];
|
|
65
|
+
}>, never>, S.suspend<Readonly<{
|
|
66
|
+
regex_negation_matches: readonly [AttributeName, string, boolean];
|
|
67
|
+
}>, Readonly<{
|
|
68
|
+
regex_negation_matches: readonly [AttributeName, string, boolean];
|
|
69
|
+
}>, never>, S.suspend<Readonly<{
|
|
70
|
+
content_moderation: readonly ["OK", ">=", number];
|
|
71
|
+
}>, Readonly<{
|
|
72
|
+
content_moderation: readonly ["OK", ">=", number];
|
|
73
|
+
}>, never>, S.suspend<Readonly<{
|
|
74
|
+
entity_excludes: readonly ["labels", readonly ["porn", "sexual", "nudity"]];
|
|
75
|
+
}>, Readonly<{
|
|
76
|
+
entity_excludes: readonly ["labels", readonly ["porn", "sexual", "nudity"]];
|
|
77
|
+
}>, never>, S.suspend<Readonly<{
|
|
78
|
+
embed_type: readonly ["==" | "!=", "video" | "image" | "link" | "post" | "gif" | "image_group"];
|
|
79
|
+
}>, Readonly<{
|
|
80
|
+
embed_type: readonly ["==" | "!=", "video" | "image" | "link" | "post" | "gif" | "image_group"];
|
|
81
|
+
}>, never>]>;
|
|
82
|
+
export declare const Or: S.Struct<{
|
|
83
|
+
or: S.Array$<S.Union<[S.suspend<Readonly<{
|
|
84
|
+
and: ReadonlyArray<Filter>;
|
|
85
|
+
}>, Readonly<{
|
|
86
|
+
and: ReadonlyArray<Filter>;
|
|
87
|
+
}>, never>, S.suspend<Readonly<{
|
|
88
|
+
or: ReadonlyArray<Filter>;
|
|
89
|
+
}>, Readonly<{
|
|
90
|
+
or: ReadonlyArray<Filter>;
|
|
91
|
+
}>, never>, S.suspend<Readonly<{
|
|
92
|
+
list_member: readonly [ListUri, "in" | "not_in"];
|
|
93
|
+
}>, Readonly<{
|
|
94
|
+
list_member: readonly [ListUri, "in" | "not_in"];
|
|
95
|
+
}>, never>, S.suspend<Readonly<{
|
|
96
|
+
attribute_compare: readonly [AttributeName, AttributeComparison, AttributeValue];
|
|
97
|
+
}>, Readonly<{
|
|
98
|
+
attribute_compare: readonly [AttributeName, AttributeComparison, AttributeValue];
|
|
99
|
+
}>, never>, S.suspend<Readonly<{
|
|
100
|
+
regex_matches: readonly [AttributeName, string, boolean];
|
|
101
|
+
}>, Readonly<{
|
|
102
|
+
regex_matches: readonly [AttributeName, string, boolean];
|
|
103
|
+
}>, never>, S.suspend<Readonly<{
|
|
104
|
+
regex_negation_matches: readonly [AttributeName, string, boolean];
|
|
105
|
+
}>, Readonly<{
|
|
106
|
+
regex_negation_matches: readonly [AttributeName, string, boolean];
|
|
107
|
+
}>, never>, S.suspend<Readonly<{
|
|
108
|
+
content_moderation: readonly ["OK", ">=", number];
|
|
109
|
+
}>, Readonly<{
|
|
110
|
+
content_moderation: readonly ["OK", ">=", number];
|
|
111
|
+
}>, never>, S.suspend<Readonly<{
|
|
112
|
+
entity_excludes: readonly ["labels", readonly ["porn", "sexual", "nudity"]];
|
|
113
|
+
}>, Readonly<{
|
|
114
|
+
entity_excludes: readonly ["labels", readonly ["porn", "sexual", "nudity"]];
|
|
115
|
+
}>, never>, S.suspend<Readonly<{
|
|
116
|
+
embed_type: readonly ["==" | "!=", "video" | "image" | "link" | "post" | "gif" | "image_group"];
|
|
117
|
+
}>, Readonly<{
|
|
118
|
+
embed_type: readonly ["==" | "!=", "video" | "image" | "link" | "post" | "gif" | "image_group"];
|
|
119
|
+
}>, never>]>>;
|
|
120
|
+
}>;
|
|
121
|
+
export declare const And: S.Struct<{
|
|
122
|
+
and: S.Array$<S.Union<[S.suspend<Readonly<{
|
|
123
|
+
and: ReadonlyArray<Filter>;
|
|
124
|
+
}>, Readonly<{
|
|
125
|
+
and: ReadonlyArray<Filter>;
|
|
126
|
+
}>, never>, S.suspend<Readonly<{
|
|
127
|
+
or: ReadonlyArray<Filter>;
|
|
128
|
+
}>, Readonly<{
|
|
129
|
+
or: ReadonlyArray<Filter>;
|
|
130
|
+
}>, never>, S.suspend<Readonly<{
|
|
131
|
+
list_member: readonly [ListUri, "in" | "not_in"];
|
|
132
|
+
}>, Readonly<{
|
|
133
|
+
list_member: readonly [ListUri, "in" | "not_in"];
|
|
134
|
+
}>, never>, S.suspend<Readonly<{
|
|
135
|
+
attribute_compare: readonly [AttributeName, AttributeComparison, AttributeValue];
|
|
136
|
+
}>, Readonly<{
|
|
137
|
+
attribute_compare: readonly [AttributeName, AttributeComparison, AttributeValue];
|
|
138
|
+
}>, never>, S.suspend<Readonly<{
|
|
139
|
+
regex_matches: readonly [AttributeName, string, boolean];
|
|
140
|
+
}>, Readonly<{
|
|
141
|
+
regex_matches: readonly [AttributeName, string, boolean];
|
|
142
|
+
}>, never>, S.suspend<Readonly<{
|
|
143
|
+
regex_negation_matches: readonly [AttributeName, string, boolean];
|
|
144
|
+
}>, Readonly<{
|
|
145
|
+
regex_negation_matches: readonly [AttributeName, string, boolean];
|
|
146
|
+
}>, never>, S.suspend<Readonly<{
|
|
147
|
+
content_moderation: readonly ["OK", ">=", number];
|
|
148
|
+
}>, Readonly<{
|
|
149
|
+
content_moderation: readonly ["OK", ">=", number];
|
|
150
|
+
}>, never>, S.suspend<Readonly<{
|
|
151
|
+
entity_excludes: readonly ["labels", readonly ["porn", "sexual", "nudity"]];
|
|
152
|
+
}>, Readonly<{
|
|
153
|
+
entity_excludes: readonly ["labels", readonly ["porn", "sexual", "nudity"]];
|
|
154
|
+
}>, never>, S.suspend<Readonly<{
|
|
155
|
+
embed_type: readonly ["==" | "!=", "video" | "image" | "link" | "post" | "gif" | "image_group"];
|
|
156
|
+
}>, Readonly<{
|
|
157
|
+
embed_type: readonly ["==" | "!=", "video" | "image" | "link" | "post" | "gif" | "image_group"];
|
|
158
|
+
}>, never>]>>;
|
|
159
|
+
}>;
|
|
160
|
+
export declare const ListMemberFilter: S.Struct<{
|
|
161
|
+
list_member: S.Tuple<[typeof S.String, S.Literal<["in", "not_in"]>]>;
|
|
162
|
+
}>;
|
|
163
|
+
export declare const AttributeCompare: S.Struct<{
|
|
164
|
+
attribute_compare: S.Tuple<[S.Union<[S.Literal<["text"]>, S.Literal<["reply"]>, S.Literal<["embed.images[*].alt"]>, S.Literal<["embed.alt"]>, S.Literal<["embed"]>, S.Literal<["embed.external.uri"]>, S.Literal<["embed.external.title"]>, S.Literal<["embed.external.description"]>]>, S.Literal<["=="]>, typeof S.Null]>;
|
|
165
|
+
}>;
|
|
166
|
+
export declare const RegexMatches: S.Struct<{
|
|
167
|
+
regex_matches: S.Tuple<[S.Union<[S.Literal<["text"]>, S.Literal<["reply"]>, S.Literal<["embed.images[*].alt"]>, S.Literal<["embed.alt"]>, S.Literal<["embed"]>, S.Literal<["embed.external.uri"]>, S.Literal<["embed.external.title"]>, S.Literal<["embed.external.description"]>]>, S.SchemaClass<string, string, never>, S.SchemaClass<boolean, boolean, never>]>;
|
|
168
|
+
}>;
|
|
169
|
+
export declare const RegexNegationMatches: S.Struct<{
|
|
170
|
+
regex_negation_matches: S.Tuple<[S.Union<[S.Literal<["text"]>, S.Literal<["reply"]>, S.Literal<["embed.images[*].alt"]>, S.Literal<["embed.alt"]>, S.Literal<["embed"]>, S.Literal<["embed.external.uri"]>, S.Literal<["embed.external.title"]>, S.Literal<["embed.external.description"]>]>, S.SchemaClass<string, string, never>, S.SchemaClass<boolean, boolean, never>]>;
|
|
171
|
+
}>;
|
|
172
|
+
export declare const ContentModerationBlock: S.Struct<{
|
|
173
|
+
content_moderation: S.Tuple<[S.Literal<["OK"]>, S.Literal<[">="]>, S.SchemaClass<number, number, never>]>;
|
|
174
|
+
}>;
|
|
175
|
+
export declare const EntityExcludesLabels: S.Struct<{
|
|
176
|
+
entity_excludes: S.Tuple<[S.Literal<["labels"]>, S.Tuple<[S.Literal<["porn"]>, S.Literal<["sexual"]>, S.Literal<["nudity"]>]>]>;
|
|
177
|
+
}>;
|
|
178
|
+
export declare const EmbedType: S.Struct<{
|
|
179
|
+
embed_type: S.Tuple<[S.Literal<["==", "!="]>, S.Literal<["video", "image", "link", "post", "gif", "image_group"]>]>;
|
|
180
|
+
}>;
|
|
181
|
+
export declare const SortSettings: S.Struct<{
|
|
182
|
+
time_window: typeof S.Number;
|
|
183
|
+
decay_penalty: typeof S.Number;
|
|
184
|
+
like_count_multiplier: typeof S.Number;
|
|
185
|
+
reply_count_multiplier: typeof S.Number;
|
|
186
|
+
repost_count_multiplier: typeof S.Number;
|
|
187
|
+
reader_like_count_multiplier: typeof S.Number;
|
|
188
|
+
reader_reply_count_multiplier: typeof S.Number;
|
|
189
|
+
reader_repost_count_multiplier: typeof S.Number;
|
|
190
|
+
}>;
|
|
191
|
+
export type SortSettings = typeof SortSettings.Type;
|
|
192
|
+
export declare const DisplayName: S.SchemaClass<string, string, never>;
|
|
193
|
+
export type DisplayName = typeof DisplayName.Type;
|
|
194
|
+
export declare const RecordName: S.SchemaClass<string, string, never>;
|
|
195
|
+
export type RecordName = typeof RecordName.Type;
|
|
196
|
+
export declare const Description: S.SchemaClass<string, string, never>;
|
|
197
|
+
export type Description = typeof Description.Type;
|
|
198
|
+
export declare const Order: S.Union<[S.Literal<["new"]>, S.Literal<["trending"]>, S.Literal<["blend"]>]>;
|
|
199
|
+
export type Order = typeof Order.Type;
|
|
200
|
+
export declare const FeedId: typeof S.NumberFromString;
|
|
201
|
+
export type FeedId = typeof FeedId.Type;
|
|
202
|
+
export declare const UserId: typeof S.NumberFromString;
|
|
203
|
+
export type UserId = typeof UserId.Type;
|
|
204
|
+
export declare const AlgorithmManifest: S.Struct<{
|
|
205
|
+
filter: S.Union<[S.suspend<Readonly<{
|
|
206
|
+
and: ReadonlyArray<Filter>;
|
|
207
|
+
}>, Readonly<{
|
|
208
|
+
and: ReadonlyArray<Filter>;
|
|
209
|
+
}>, never>, S.suspend<Readonly<{
|
|
210
|
+
or: ReadonlyArray<Filter>;
|
|
211
|
+
}>, Readonly<{
|
|
212
|
+
or: ReadonlyArray<Filter>;
|
|
213
|
+
}>, never>, S.suspend<Readonly<{
|
|
214
|
+
list_member: readonly [ListUri, "in" | "not_in"];
|
|
215
|
+
}>, Readonly<{
|
|
216
|
+
list_member: readonly [ListUri, "in" | "not_in"];
|
|
217
|
+
}>, never>, S.suspend<Readonly<{
|
|
218
|
+
attribute_compare: readonly [AttributeName, AttributeComparison, AttributeValue];
|
|
219
|
+
}>, Readonly<{
|
|
220
|
+
attribute_compare: readonly [AttributeName, AttributeComparison, AttributeValue];
|
|
221
|
+
}>, never>, S.suspend<Readonly<{
|
|
222
|
+
regex_matches: readonly [AttributeName, string, boolean];
|
|
223
|
+
}>, Readonly<{
|
|
224
|
+
regex_matches: readonly [AttributeName, string, boolean];
|
|
225
|
+
}>, never>, S.suspend<Readonly<{
|
|
226
|
+
regex_negation_matches: readonly [AttributeName, string, boolean];
|
|
227
|
+
}>, Readonly<{
|
|
228
|
+
regex_negation_matches: readonly [AttributeName, string, boolean];
|
|
229
|
+
}>, never>, S.suspend<Readonly<{
|
|
230
|
+
content_moderation: readonly ["OK", ">=", number];
|
|
231
|
+
}>, Readonly<{
|
|
232
|
+
content_moderation: readonly ["OK", ">=", number];
|
|
233
|
+
}>, never>, S.suspend<Readonly<{
|
|
234
|
+
entity_excludes: readonly ["labels", readonly ["porn", "sexual", "nudity"]];
|
|
235
|
+
}>, Readonly<{
|
|
236
|
+
entity_excludes: readonly ["labels", readonly ["porn", "sexual", "nudity"]];
|
|
237
|
+
}>, never>, S.suspend<Readonly<{
|
|
238
|
+
embed_type: readonly ["==" | "!=", "video" | "image" | "link" | "post" | "gif" | "image_group"];
|
|
239
|
+
}>, Readonly<{
|
|
240
|
+
embed_type: readonly ["==" | "!=", "video" | "image" | "link" | "post" | "gif" | "image_group"];
|
|
241
|
+
}>, never>]>;
|
|
242
|
+
sort_settings: S.optional<S.Struct<{
|
|
243
|
+
time_window: typeof S.Number;
|
|
244
|
+
decay_penalty: typeof S.Number;
|
|
245
|
+
like_count_multiplier: typeof S.Number;
|
|
246
|
+
reply_count_multiplier: typeof S.Number;
|
|
247
|
+
repost_count_multiplier: typeof S.Number;
|
|
248
|
+
reader_like_count_multiplier: typeof S.Number;
|
|
249
|
+
reader_reply_count_multiplier: typeof S.Number;
|
|
250
|
+
reader_repost_count_multiplier: typeof S.Number;
|
|
251
|
+
}>>;
|
|
252
|
+
}>;
|
|
253
|
+
export type AlgorithmManifest = typeof AlgorithmManifest.Type;
|
|
254
|
+
export declare const Metadata: S.Struct<{
|
|
255
|
+
document: S.optional<typeof S.Unknown>;
|
|
256
|
+
schema: S.optional<S.Struct<{
|
|
257
|
+
schemaVersion: S.Literal<[2]>;
|
|
258
|
+
sequences: S.Record$<typeof S.String, typeof S.Number>;
|
|
259
|
+
}>>;
|
|
260
|
+
session: S.optional<typeof S.Unknown>;
|
|
261
|
+
}>;
|
|
262
|
+
export type Metadata = typeof Metadata.Type;
|
|
263
|
+
export declare const FullForm: S.Struct<{
|
|
264
|
+
id: typeof S.NumberFromString;
|
|
265
|
+
user_id: typeof S.NumberFromString;
|
|
266
|
+
file: S.optional<typeof S.Unknown>;
|
|
267
|
+
display_name: S.SchemaClass<string, string, never>;
|
|
268
|
+
record_name: S.SchemaClass<string, string, never>;
|
|
269
|
+
description: S.optional<S.SchemaClass<string, string, never>>;
|
|
270
|
+
order: S.Union<[S.Literal<["new"]>, S.Literal<["trending"]>, S.Literal<["blend"]>]>;
|
|
271
|
+
algorithm_manifest: S.SchemaClass<{
|
|
272
|
+
readonly filter: Readonly<{
|
|
273
|
+
and: ReadonlyArray<Filter>;
|
|
274
|
+
}> | Readonly<{
|
|
275
|
+
or: ReadonlyArray<Filter>;
|
|
276
|
+
}> | Readonly<{
|
|
277
|
+
list_member: readonly [ListUri, "in" | "not_in"];
|
|
278
|
+
}> | Readonly<{
|
|
279
|
+
attribute_compare: readonly [AttributeName, AttributeComparison, AttributeValue];
|
|
280
|
+
}> | Readonly<{
|
|
281
|
+
regex_matches: readonly [AttributeName, string, boolean];
|
|
282
|
+
}> | Readonly<{
|
|
283
|
+
regex_negation_matches: readonly [AttributeName, string, boolean];
|
|
284
|
+
}> | Readonly<{
|
|
285
|
+
content_moderation: readonly ["OK", ">=", number];
|
|
286
|
+
}> | Readonly<{
|
|
287
|
+
entity_excludes: readonly ["labels", readonly ["porn", "sexual", "nudity"]];
|
|
288
|
+
}> | Readonly<{
|
|
289
|
+
embed_type: readonly ["==" | "!=", "video" | "image" | "link" | "post" | "gif" | "image_group"];
|
|
290
|
+
}>;
|
|
291
|
+
readonly sort_settings?: {
|
|
292
|
+
readonly time_window: number;
|
|
293
|
+
readonly decay_penalty: number;
|
|
294
|
+
readonly like_count_multiplier: number;
|
|
295
|
+
readonly reply_count_multiplier: number;
|
|
296
|
+
readonly repost_count_multiplier: number;
|
|
297
|
+
readonly reader_like_count_multiplier: number;
|
|
298
|
+
readonly reader_reply_count_multiplier: number;
|
|
299
|
+
readonly reader_repost_count_multiplier: number;
|
|
300
|
+
} | undefined;
|
|
301
|
+
}, string, never>;
|
|
302
|
+
metadata: S.optional<S.SchemaClass<{
|
|
303
|
+
readonly document?: unknown;
|
|
304
|
+
readonly schema?: {
|
|
305
|
+
readonly schemaVersion: 2;
|
|
306
|
+
readonly sequences: {
|
|
307
|
+
readonly [x: string]: number;
|
|
308
|
+
};
|
|
309
|
+
} | undefined;
|
|
310
|
+
readonly session?: unknown;
|
|
311
|
+
}, string, never>>;
|
|
312
|
+
}>;
|
|
313
|
+
export type FullForm = typeof FullForm.Type;
|
|
314
|
+
export type EncodedFullForm = typeof FullForm.Encoded;
|
|
315
|
+
/**
|
|
316
|
+
* Actual structure of FormData
|
|
317
|
+
*
|
|
318
|
+
* display_name
|
|
319
|
+
* record_name
|
|
320
|
+
* description
|
|
321
|
+
* order
|
|
322
|
+
* algorithm_manifest
|
|
323
|
+
* metadata
|
|
324
|
+
* id
|
|
325
|
+
* user_id
|
|
326
|
+
* session_cookie
|
|
327
|
+
*/
|
|
328
|
+
//# sourceMappingURL=UpdateAlgorithmPayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateAlgorithmPayload.d.ts","sourceRoot":"","sources":["../../../src/schema/UpdateAlgorithmPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;AAIrC,eAAO,MAAM,OAAO,iBAAW,CAAC;AAChC,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC,IAAI,CAAC;AAE1C,eAAO,MAAM,aAAa,6PASzB,CAAC;AACF,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC,IAAI,CAAC;AACtD,eAAO,MAAM,mBAAmB,mBAAkB,CAAC;AACnD,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAClE,eAAO,MAAM,cAAc,eAAS,CAAC;AACrC,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC,IAAI,CAAC;AAIxD,MAAM,MAAM,MAAM,GACd,GAAG,GACH,EAAE,GACF,gBAAgB,GAChB,gBAAgB,G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