@proposit/shared 0.29.0 → 0.31.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.
- package/dist/api-client/argument/batch.d.ts +10 -4
- package/dist/api-client/argument/batch.d.ts.map +1 -1
- package/dist/api-client/argument/claim-reactions.d.ts +1 -1
- package/dist/api-client/argument/claim-reactions.d.ts.map +1 -1
- package/dist/api-client/argument/claim-reactions.js +2 -2
- package/dist/api-client/argument/claim-reactions.js.map +1 -1
- package/dist/api-client/argument/index.d.ts +70 -28
- package/dist/api-client/argument/index.d.ts.map +1 -1
- package/dist/api-client/argument/logic/index.d.ts +10 -4
- package/dist/api-client/argument/logic/index.d.ts.map +1 -1
- package/dist/api-client/argument/logic/repair.d.ts +5 -2
- package/dist/api-client/argument/logic/repair.d.ts.map +1 -1
- package/dist/api-client/user/delete-user.d.ts +1 -0
- package/dist/api-client/user/delete-user.d.ts.map +1 -1
- package/dist/fixtures/argument-yaml/digest.d.ts +3 -0
- package/dist/fixtures/argument-yaml/digest.d.ts.map +1 -0
- package/dist/fixtures/argument-yaml/digest.js +40 -0
- package/dist/fixtures/argument-yaml/digest.js.map +1 -0
- package/dist/fixtures/argument-yaml/index.d.ts +6 -0
- package/dist/fixtures/argument-yaml/index.d.ts.map +1 -0
- package/dist/fixtures/argument-yaml/index.js +9 -0
- package/dist/fixtures/argument-yaml/index.js.map +1 -0
- package/dist/fixtures/argument-yaml/lower.d.ts +13 -0
- package/dist/fixtures/argument-yaml/lower.d.ts.map +1 -0
- package/dist/fixtures/argument-yaml/lower.js +141 -0
- package/dist/fixtures/argument-yaml/lower.js.map +1 -0
- package/dist/fixtures/argument-yaml/schema.d.ts +74 -0
- package/dist/fixtures/argument-yaml/schema.d.ts.map +1 -0
- package/dist/fixtures/argument-yaml/schema.js +70 -0
- package/dist/fixtures/argument-yaml/schema.js.map +1 -0
- package/dist/fixtures/argument-yaml/serialize.d.ts +4 -0
- package/dist/fixtures/argument-yaml/serialize.d.ts.map +1 -0
- package/dist/fixtures/argument-yaml/serialize.js +31 -0
- package/dist/fixtures/argument-yaml/serialize.js.map +1 -0
- package/dist/fixtures/argument-yaml/sha256.d.ts +2 -0
- package/dist/fixtures/argument-yaml/sha256.d.ts.map +1 -0
- package/dist/fixtures/argument-yaml/sha256.js +122 -0
- package/dist/fixtures/argument-yaml/sha256.js.map +1 -0
- package/dist/fixtures/curated-argument/index.d.ts +35 -0
- package/dist/fixtures/curated-argument/index.d.ts.map +1 -0
- package/dist/fixtures/curated-argument/index.js +51 -0
- package/dist/fixtures/curated-argument/index.js.map +1 -0
- package/dist/fixtures/historical-figures/content.generated.d.ts +6 -0
- package/dist/fixtures/historical-figures/content.generated.d.ts.map +1 -0
- package/dist/fixtures/historical-figures/content.generated.js +654 -0
- package/dist/fixtures/historical-figures/content.generated.js.map +1 -0
- package/dist/fixtures/historical-figures/index.d.ts +29 -0
- package/dist/fixtures/historical-figures/index.d.ts.map +1 -0
- package/dist/fixtures/historical-figures/index.js +49 -0
- package/dist/fixtures/historical-figures/index.js.map +1 -0
- package/dist/schemas/api/argument/batch/change-edge-operator.d.ts +5 -2
- package/dist/schemas/api/argument/batch/change-edge-operator.d.ts.map +1 -1
- package/dist/schemas/api/argument/batch/create-expression-with-operator.d.ts +5 -2
- package/dist/schemas/api/argument/batch/create-expression-with-operator.d.ts.map +1 -1
- package/dist/schemas/api/argument/index.d.ts +35 -14
- package/dist/schemas/api/argument/index.d.ts.map +1 -1
- package/dist/schemas/api/argument/repair.d.ts +5 -2
- package/dist/schemas/api/argument/repair.d.ts.map +1 -1
- package/dist/schemas/integrations/index.d.ts +9 -0
- package/dist/schemas/integrations/index.d.ts.map +1 -1
- package/dist/schemas/integrations/index.js +27 -0
- package/dist/schemas/integrations/index.js.map +1 -1
- package/dist/schemas/model/arguments.d.ts +10 -4
- package/dist/schemas/model/arguments.d.ts.map +1 -1
- package/dist/schemas/model/arguments.js +3 -3
- package/dist/schemas/model/arguments.js.map +1 -1
- package/dist/schemas/model/users.d.ts +1 -0
- package/dist/schemas/model/users.d.ts.map +1 -1
- package/dist/schemas/model/users.js +4 -0
- package/dist/schemas/model/users.js.map +1 -1
- package/dist/schemas/snapshot.d.ts +5 -2
- package/dist/schemas/snapshot.d.ts.map +1 -1
- package/package.json +21 -3
|
@@ -646,8 +646,8 @@ export declare function createExpressionWithOperatorImpl(config: TApiClientConfi
|
|
|
646
646
|
version: import("typebox").TNumber;
|
|
647
647
|
titleContentHash: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
648
648
|
popularity: import("typebox").TNumber;
|
|
649
|
-
platform: import("typebox").TUnion<[import("typebox").TLiteral<"twitter">, import("typebox").TLiteral<"reddit">, import("typebox").TLiteral<"raw_text">, import("typebox").TLiteral<"manual">]>;
|
|
650
|
-
platformData: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TObject<{
|
|
649
|
+
platform: import("typebox").TUnion<[import("typebox").TLiteral<"twitter">, import("typebox").TLiteral<"reddit">, import("typebox").TLiteral<"raw_text">, import("typebox").TLiteral<"manual">, import("typebox").TLiteral<"curated">]>;
|
|
650
|
+
platformData: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TObject<{
|
|
651
651
|
argumentTitle: import("typebox").TOptional<import("typebox").TString>;
|
|
652
652
|
textContent: import("typebox").TString;
|
|
653
653
|
postUrl: import("typebox").TString;
|
|
@@ -677,6 +677,9 @@ export declare function createExpressionWithOperatorImpl(config: TApiClientConfi
|
|
|
677
677
|
}>, import("typebox").TObject<{
|
|
678
678
|
argumentTitle: import("typebox").TString;
|
|
679
679
|
textContent: import("typebox").TNull;
|
|
680
|
+
}>]>, import("typebox").TObject<{
|
|
681
|
+
curationId: import("typebox").TString;
|
|
682
|
+
contentDigest: import("typebox").TOptional<import("typebox").TString>;
|
|
680
683
|
}>]>, import("typebox").TNull]>;
|
|
681
684
|
platformUsername: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
682
685
|
}>, import("typebox").TObject<{
|
|
@@ -930,8 +933,8 @@ export declare function changeEdgeOperatorImpl(config: TApiClientConfig, argumen
|
|
|
930
933
|
version: import("typebox").TNumber;
|
|
931
934
|
titleContentHash: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
932
935
|
popularity: import("typebox").TNumber;
|
|
933
|
-
platform: import("typebox").TUnion<[import("typebox").TLiteral<"twitter">, import("typebox").TLiteral<"reddit">, import("typebox").TLiteral<"raw_text">, import("typebox").TLiteral<"manual">]>;
|
|
934
|
-
platformData: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TObject<{
|
|
936
|
+
platform: import("typebox").TUnion<[import("typebox").TLiteral<"twitter">, import("typebox").TLiteral<"reddit">, import("typebox").TLiteral<"raw_text">, import("typebox").TLiteral<"manual">, import("typebox").TLiteral<"curated">]>;
|
|
937
|
+
platformData: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TObject<{
|
|
935
938
|
argumentTitle: import("typebox").TOptional<import("typebox").TString>;
|
|
936
939
|
textContent: import("typebox").TString;
|
|
937
940
|
postUrl: import("typebox").TString;
|
|
@@ -961,6 +964,9 @@ export declare function changeEdgeOperatorImpl(config: TApiClientConfig, argumen
|
|
|
961
964
|
}>, import("typebox").TObject<{
|
|
962
965
|
argumentTitle: import("typebox").TString;
|
|
963
966
|
textContent: import("typebox").TNull;
|
|
967
|
+
}>]>, import("typebox").TObject<{
|
|
968
|
+
curationId: import("typebox").TString;
|
|
969
|
+
contentDigest: import("typebox").TOptional<import("typebox").TString>;
|
|
964
970
|
}>]>, import("typebox").TNull]>;
|
|
965
971
|
platformUsername: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
966
972
|
}>, import("typebox").TObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch.d.ts","sourceRoot":"","sources":["../../../src/api-client/argument/batch.ts"],"names":[],"mappings":"AACA,OAAO,EAGH,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAW7C;AAED,wBAAsB,sBAAsB,CACxC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM,EACvB,IAAI,EAAE,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAWnC"}
|
|
@@ -31,7 +31,7 @@ export declare function createClaimReactionImpl(config: TApiClientConfig, argume
|
|
|
31
31
|
createdOn: import("../../schemas/common.js").TDateType;
|
|
32
32
|
}>;
|
|
33
33
|
}>>>;
|
|
34
|
-
export declare function deleteClaimReactionImpl(config: TApiClientConfig, argumentId: string, version: number, claimId: string
|
|
34
|
+
export declare function deleteClaimReactionImpl(config: TApiClientConfig, argumentId: string, version: number, claimId: string): Promise<import("../../schemas/common.js").ParsedError<import("typebox").TObject<{
|
|
35
35
|
errorID: import("typebox").TNumber;
|
|
36
36
|
errorMessage: import("typebox").TString;
|
|
37
37
|
statusCode: import("typebox").TNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claim-reactions.d.ts","sourceRoot":"","sources":["../../../src/api-client/argument/claim-reactions.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,2BAA2B,EACnC,MAAM,2CAA2C,CAAA;AAElD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAGpD,wBAAsB,uBAAuB,CACzC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAWpC;AAED,wBAAsB,uBAAuB,CACzC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"claim-reactions.d.ts","sourceRoot":"","sources":["../../../src/api-client/argument/claim-reactions.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,2BAA2B,EACnC,MAAM,2CAA2C,CAAA;AAElD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAGpD,wBAAsB,uBAAuB,CACzC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAWpC;AAED,wBAAsB,uBAAuB,CACzC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAUlB"}
|
|
@@ -5,8 +5,8 @@ export async function createClaimReactionImpl(config, argumentId, version, claim
|
|
|
5
5
|
const baseUrl = resolveBaseUrl(config);
|
|
6
6
|
return await strictFetch(`${baseUrl}/api/v1/argument/${argumentId}/${version}/claim/${claimId}/reactions`, { method: "POST" }, data, ClaimReactionCreateRequest, ClaimReactionCreateResponse, config.fetchImpl);
|
|
7
7
|
}
|
|
8
|
-
export async function deleteClaimReactionImpl(config, argumentId, version, claimId
|
|
8
|
+
export async function deleteClaimReactionImpl(config, argumentId, version, claimId) {
|
|
9
9
|
const baseUrl = resolveBaseUrl(config);
|
|
10
|
-
return await parseResponse(await config.fetchImpl(`${baseUrl}/api/v1/argument/${argumentId}/${version}/claim/${claimId}/reactions
|
|
10
|
+
return await parseResponse(await config.fetchImpl(`${baseUrl}/api/v1/argument/${argumentId}/${version}/claim/${claimId}/reactions`, { method: "DELETE" }), ClaimReactionDeleteResponse);
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=claim-reactions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claim-reactions.js","sourceRoot":"","sources":["../../../src/api-client/argument/claim-reactions.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,0BAA0B,EAC1B,2BAA2B,EAC3B,2BAA2B,GAE9B,MAAM,2CAA2C,CAAA;AAClD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEjE,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE/C,MAAM,CAAC,KAAK,UAAU,uBAAuB,CACzC,MAAwB,EACxB,UAAkB,EAClB,OAAe,EACf,OAAe,EACf,IAAiC;IAEjC,MAAM,OAAO,GAAG,cAAc,CAAC,MAAM,CAAC,CAAA;IACtC,OAAO,MAAM,WAAW,CACpB,GAAG,OAAO,oBAAoB,UAAU,IAAI,OAAO,UAAU,OAAO,YAAY,EAChF,EAAE,MAAM,EAAE,MAAM,EAAE,EAClB,IAAI,EACJ,0BAA0B,EAC1B,2BAA2B,EAC3B,MAAM,CAAC,SAAS,CACnB,CAAA;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,uBAAuB,CACzC,MAAwB,EACxB,UAAkB,EAClB,OAAe,EACf,OAAe
|
|
1
|
+
{"version":3,"file":"claim-reactions.js","sourceRoot":"","sources":["../../../src/api-client/argument/claim-reactions.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,0BAA0B,EAC1B,2BAA2B,EAC3B,2BAA2B,GAE9B,MAAM,2CAA2C,CAAA;AAClD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEjE,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE/C,MAAM,CAAC,KAAK,UAAU,uBAAuB,CACzC,MAAwB,EACxB,UAAkB,EAClB,OAAe,EACf,OAAe,EACf,IAAiC;IAEjC,MAAM,OAAO,GAAG,cAAc,CAAC,MAAM,CAAC,CAAA;IACtC,OAAO,MAAM,WAAW,CACpB,GAAG,OAAO,oBAAoB,UAAU,IAAI,OAAO,UAAU,OAAO,YAAY,EAChF,EAAE,MAAM,EAAE,MAAM,EAAE,EAClB,IAAI,EACJ,0BAA0B,EAC1B,2BAA2B,EAC3B,MAAM,CAAC,SAAS,CACnB,CAAA;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,uBAAuB,CACzC,MAAwB,EACxB,UAAkB,EAClB,OAAe,EACf,OAAe;IAEf,MAAM,OAAO,GAAG,cAAc,CAAC,MAAM,CAAC,CAAA;IACtC,OAAO,MAAM,aAAa,CACtB,MAAM,MAAM,CAAC,SAAS,CAClB,GAAG,OAAO,oBAAoB,UAAU,IAAI,OAAO,UAAU,OAAO,YAAY,EAChF,EAAE,MAAM,EAAE,QAAQ,EAAE,CACvB,EACD,2BAA2B,CAC9B,CAAA;AACL,CAAC"}
|
|
@@ -34,8 +34,8 @@ export declare function getArgumentImpl(config: TApiClientConfig, argumentId: st
|
|
|
34
34
|
forkId: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
35
35
|
digest: Type.TString;
|
|
36
36
|
popularity: Type.TNumber;
|
|
37
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
38
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
37
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
38
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
39
39
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
40
40
|
textContent: Type.TString;
|
|
41
41
|
postUrl: Type.TString;
|
|
@@ -65,6 +65,9 @@ export declare function getArgumentImpl(config: TApiClientConfig, argumentId: st
|
|
|
65
65
|
}>, Type.TObject<{
|
|
66
66
|
argumentTitle: Type.TString;
|
|
67
67
|
textContent: Type.TNull;
|
|
68
|
+
}>]>, Type.TObject<{
|
|
69
|
+
curationId: Type.TString;
|
|
70
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
68
71
|
}>]>, Type.TNull]>;
|
|
69
72
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
70
73
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
@@ -104,8 +107,8 @@ export declare function publishArgumentImpl(config: TApiClientConfig, argumentId
|
|
|
104
107
|
forkId: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
105
108
|
digest: Type.TString;
|
|
106
109
|
popularity: Type.TNumber;
|
|
107
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
108
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
110
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
111
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
109
112
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
110
113
|
textContent: Type.TString;
|
|
111
114
|
postUrl: Type.TString;
|
|
@@ -135,6 +138,9 @@ export declare function publishArgumentImpl(config: TApiClientConfig, argumentId
|
|
|
135
138
|
}>, Type.TObject<{
|
|
136
139
|
argumentTitle: Type.TString;
|
|
137
140
|
textContent: Type.TNull;
|
|
141
|
+
}>]>, Type.TObject<{
|
|
142
|
+
curationId: Type.TString;
|
|
143
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
138
144
|
}>]>, Type.TNull]>;
|
|
139
145
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
140
146
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
@@ -155,8 +161,8 @@ export declare function publishArgumentImpl(config: TApiClientConfig, argumentId
|
|
|
155
161
|
forkId: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
156
162
|
digest: Type.TString;
|
|
157
163
|
popularity: Type.TNumber;
|
|
158
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
159
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
164
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
165
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
160
166
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
161
167
|
textContent: Type.TString;
|
|
162
168
|
postUrl: Type.TString;
|
|
@@ -186,6 +192,9 @@ export declare function publishArgumentImpl(config: TApiClientConfig, argumentId
|
|
|
186
192
|
}>, Type.TObject<{
|
|
187
193
|
argumentTitle: Type.TString;
|
|
188
194
|
textContent: Type.TNull;
|
|
195
|
+
}>]>, Type.TObject<{
|
|
196
|
+
curationId: Type.TString;
|
|
197
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
189
198
|
}>]>, Type.TNull]>;
|
|
190
199
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
191
200
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
@@ -225,8 +234,8 @@ export declare function resetArgumentImpl(config: TApiClientConfig, argumentId:
|
|
|
225
234
|
forkId: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
226
235
|
digest: Type.TString;
|
|
227
236
|
popularity: Type.TNumber;
|
|
228
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
229
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
237
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
238
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
230
239
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
231
240
|
textContent: Type.TString;
|
|
232
241
|
postUrl: Type.TString;
|
|
@@ -256,6 +265,9 @@ export declare function resetArgumentImpl(config: TApiClientConfig, argumentId:
|
|
|
256
265
|
}>, Type.TObject<{
|
|
257
266
|
argumentTitle: Type.TString;
|
|
258
267
|
textContent: Type.TNull;
|
|
268
|
+
}>]>, Type.TObject<{
|
|
269
|
+
curationId: Type.TString;
|
|
270
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
259
271
|
}>]>, Type.TNull]>;
|
|
260
272
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
261
273
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
@@ -336,8 +348,8 @@ export declare function forkArgumentImpl(config: TApiClientConfig, argumentId: s
|
|
|
336
348
|
forkId: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
337
349
|
digest: Type.TString;
|
|
338
350
|
popularity: Type.TNumber;
|
|
339
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
340
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
351
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
352
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
341
353
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
342
354
|
textContent: Type.TString;
|
|
343
355
|
postUrl: Type.TString;
|
|
@@ -367,6 +379,9 @@ export declare function forkArgumentImpl(config: TApiClientConfig, argumentId: s
|
|
|
367
379
|
}>, Type.TObject<{
|
|
368
380
|
argumentTitle: Type.TString;
|
|
369
381
|
textContent: Type.TNull;
|
|
382
|
+
}>]>, Type.TObject<{
|
|
383
|
+
curationId: Type.TString;
|
|
384
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
370
385
|
}>]>, Type.TNull]>;
|
|
371
386
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
372
387
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
@@ -2160,8 +2175,8 @@ export declare function getArgumentForksImpl(config: TApiClientConfig, argumentI
|
|
|
2160
2175
|
forkId: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
2161
2176
|
digest: Type.TString;
|
|
2162
2177
|
popularity: Type.TNumber;
|
|
2163
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
2164
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
2178
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
2179
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
2165
2180
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
2166
2181
|
textContent: Type.TString;
|
|
2167
2182
|
postUrl: Type.TString;
|
|
@@ -2191,6 +2206,9 @@ export declare function getArgumentForksImpl(config: TApiClientConfig, argumentI
|
|
|
2191
2206
|
}>, Type.TObject<{
|
|
2192
2207
|
argumentTitle: Type.TString;
|
|
2193
2208
|
textContent: Type.TNull;
|
|
2209
|
+
}>]>, Type.TObject<{
|
|
2210
|
+
curationId: Type.TString;
|
|
2211
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
2194
2212
|
}>]>, Type.TNull]>;
|
|
2195
2213
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
2196
2214
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
@@ -2240,8 +2258,8 @@ export declare function getAllArgumentsImpl(config: TApiClientConfig, params?: G
|
|
|
2240
2258
|
forkId: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
2241
2259
|
digest: Type.TString;
|
|
2242
2260
|
popularity: Type.TNumber;
|
|
2243
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
2244
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
2261
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
2262
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
2245
2263
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
2246
2264
|
textContent: Type.TString;
|
|
2247
2265
|
postUrl: Type.TString;
|
|
@@ -2271,6 +2289,9 @@ export declare function getAllArgumentsImpl(config: TApiClientConfig, params?: G
|
|
|
2271
2289
|
}>, Type.TObject<{
|
|
2272
2290
|
argumentTitle: Type.TString;
|
|
2273
2291
|
textContent: Type.TNull;
|
|
2292
|
+
}>]>, Type.TObject<{
|
|
2293
|
+
curationId: Type.TString;
|
|
2294
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
2274
2295
|
}>]>, Type.TNull]>;
|
|
2275
2296
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
2276
2297
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
@@ -2312,8 +2333,8 @@ export declare function createArgumentImpl(config: TApiClientConfig, data: TCrea
|
|
|
2312
2333
|
forkId: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
2313
2334
|
digest: Type.TString;
|
|
2314
2335
|
popularity: Type.TNumber;
|
|
2315
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
2316
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
2336
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
2337
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
2317
2338
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
2318
2339
|
textContent: Type.TString;
|
|
2319
2340
|
postUrl: Type.TString;
|
|
@@ -2343,6 +2364,9 @@ export declare function createArgumentImpl(config: TApiClientConfig, data: TCrea
|
|
|
2343
2364
|
}>, Type.TObject<{
|
|
2344
2365
|
argumentTitle: Type.TString;
|
|
2345
2366
|
textContent: Type.TNull;
|
|
2367
|
+
}>]>, Type.TObject<{
|
|
2368
|
+
curationId: Type.TString;
|
|
2369
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
2346
2370
|
}>]>, Type.TNull]>;
|
|
2347
2371
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
2348
2372
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
@@ -2381,8 +2405,8 @@ export declare function getLatestArgumentImpl(config: TApiClientConfig, argument
|
|
|
2381
2405
|
forkId: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
2382
2406
|
digest: Type.TString;
|
|
2383
2407
|
popularity: Type.TNumber;
|
|
2384
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
2385
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
2408
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
2409
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
2386
2410
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
2387
2411
|
textContent: Type.TString;
|
|
2388
2412
|
postUrl: Type.TString;
|
|
@@ -2412,6 +2436,9 @@ export declare function getLatestArgumentImpl(config: TApiClientConfig, argument
|
|
|
2412
2436
|
}>, Type.TObject<{
|
|
2413
2437
|
argumentTitle: Type.TString;
|
|
2414
2438
|
textContent: Type.TNull;
|
|
2439
|
+
}>]>, Type.TObject<{
|
|
2440
|
+
curationId: Type.TString;
|
|
2441
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
2415
2442
|
}>]>, Type.TNull]>;
|
|
2416
2443
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
2417
2444
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
@@ -2450,8 +2477,8 @@ export declare function updateArgumentImpl(config: TApiClientConfig, argumentId:
|
|
|
2450
2477
|
forkId: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
2451
2478
|
digest: Type.TString;
|
|
2452
2479
|
popularity: Type.TNumber;
|
|
2453
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
2454
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
2480
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
2481
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
2455
2482
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
2456
2483
|
textContent: Type.TString;
|
|
2457
2484
|
postUrl: Type.TString;
|
|
@@ -2481,6 +2508,9 @@ export declare function updateArgumentImpl(config: TApiClientConfig, argumentId:
|
|
|
2481
2508
|
}>, Type.TObject<{
|
|
2482
2509
|
argumentTitle: Type.TString;
|
|
2483
2510
|
textContent: Type.TNull;
|
|
2511
|
+
}>]>, Type.TObject<{
|
|
2512
|
+
curationId: Type.TString;
|
|
2513
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
2484
2514
|
}>]>, Type.TNull]>;
|
|
2485
2515
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
2486
2516
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
@@ -2579,8 +2609,8 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
|
|
|
2579
2609
|
forkId: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
2580
2610
|
digest: Type.TString;
|
|
2581
2611
|
popularity: Type.TNumber;
|
|
2582
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
2583
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
2612
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
2613
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
2584
2614
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
2585
2615
|
textContent: Type.TString;
|
|
2586
2616
|
postUrl: Type.TString;
|
|
@@ -2610,6 +2640,9 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
|
|
|
2610
2640
|
}>, Type.TObject<{
|
|
2611
2641
|
argumentTitle: Type.TString;
|
|
2612
2642
|
textContent: Type.TNull;
|
|
2643
|
+
}>]>, Type.TObject<{
|
|
2644
|
+
curationId: Type.TString;
|
|
2645
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
2613
2646
|
}>]>, Type.TNull]>;
|
|
2614
2647
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
2615
2648
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
@@ -3117,8 +3150,8 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
|
|
|
3117
3150
|
version: Type.TNumber;
|
|
3118
3151
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
3119
3152
|
popularity: Type.TNumber;
|
|
3120
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
3121
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
3153
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
3154
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
3122
3155
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
3123
3156
|
textContent: Type.TString;
|
|
3124
3157
|
postUrl: Type.TString;
|
|
@@ -3148,6 +3181,9 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
|
|
|
3148
3181
|
}>, Type.TObject<{
|
|
3149
3182
|
argumentTitle: Type.TString;
|
|
3150
3183
|
textContent: Type.TNull;
|
|
3184
|
+
}>]>, Type.TObject<{
|
|
3185
|
+
curationId: Type.TString;
|
|
3186
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
3151
3187
|
}>]>, Type.TNull]>;
|
|
3152
3188
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
3153
3189
|
}>, Type.TObject<{
|
|
@@ -3289,8 +3325,8 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
|
|
|
3289
3325
|
forkId: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
3290
3326
|
digest: Type.TString;
|
|
3291
3327
|
popularity: Type.TNumber;
|
|
3292
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
3293
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
3328
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
3329
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
3294
3330
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
3295
3331
|
textContent: Type.TString;
|
|
3296
3332
|
postUrl: Type.TString;
|
|
@@ -3320,6 +3356,9 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
|
|
|
3320
3356
|
}>, Type.TObject<{
|
|
3321
3357
|
argumentTitle: Type.TString;
|
|
3322
3358
|
textContent: Type.TNull;
|
|
3359
|
+
}>]>, Type.TObject<{
|
|
3360
|
+
curationId: Type.TString;
|
|
3361
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
3323
3362
|
}>]>, Type.TNull]>;
|
|
3324
3363
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
3325
3364
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
@@ -3340,8 +3379,8 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
|
|
|
3340
3379
|
forkId: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
3341
3380
|
digest: Type.TString;
|
|
3342
3381
|
popularity: Type.TNumber;
|
|
3343
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
3344
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
3382
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
3383
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
3345
3384
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
3346
3385
|
textContent: Type.TString;
|
|
3347
3386
|
postUrl: Type.TString;
|
|
@@ -3371,6 +3410,9 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
|
|
|
3371
3410
|
}>, Type.TObject<{
|
|
3372
3411
|
argumentTitle: Type.TString;
|
|
3373
3412
|
textContent: Type.TNull;
|
|
3413
|
+
}>]>, Type.TObject<{
|
|
3414
|
+
curationId: Type.TString;
|
|
3415
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
3374
3416
|
}>]>, Type.TNull]>;
|
|
3375
3417
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
3376
3418
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api-client/argument/index.ts"],"names":[],"mappings":"AASA,OAAO,EAIH,KAAK,sBAAsB,EAE3B,KAAK,eAAe,EAIvB,MAAM,qCAAqC,CAAA;A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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAWlB"}
|
|
@@ -33,8 +33,8 @@ export declare function getLogicDataImpl(config: TApiClientConfig, argumentId: s
|
|
|
33
33
|
version: Type.TNumber;
|
|
34
34
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
35
35
|
popularity: Type.TNumber;
|
|
36
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
37
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
36
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
37
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
38
38
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
39
39
|
textContent: Type.TString;
|
|
40
40
|
postUrl: Type.TString;
|
|
@@ -64,6 +64,9 @@ export declare function getLogicDataImpl(config: TApiClientConfig, argumentId: s
|
|
|
64
64
|
}>, Type.TObject<{
|
|
65
65
|
argumentTitle: Type.TString;
|
|
66
66
|
textContent: Type.TNull;
|
|
67
|
+
}>]>, Type.TObject<{
|
|
68
|
+
curationId: Type.TString;
|
|
69
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
67
70
|
}>]>, Type.TNull]>;
|
|
68
71
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
69
72
|
}>, Type.TObject<{
|
|
@@ -785,8 +788,8 @@ export declare function toggleNegationImpl(config: TApiClientConfig, argumentId:
|
|
|
785
788
|
version: Type.TNumber;
|
|
786
789
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
787
790
|
popularity: Type.TNumber;
|
|
788
|
-
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">]>;
|
|
789
|
-
platformData: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
791
|
+
platform: Type.TUnion<[Type.TLiteral<"twitter">, Type.TLiteral<"reddit">, Type.TLiteral<"raw_text">, Type.TLiteral<"manual">, Type.TLiteral<"curated">]>;
|
|
792
|
+
platformData: Type.TUnion<[Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
790
793
|
argumentTitle: Type.TOptional<Type.TString>;
|
|
791
794
|
textContent: Type.TString;
|
|
792
795
|
postUrl: Type.TString;
|
|
@@ -816,6 +819,9 @@ export declare function toggleNegationImpl(config: TApiClientConfig, argumentId:
|
|
|
816
819
|
}>, Type.TObject<{
|
|
817
820
|
argumentTitle: Type.TString;
|
|
818
821
|
textContent: Type.TNull;
|
|
822
|
+
}>]>, Type.TObject<{
|
|
823
|
+
curationId: Type.TString;
|
|
824
|
+
contentDigest: Type.TOptional<Type.TString>;
|
|
819
825
|
}>]>, Type.TNull]>;
|
|
820
826
|
platformUsername: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
821
827
|
}>, Type.TObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api-client/argument/logic/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,eAAe,EAClB,MAAM,wCAAwC,CAAA;AAkB/C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAevD,wBAAsB,gBAAgB,CAClC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api-client/argument/logic/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,eAAe,EAClB,MAAM,wCAAwC,CAAA;AAkB/C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAevD,wBAAsB,gBAAgB,CAClC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAW1B;AAID,wBAAsB,eAAe,CACjC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAY1B;AAED,wBAAsB,iBAAiB,CACnC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,M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B;AAED,wBAAsB,kBAAkB,CACpC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAWxB;AAED,wBAAsB,kBAAkB,CACpC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;KAUnB;AAED,wBAAsB,eAAe,CACjC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAUrB;AAED,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -33,8 +33,8 @@ export declare function repairArgumentImpl(config: TApiClientConfig, argumentId:
|
|
|
33
33
|
version: import("typebox").TNumber;
|
|
34
34
|
titleContentHash: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
35
35
|
popularity: import("typebox").TNumber;
|
|
36
|
-
platform: import("typebox").TUnion<[import("typebox").TLiteral<"twitter">, import("typebox").TLiteral<"reddit">, import("typebox").TLiteral<"raw_text">, import("typebox").TLiteral<"manual">]>;
|
|
37
|
-
platformData: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TObject<{
|
|
36
|
+
platform: import("typebox").TUnion<[import("typebox").TLiteral<"twitter">, import("typebox").TLiteral<"reddit">, import("typebox").TLiteral<"raw_text">, import("typebox").TLiteral<"manual">, import("typebox").TLiteral<"curated">]>;
|
|
37
|
+
platformData: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TObject<{
|
|
38
38
|
argumentTitle: import("typebox").TOptional<import("typebox").TString>;
|
|
39
39
|
textContent: import("typebox").TString;
|
|
40
40
|
postUrl: import("typebox").TString;
|
|
@@ -64,6 +64,9 @@ export declare function repairArgumentImpl(config: TApiClientConfig, argumentId:
|
|
|
64
64
|
}>, import("typebox").TObject<{
|
|
65
65
|
argumentTitle: import("typebox").TString;
|
|
66
66
|
textContent: import("typebox").TNull;
|
|
67
|
+
}>]>, import("typebox").TObject<{
|
|
68
|
+
curationId: import("typebox").TString;
|
|
69
|
+
contentDigest: import("typebox").TOptional<import("typebox").TString>;
|
|
67
70
|
}>]>, import("typebox").TNull]>;
|
|
68
71
|
platformUsername: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
69
72
|
}>, import("typebox").TObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repair.d.ts","sourceRoot":"","sources":["../../../../src/api-client/argument/logic/repair.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,cAAc,EACtB,MAAM,yCAAyC,CAAA;AAEhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAWvD,wBAAsB,kBAAkB,CACpC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM,EACvB,IAAI,EAAE,cAAc
|
|
1
|
+
{"version":3,"file":"repair.d.ts","sourceRoot":"","sources":["../../../../src/api-client/argument/logic/repair.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,cAAc,EACtB,MAAM,yCAAyC,CAAA;AAEhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAWvD,wBAAsB,kBAAkB,CACpC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM,EACvB,IAAI,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAWvB"}
|
|
@@ -24,6 +24,7 @@ export declare function deleteUserImpl(config: TApiClientConfig): Promise<import
|
|
|
24
24
|
emailVerified: import("typebox").TUnion<[import("../../schemas/common.js").TDateType, import("typebox").TNull]>;
|
|
25
25
|
image: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
26
26
|
username: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
27
|
+
curationId: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
27
28
|
tier: import("typebox").TUnion<[import("typebox").TLiteral<0>, import("typebox").TLiteral<1>, import("typebox").TLiteral<2>, import("typebox").TLiteral<3>, import("typebox").TLiteral<101>, import("typebox").TLiteral<102>, import("typebox").TLiteral<103>]>;
|
|
28
29
|
tokensUsed: import("typebox").TInteger;
|
|
29
30
|
lifetimeTokensUsed: import("typebox").TInteger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.d.ts","sourceRoot":"","sources":["../../../src/api-client/user/delete-user.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAGpD,wBAAsB,cAAc,CAAC,MAAM,EAAE,gBAAgB
|
|
1
|
+
{"version":3,"file":"delete-user.d.ts","sourceRoot":"","sources":["../../../src/api-client/user/delete-user.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAGpD,wBAAsB,cAAc,CAAC,MAAM,EAAE,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAQ5D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"digest.d.ts","sourceRoot":"","sources":["../../../src/fixtures/argument-yaml/digest.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,eAAe,EAAY,MAAM,8BAA8B,CAAA;AAkB7E,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CAgB7E"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// ID-independent content digest of a curated argument: a SHA-256 hex over the
|
|
2
|
+
// normalized content only — the ordered claims (symbol/title/body) and ordered
|
|
3
|
+
// premises (role/title/`ExprNode` tree shape). No UUIDs, no timestamps, no
|
|
4
|
+
// argument title/description. Two arguments that are content-identical hash
|
|
5
|
+
// equal regardless of database ids; this is the change-detection key the
|
|
6
|
+
// deploy-time reconcile compares against the stored digest.
|
|
7
|
+
import { sha256Hex } from "./sha256.js";
|
|
8
|
+
// Project an ExprNode to a plain structure carrying only its shape — operator /
|
|
9
|
+
// symbol / nesting — with keys in a fixed order so serialization is stable.
|
|
10
|
+
function normalizeTree(node) {
|
|
11
|
+
if (node.type === "variable") {
|
|
12
|
+
return { type: "variable", symbol: node.symbol };
|
|
13
|
+
}
|
|
14
|
+
if (node.type === "operator") {
|
|
15
|
+
return {
|
|
16
|
+
type: "operator",
|
|
17
|
+
operator: node.operator,
|
|
18
|
+
children: node.children.map(normalizeTree),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
return { type: "formula", children: node.children.map(normalizeTree) };
|
|
22
|
+
}
|
|
23
|
+
export function curatedArgumentContentDigest(curated) {
|
|
24
|
+
const normalized = {
|
|
25
|
+
claims: curated.claims.map((claim) => ({
|
|
26
|
+
symbol: claim.symbol,
|
|
27
|
+
title: claim.title,
|
|
28
|
+
body: claim.body,
|
|
29
|
+
})),
|
|
30
|
+
premises: curated.premises.map((premise) => ({
|
|
31
|
+
role: premise.role,
|
|
32
|
+
title: premise.title,
|
|
33
|
+
tree: normalizeTree(premise.tree),
|
|
34
|
+
})),
|
|
35
|
+
};
|
|
36
|
+
// The normalized object is built with a fixed key order at every level, so
|
|
37
|
+
// `JSON.stringify` is deterministic and id-free.
|
|
38
|
+
return sha256Hex(JSON.stringify(normalized));
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=digest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"digest.js","sourceRoot":"","sources":["../../../src/fixtures/argument-yaml/digest.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,+EAA+E;AAC/E,2EAA2E;AAC3E,4EAA4E;AAC5E,yEAAyE;AACzE,4DAA4D;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAGvC,gFAAgF;AAChF,4EAA4E;AAC5E,SAAS,aAAa,CAAC,IAAc;IACjC,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;QAC3B,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAA;IACpD,CAAC;IACD,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;QAC3B,OAAO;YACH,IAAI,EAAE,UAAU;YAChB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC;SAC7C,CAAA;IACL,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAA;AAC1E,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAC,OAAwB;IACjE,MAAM,UAAU,GAAG;QACf,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;YACnC,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,IAAI,EAAE,KAAK,CAAC,IAAI;SACnB,CAAC,CAAC;QACH,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YACzC,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,KAAK,EAAE,OAAO,CAAC,KAAK;YACpB,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,IAAI,CAAC;SACpC,CAAC,CAAC;KACN,CAAA;IACD,2EAA2E;IAC3E,iDAAiD;IACjD,OAAO,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAA;AAChD,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { CuratedArgumentYamlSchema, ExprNodeYamlSchema, ArgumentYamlProvenanceSchema, type TCuratedArgumentYaml, } from "./schema.js";
|
|
2
|
+
export { serializeArgumentYaml, parseArgumentYaml } from "./serialize.js";
|
|
3
|
+
export { lowerArgumentToCurated, type TArgumentLoweringInput } from "./lower.js";
|
|
4
|
+
export { curatedArgumentContentDigest } from "./digest.js";
|
|
5
|
+
export { sha256Hex } from "./sha256.js";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/fixtures/argument-yaml/index.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,yBAAyB,EACzB,kBAAkB,EAClB,4BAA4B,EAC5B,KAAK,oBAAoB,GAC5B,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACzE,OAAO,EAAE,sBAAsB,EAAE,KAAK,sBAAsB,EAAE,MAAM,YAAY,CAAA;AAChF,OAAO,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAA;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Curated-argument YAML lifecycle foundation: the on-disk YAML schema, its
|
|
2
|
+
// serialize/parse helpers, the persisted-argument → curated lowering, and the
|
|
3
|
+
// id-independent content digest used for change detection.
|
|
4
|
+
export { CuratedArgumentYamlSchema, ExprNodeYamlSchema, ArgumentYamlProvenanceSchema, } from "./schema.js";
|
|
5
|
+
export { serializeArgumentYaml, parseArgumentYaml } from "./serialize.js";
|
|
6
|
+
export { lowerArgumentToCurated } from "./lower.js";
|
|
7
|
+
export { curatedArgumentContentDigest } from "./digest.js";
|
|
8
|
+
export { sha256Hex } from "./sha256.js";
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/fixtures/argument-yaml/index.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,8EAA8E;AAC9E,2DAA2D;AAE3D,OAAO,EACH,yBAAyB,EACzB,kBAAkB,EAClB,4BAA4B,GAE/B,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACzE,OAAO,EAAE,sBAAsB,EAA+B,MAAM,YAAY,CAAA;AAChF,OAAO,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAA;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type TClaim } from "../../schemas/model/claims.js";
|
|
2
|
+
import type { TArgument } from "../../schemas/model/arguments.js";
|
|
3
|
+
import type { TPropositionalExpressionCombined, TPropositionalPremise, TPropositionalVariable } from "../../schemas/logic.js";
|
|
4
|
+
import type { CuratedArgument } from "../curated-argument/index.js";
|
|
5
|
+
export interface TArgumentLoweringInput {
|
|
6
|
+
argument: TArgument;
|
|
7
|
+
claims: TClaim[];
|
|
8
|
+
variables: TPropositionalVariable[];
|
|
9
|
+
premises: TPropositionalPremise[];
|
|
10
|
+
expressions: TPropositionalExpressionCombined[];
|
|
11
|
+
}
|
|
12
|
+
export declare function lowerArgumentToCurated(input: TArgumentLoweringInput): CuratedArgument;
|
|
13
|
+
//# sourceMappingURL=lower.d.ts.map
|