@proposit/shared 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +32 -0
  3. package/dist/api-client/argument/batch.d.ts +661 -0
  4. package/dist/api-client/argument/batch.d.ts.map +1 -0
  5. package/dist/api-client/argument/batch.js +14 -0
  6. package/dist/api-client/argument/batch.js.map +1 -0
  7. package/dist/api-client/argument/claims.d.ts +175 -0
  8. package/dist/api-client/argument/claims.d.ts.map +1 -0
  9. package/dist/api-client/argument/claims.js +20 -0
  10. package/dist/api-client/argument/claims.js.map +1 -0
  11. package/dist/api-client/argument/index.d.ts +1344 -0
  12. package/dist/api-client/argument/index.d.ts.map +1 -0
  13. package/dist/api-client/argument/index.js +62 -0
  14. package/dist/api-client/argument/index.js.map +1 -0
  15. package/dist/api-client/argument/logic/index.d.ts +861 -0
  16. package/dist/api-client/argument/logic/index.d.ts.map +1 -0
  17. package/dist/api-client/argument/logic/index.js +73 -0
  18. package/dist/api-client/argument/logic/index.js.map +1 -0
  19. package/dist/api-client/argument/logic/repair.d.ts +182 -0
  20. package/dist/api-client/argument/logic/repair.d.ts.map +1 -0
  21. package/dist/api-client/argument/logic/repair.js +9 -0
  22. package/dist/api-client/argument/logic/repair.js.map +1 -0
  23. package/dist/api-client/argument/reactions.d.ts +38 -0
  24. package/dist/api-client/argument/reactions.d.ts.map +1 -0
  25. package/dist/api-client/argument/reactions.js +9 -0
  26. package/dist/api-client/argument/reactions.js.map +1 -0
  27. package/dist/api-client/argument/reviews.d.ts +183 -0
  28. package/dist/api-client/argument/reviews.d.ts.map +1 -0
  29. package/dist/api-client/argument/reviews.js +21 -0
  30. package/dist/api-client/argument/reviews.js.map +1 -0
  31. package/dist/api-client/search.d.ts +64 -0
  32. package/dist/api-client/search.d.ts.map +1 -0
  33. package/dist/api-client/search.js +19 -0
  34. package/dist/api-client/search.js.map +1 -0
  35. package/dist/api-client/user/claims.d.ts +128 -0
  36. package/dist/api-client/user/claims.d.ts.map +1 -0
  37. package/dist/api-client/user/claims.js +10 -0
  38. package/dist/api-client/user/claims.js.map +1 -0
  39. package/dist/api-client/user/sources.d.ts +41 -0
  40. package/dist/api-client/user/sources.d.ts.map +1 -0
  41. package/dist/api-client/user/sources.js +7 -0
  42. package/dist/api-client/user/sources.js.map +1 -0
  43. package/dist/checksum.d.ts +2 -0
  44. package/dist/checksum.d.ts.map +1 -0
  45. package/dist/checksum.js +32 -0
  46. package/dist/checksum.js.map +1 -0
  47. package/dist/consts/argument.d.ts +9 -0
  48. package/dist/consts/argument.d.ts.map +1 -0
  49. package/dist/consts/argument.js +17 -0
  50. package/dist/consts/argument.js.map +1 -0
  51. package/dist/consts/identity.d.ts +3 -0
  52. package/dist/consts/identity.d.ts.map +1 -0
  53. package/dist/consts/identity.js +6 -0
  54. package/dist/consts/identity.js.map +1 -0
  55. package/dist/consts/index.d.ts +6 -0
  56. package/dist/consts/index.d.ts.map +1 -0
  57. package/dist/consts/index.js +6 -0
  58. package/dist/consts/index.js.map +1 -0
  59. package/dist/consts/roles.d.ts +27 -0
  60. package/dist/consts/roles.d.ts.map +1 -0
  61. package/dist/consts/roles.js +52 -0
  62. package/dist/consts/roles.js.map +1 -0
  63. package/dist/consts/task-status.d.ts +8 -0
  64. package/dist/consts/task-status.d.ts.map +1 -0
  65. package/dist/consts/task-status.js +14 -0
  66. package/dist/consts/task-status.js.map +1 -0
  67. package/dist/consts/user-tiers.d.ts +7 -0
  68. package/dist/consts/user-tiers.d.ts.map +1 -0
  69. package/dist/consts/user-tiers.js +60 -0
  70. package/dist/consts/user-tiers.js.map +1 -0
  71. package/dist/engine/engine.d.ts +94 -0
  72. package/dist/engine/engine.d.ts.map +1 -0
  73. package/dist/engine/engine.js +313 -0
  74. package/dist/engine/engine.js.map +1 -0
  75. package/dist/engine/library-adapters.d.ts +12 -0
  76. package/dist/engine/library-adapters.d.ts.map +1 -0
  77. package/dist/engine/library-adapters.js +11 -0
  78. package/dist/engine/library-adapters.js.map +1 -0
  79. package/dist/engine/mutations/claims.d.ts +10 -0
  80. package/dist/engine/mutations/claims.d.ts.map +1 -0
  81. package/dist/engine/mutations/claims.js +22 -0
  82. package/dist/engine/mutations/claims.js.map +1 -0
  83. package/dist/engine/mutations/expressions.d.ts +109 -0
  84. package/dist/engine/mutations/expressions.d.ts.map +1 -0
  85. package/dist/engine/mutations/expressions.js +277 -0
  86. package/dist/engine/mutations/expressions.js.map +1 -0
  87. package/dist/engine/mutations/index.d.ts +7 -0
  88. package/dist/engine/mutations/index.d.ts.map +1 -0
  89. package/dist/engine/mutations/index.js +6 -0
  90. package/dist/engine/mutations/index.js.map +1 -0
  91. package/dist/engine/mutations/premises.d.ts +25 -0
  92. package/dist/engine/mutations/premises.d.ts.map +1 -0
  93. package/dist/engine/mutations/premises.js +51 -0
  94. package/dist/engine/mutations/premises.js.map +1 -0
  95. package/dist/engine/mutations/types.d.ts +11 -0
  96. package/dist/engine/mutations/types.d.ts.map +1 -0
  97. package/dist/engine/mutations/types.js +2 -0
  98. package/dist/engine/mutations/types.js.map +1 -0
  99. package/dist/engine/mutations/variables.d.ts +27 -0
  100. package/dist/engine/mutations/variables.d.ts.map +1 -0
  101. package/dist/engine/mutations/variables.js +16 -0
  102. package/dist/engine/mutations/variables.js.map +1 -0
  103. package/dist/engine/optimistic/index.d.ts +4 -0
  104. package/dist/engine/optimistic/index.d.ts.map +1 -0
  105. package/dist/engine/optimistic/index.js +3 -0
  106. package/dist/engine/optimistic/index.js.map +1 -0
  107. package/dist/engine/optimistic/reconciliation.d.ts +32 -0
  108. package/dist/engine/optimistic/reconciliation.d.ts.map +1 -0
  109. package/dist/engine/optimistic/reconciliation.js +140 -0
  110. package/dist/engine/optimistic/reconciliation.js.map +1 -0
  111. package/dist/engine/optimistic/types.d.ts +25 -0
  112. package/dist/engine/optimistic/types.d.ts.map +1 -0
  113. package/dist/engine/optimistic/types.js +12 -0
  114. package/dist/engine/optimistic/types.js.map +1 -0
  115. package/dist/engine/optimistic/verification.d.ts +13 -0
  116. package/dist/engine/optimistic/verification.d.ts.map +1 -0
  117. package/dist/engine/optimistic/verification.js +71 -0
  118. package/dist/engine/optimistic/verification.js.map +1 -0
  119. package/dist/engine/review/evaluation.d.ts +27 -0
  120. package/dist/engine/review/evaluation.d.ts.map +1 -0
  121. package/dist/engine/review/evaluation.js +122 -0
  122. package/dist/engine/review/evaluation.js.map +1 -0
  123. package/dist/engine/review/fingerprint.d.ts +9 -0
  124. package/dist/engine/review/fingerprint.d.ts.map +1 -0
  125. package/dist/engine/review/fingerprint.js +27 -0
  126. package/dist/engine/review/fingerprint.js.map +1 -0
  127. package/dist/engine/review/overlay.d.ts +19 -0
  128. package/dist/engine/review/overlay.d.ts.map +1 -0
  129. package/dist/engine/review/overlay.js +81 -0
  130. package/dist/engine/review/overlay.js.map +1 -0
  131. package/dist/engine/review/reasons.d.ts +15 -0
  132. package/dist/engine/review/reasons.d.ts.map +1 -0
  133. package/dist/engine/review/reasons.js +211 -0
  134. package/dist/engine/review/reasons.js.map +1 -0
  135. package/dist/engine/review/review-engine.d.ts +134 -0
  136. package/dist/engine/review/review-engine.d.ts.map +1 -0
  137. package/dist/engine/review/review-engine.js +590 -0
  138. package/dist/engine/review/review-engine.js.map +1 -0
  139. package/dist/engine/review/review-store.d.ts +63 -0
  140. package/dist/engine/review/review-store.d.ts.map +1 -0
  141. package/dist/engine/review/review-store.js +174 -0
  142. package/dist/engine/review/review-store.js.map +1 -0
  143. package/dist/engine/review/step-queue.d.ts +27 -0
  144. package/dist/engine/review/step-queue.d.ts.map +1 -0
  145. package/dist/engine/review/step-queue.js +34 -0
  146. package/dist/engine/review/step-queue.js.map +1 -0
  147. package/dist/engine/review/types.d.ts +16 -0
  148. package/dist/engine/review/types.d.ts.map +1 -0
  149. package/dist/engine/review/types.js +2 -0
  150. package/dist/engine/review/types.js.map +1 -0
  151. package/dist/engine/review/wire.d.ts +8 -0
  152. package/dist/engine/review/wire.d.ts.map +1 -0
  153. package/dist/engine/review/wire.js +97 -0
  154. package/dist/engine/review/wire.js.map +1 -0
  155. package/dist/engine/text-tree.d.ts +35 -0
  156. package/dist/engine/text-tree.d.ts.map +1 -0
  157. package/dist/engine/text-tree.js +137 -0
  158. package/dist/engine/text-tree.js.map +1 -0
  159. package/dist/engine/types.d.ts +42 -0
  160. package/dist/engine/types.d.ts.map +1 -0
  161. package/dist/engine/types.js +2 -0
  162. package/dist/engine/types.js.map +1 -0
  163. package/dist/errors.d.ts +27 -0
  164. package/dist/errors.d.ts.map +1 -0
  165. package/dist/errors.js +61 -0
  166. package/dist/errors.js.map +1 -0
  167. package/dist/schemas/api/argument/batch/change-edge-operator.d.ts +281 -0
  168. package/dist/schemas/api/argument/batch/change-edge-operator.d.ts.map +1 -0
  169. package/dist/schemas/api/argument/batch/change-edge-operator.js +19 -0
  170. package/dist/schemas/api/argument/batch/change-edge-operator.js.map +1 -0
  171. package/dist/schemas/api/argument/batch/create-expression-with-operator.d.ts +280 -0
  172. package/dist/schemas/api/argument/batch/create-expression-with-operator.d.ts.map +1 -0
  173. package/dist/schemas/api/argument/batch/create-expression-with-operator.js +22 -0
  174. package/dist/schemas/api/argument/batch/create-expression-with-operator.js.map +1 -0
  175. package/dist/schemas/api/argument/batch/provision.d.ts +112 -0
  176. package/dist/schemas/api/argument/batch/provision.d.ts.map +1 -0
  177. package/dist/schemas/api/argument/batch/provision.js +10 -0
  178. package/dist/schemas/api/argument/batch/provision.js.map +1 -0
  179. package/dist/schemas/api/argument/build.d.ts +50 -0
  180. package/dist/schemas/api/argument/build.d.ts.map +1 -0
  181. package/dist/schemas/api/argument/build.js +41 -0
  182. package/dist/schemas/api/argument/build.js.map +1 -0
  183. package/dist/schemas/api/argument/claims.d.ts +151 -0
  184. package/dist/schemas/api/argument/claims.d.ts.map +1 -0
  185. package/dist/schemas/api/argument/claims.js +24 -0
  186. package/dist/schemas/api/argument/claims.js.map +1 -0
  187. package/dist/schemas/api/argument/index.d.ts +682 -0
  188. package/dist/schemas/api/argument/index.d.ts.map +1 -0
  189. package/dist/schemas/api/argument/index.js +51 -0
  190. package/dist/schemas/api/argument/index.js.map +1 -0
  191. package/dist/schemas/api/argument/logic.d.ts +205 -0
  192. package/dist/schemas/api/argument/logic.d.ts.map +1 -0
  193. package/dist/schemas/api/argument/logic.js +77 -0
  194. package/dist/schemas/api/argument/logic.js.map +1 -0
  195. package/dist/schemas/api/argument/repair.d.ts +195 -0
  196. package/dist/schemas/api/argument/repair.d.ts.map +1 -0
  197. package/dist/schemas/api/argument/repair.js +35 -0
  198. package/dist/schemas/api/argument/repair.js.map +1 -0
  199. package/dist/schemas/api/claims.d.ts +250 -0
  200. package/dist/schemas/api/claims.d.ts.map +1 -0
  201. package/dist/schemas/api/claims.js +20 -0
  202. package/dist/schemas/api/claims.js.map +1 -0
  203. package/dist/schemas/api/reaction/index.d.ts +46 -0
  204. package/dist/schemas/api/reaction/index.d.ts.map +1 -0
  205. package/dist/schemas/api/reaction/index.js +15 -0
  206. package/dist/schemas/api/reaction/index.js.map +1 -0
  207. package/dist/schemas/api/review/index.d.ts +164 -0
  208. package/dist/schemas/api/review/index.d.ts.map +1 -0
  209. package/dist/schemas/api/review/index.js +29 -0
  210. package/dist/schemas/api/review/index.js.map +1 -0
  211. package/dist/schemas/api/search.d.ts +109 -0
  212. package/dist/schemas/api/search.d.ts.map +1 -0
  213. package/dist/schemas/api/search.js +60 -0
  214. package/dist/schemas/api/search.js.map +1 -0
  215. package/dist/schemas/api/sources.d.ts +108 -0
  216. package/dist/schemas/api/sources.d.ts.map +1 -0
  217. package/dist/schemas/api/sources.js +28 -0
  218. package/dist/schemas/api/sources.js.map +1 -0
  219. package/dist/schemas/api/user/index.d.ts +16 -0
  220. package/dist/schemas/api/user/index.d.ts.map +1 -0
  221. package/dist/schemas/api/user/index.js +15 -0
  222. package/dist/schemas/api/user/index.js.map +1 -0
  223. package/dist/schemas/common.d.ts +50 -0
  224. package/dist/schemas/common.d.ts.map +1 -0
  225. package/dist/schemas/common.js +77 -0
  226. package/dist/schemas/common.js.map +1 -0
  227. package/dist/schemas/gpt.d.ts +10 -0
  228. package/dist/schemas/gpt.d.ts.map +1 -0
  229. package/dist/schemas/gpt.js +27 -0
  230. package/dist/schemas/gpt.js.map +1 -0
  231. package/dist/schemas/index.d.ts +8 -0
  232. package/dist/schemas/index.d.ts.map +1 -0
  233. package/dist/schemas/index.js +8 -0
  234. package/dist/schemas/index.js.map +1 -0
  235. package/dist/schemas/integrations/index.d.ts +159 -0
  236. package/dist/schemas/integrations/index.d.ts.map +1 -0
  237. package/dist/schemas/integrations/index.js +72 -0
  238. package/dist/schemas/integrations/index.js.map +1 -0
  239. package/dist/schemas/logic.d.ts +195 -0
  240. package/dist/schemas/logic.d.ts.map +1 -0
  241. package/dist/schemas/logic.js +77 -0
  242. package/dist/schemas/logic.js.map +1 -0
  243. package/dist/schemas/model/arguments.d.ts +457 -0
  244. package/dist/schemas/model/arguments.d.ts.map +1 -0
  245. package/dist/schemas/model/arguments.js +100 -0
  246. package/dist/schemas/model/arguments.js.map +1 -0
  247. package/dist/schemas/model/claims.d.ts +53 -0
  248. package/dist/schemas/model/claims.d.ts.map +1 -0
  249. package/dist/schemas/model/claims.js +40 -0
  250. package/dist/schemas/model/claims.js.map +1 -0
  251. package/dist/schemas/model/forks.d.ts +63 -0
  252. package/dist/schemas/model/forks.d.ts.map +1 -0
  253. package/dist/schemas/model/forks.js +63 -0
  254. package/dist/schemas/model/forks.js.map +1 -0
  255. package/dist/schemas/model/index.d.ts +6 -0
  256. package/dist/schemas/model/index.d.ts.map +1 -0
  257. package/dist/schemas/model/index.js +6 -0
  258. package/dist/schemas/model/index.js.map +1 -0
  259. package/dist/schemas/model/references.d.ts +49 -0
  260. package/dist/schemas/model/references.d.ts.map +1 -0
  261. package/dist/schemas/model/references.js +46 -0
  262. package/dist/schemas/model/references.js.map +1 -0
  263. package/dist/schemas/model/review.d.ts +56 -0
  264. package/dist/schemas/model/review.d.ts.map +1 -0
  265. package/dist/schemas/model/review.js +50 -0
  266. package/dist/schemas/model/review.js.map +1 -0
  267. package/dist/schemas/model/sources.d.ts +456 -0
  268. package/dist/schemas/model/sources.d.ts.map +1 -0
  269. package/dist/schemas/model/sources.js +27 -0
  270. package/dist/schemas/model/sources.js.map +1 -0
  271. package/dist/schemas/model/users.d.ts +150 -0
  272. package/dist/schemas/model/users.d.ts.map +1 -0
  273. package/dist/schemas/model/users.js +136 -0
  274. package/dist/schemas/model/users.js.map +1 -0
  275. package/dist/schemas/model.d.ts +2 -0
  276. package/dist/schemas/model.d.ts.map +1 -0
  277. package/dist/schemas/model.js +2 -0
  278. package/dist/schemas/model.js.map +1 -0
  279. package/dist/schemas/review.d.ts +1403 -0
  280. package/dist/schemas/review.d.ts.map +1 -0
  281. package/dist/schemas/review.js +232 -0
  282. package/dist/schemas/review.js.map +1 -0
  283. package/dist/schemas/snapshot.d.ts +165 -0
  284. package/dist/schemas/snapshot.d.ts.map +1 -0
  285. package/dist/schemas/snapshot.js +80 -0
  286. package/dist/schemas/snapshot.js.map +1 -0
  287. package/dist/schemas/tasks.d.ts +551 -0
  288. package/dist/schemas/tasks.d.ts.map +1 -0
  289. package/dist/schemas/tasks.js +113 -0
  290. package/dist/schemas/tasks.js.map +1 -0
  291. package/dist/utils/embedding-text.d.ts +15 -0
  292. package/dist/utils/embedding-text.d.ts.map +1 -0
  293. package/dist/utils/embedding-text.js +86 -0
  294. package/dist/utils/embedding-text.js.map +1 -0
  295. package/dist/utils/format-review-share.d.ts +7 -0
  296. package/dist/utils/format-review-share.d.ts.map +1 -0
  297. package/dist/utils/format-review-share.js +16 -0
  298. package/dist/utils/format-review-share.js.map +1 -0
  299. package/dist/utils/index.d.ts +4 -0
  300. package/dist/utils/index.d.ts.map +1 -0
  301. package/dist/utils/index.js +4 -0
  302. package/dist/utils/index.js.map +1 -0
  303. package/dist/utils/tasks/utils.d.ts +4 -0
  304. package/dist/utils/tasks/utils.d.ts.map +1 -0
  305. package/dist/utils/tasks/utils.js +12 -0
  306. package/dist/utils/tasks/utils.js.map +1 -0
  307. package/dist/utils/utils.d.ts +25 -0
  308. package/dist/utils/utils.d.ts.map +1 -0
  309. package/dist/utils/utils.js +115 -0
  310. package/dist/utils/utils.js.map +1 -0
  311. package/package.json +128 -0
@@ -0,0 +1,72 @@
1
+ import { Type } from "typebox";
2
+ // IMPORTANT NOTE: These literals need to match the auth provider if an import platform
3
+ // is also an argument data platform. Right now, twitter is the only such example.
4
+ // Specifically, the auth provider `id` value must match.
5
+ export const TwitterImport = Type.Literal("twitter");
6
+ export const RedditImport = Type.Literal("reddit");
7
+ export const FromText = Type.Literal("raw_text");
8
+ export const NoImport = Type.Literal("manual");
9
+ export const ArgumentImportOrigin = Type.Union([
10
+ TwitterImport,
11
+ RedditImport,
12
+ FromText,
13
+ NoImport,
14
+ ]);
15
+ // Common
16
+ // For all origins other than manual
17
+ const ExternalPlatformData = Type.Object({
18
+ argumentTitle: Type.Optional(Type.String()),
19
+ textContent: Type.String(),
20
+ });
21
+ // If manual, there must be a title but never content
22
+ const NoPlatformData = Type.Object({
23
+ argumentTitle: Type.String(),
24
+ textContent: Type.Null(),
25
+ });
26
+ // Twitter specifics
27
+ export const TwitterImportSelfMode = Type.Literal("self_author");
28
+ export const TwitterImportOtherMode = Type.Literal("other_author");
29
+ export const TwitterImportCopyMode = Type.Literal("copy_contents");
30
+ export const TwitterImportMode = Type.Union([
31
+ TwitterImportSelfMode,
32
+ TwitterImportOtherMode,
33
+ TwitterImportCopyMode,
34
+ ]);
35
+ export const TwitterEmbedResponse = Type.Object({
36
+ url: Type.String(),
37
+ authorUrl: Type.String(),
38
+ authorName: Type.String(),
39
+ html: Type.String(),
40
+ width: Type.Optional(Type.Number()),
41
+ height: Type.Optional(Type.Union([Type.Number(), Type.Null()])),
42
+ type: Type.Optional(Type.String()),
43
+ version: Type.Optional(Type.String()),
44
+ providerName: Type.Optional(Type.String()),
45
+ providerUrl: Type.Optional(Type.String()),
46
+ cacheAge: Type.Optional(Type.String()),
47
+ });
48
+ export const TwitterArgumentPlatformData = Type.Interface([ExternalPlatformData], {
49
+ postUrl: Type.String(),
50
+ importMode: TwitterImportMode,
51
+ // From https://developer.x.com/en/docs/x-for-websites/oembed-api#item1
52
+ embedResponse: Type.Optional(TwitterEmbedResponse),
53
+ username: Type.Optional(Type.String()),
54
+ });
55
+ // Reddit specifics
56
+ export const RedditArgumentPlatformData = Type.Interface([ExternalPlatformData], {
57
+ postUrl: Type.String(),
58
+ username: Type.Optional(Type.String()),
59
+ });
60
+ // Full mapping
61
+ export const ArgumentPlatformDataMap = Type.Object({
62
+ twitter: TwitterArgumentPlatformData,
63
+ reddit: RedditArgumentPlatformData,
64
+ raw_text: ExternalPlatformData,
65
+ manual: NoPlatformData,
66
+ });
67
+ export const ArgumentPlatformData = Type.Index(ArgumentPlatformDataMap, Type.KeyOf(ArgumentPlatformDataMap));
68
+ export const CreateArgumentFromImportSchema = Type.Object({
69
+ origin: ArgumentImportOrigin,
70
+ data: Type.Index(Type.Omit(ArgumentPlatformDataMap, NoImport), Type.KeyOf(Type.Omit(ArgumentPlatformDataMap, NoImport))),
71
+ });
72
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAe,MAAM,SAAS,CAAA;AAE3C,uFAAuF;AACvF,mFAAmF;AACnF,0DAA0D;AAC1D,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;AACpD,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;AAClD,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAA;AAChD,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,CAA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EAAE,oBAAoB;IAC9B,MAAM,EAAE,cAAc;CACzB,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,CAAC,KAAK,CAC1C,uBAAuB,EACvB,IAAI,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtC,CAAA;AAGD,MAAM,CAAC,MAAM,8BAA8B,GAAG,IAAI,CAAC,MAAM,CAAC;IACtD,MAAM,EAAE,oBAAoB;IAC5B,IAAI,EAAE,IAAI,CAAC,KAAK,CACZ,IAAI,CAAC,IAAI,CAAC,uBAAuB,EAAE,QAAQ,CAAC,EAC5C,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,uBAAuB,EAAE,QAAQ,CAAC,CAAC,CAC3D;CACJ,CAAC,CAAA"}
@@ -0,0 +1,195 @@
1
+ import Type, { type Static } from "typebox";
2
+ export declare const LogicalOperatorType: Type.TUnion<[Type.TLiteral<"not">, Type.TLiteral<"and">, Type.TLiteral<"or">, Type.TLiteral<"implies">, Type.TLiteral<"iff">]>;
3
+ export type TLogicalOperatorType = Static<typeof LogicalOperatorType>;
4
+ export declare const PropositionalExpressionTypes: Type.TUnion<[Type.TLiteral<"variable">, Type.TLiteral<"operator">, Type.TLiteral<"formula">]>;
5
+ export type TPropositionalExpressionTypes = Static<typeof PropositionalExpressionTypes>;
6
+ export declare const PropositionalVariableExpressionSchema: Type.TIntersect<[Type.TObject<{
7
+ id: Type.TString;
8
+ argumentId: Type.TString;
9
+ argumentVersion: Type.TNumber;
10
+ premiseId: Type.TString;
11
+ parentId: Type.TUnion<[Type.TString, Type.TNull]>;
12
+ position: Type.TNumber;
13
+ checksum: Type.TString;
14
+ descendantChecksum: Type.TUnion<[Type.TString, Type.TNull]>;
15
+ combinedChecksum: Type.TString;
16
+ type: Type.TLiteral<"variable">;
17
+ variableId: Type.TString;
18
+ }>, Type.TObject<{
19
+ createdOn: import("./common.js").TDateType;
20
+ creatorId: Type.TString;
21
+ }>, Type.TObject<{
22
+ operator: Type.TNull;
23
+ }>]>;
24
+ export type TPropositionalVariableExpression = Static<typeof PropositionalVariableExpressionSchema>;
25
+ export declare const OperatorExpressionSchema: Type.TIntersect<[Type.TObject<{
26
+ id: Type.TString;
27
+ argumentId: Type.TString;
28
+ argumentVersion: Type.TNumber;
29
+ premiseId: Type.TString;
30
+ parentId: Type.TUnion<[Type.TString, Type.TNull]>;
31
+ position: Type.TNumber;
32
+ checksum: Type.TString;
33
+ descendantChecksum: Type.TUnion<[Type.TString, Type.TNull]>;
34
+ combinedChecksum: Type.TString;
35
+ type: Type.TLiteral<"operator">;
36
+ operator: Type.TUnion<[Type.TLiteral<"not">, Type.TLiteral<"and">, Type.TLiteral<"or">, Type.TLiteral<"implies">, Type.TLiteral<"iff">]>;
37
+ }>, Type.TObject<{
38
+ createdOn: import("./common.js").TDateType;
39
+ creatorId: Type.TString;
40
+ }>, Type.TObject<{
41
+ variableId: Type.TNull;
42
+ }>]>;
43
+ export type TOperatorExpression = Static<typeof OperatorExpressionSchema>;
44
+ export declare const FormulaExpressionSchema: Type.TIntersect<[Type.TObject<{
45
+ id: Type.TString;
46
+ argumentId: Type.TString;
47
+ argumentVersion: Type.TNumber;
48
+ premiseId: Type.TString;
49
+ parentId: Type.TUnion<[Type.TString, Type.TNull]>;
50
+ position: Type.TNumber;
51
+ checksum: Type.TString;
52
+ descendantChecksum: Type.TUnion<[Type.TString, Type.TNull]>;
53
+ combinedChecksum: Type.TString;
54
+ type: Type.TLiteral<"formula">;
55
+ }>, Type.TObject<{
56
+ createdOn: import("./common.js").TDateType;
57
+ creatorId: Type.TString;
58
+ }>, Type.TObject<{
59
+ variableId: Type.TNull;
60
+ operator: Type.TNull;
61
+ }>]>;
62
+ export type TFormulaExpression = Static<typeof FormulaExpressionSchema>;
63
+ export declare const PropositionalExpressionSchema: Type.TUnion<[Type.TIntersect<[Type.TObject<{
64
+ id: Type.TString;
65
+ argumentId: Type.TString;
66
+ argumentVersion: Type.TNumber;
67
+ premiseId: Type.TString;
68
+ parentId: Type.TUnion<[Type.TString, Type.TNull]>;
69
+ position: Type.TNumber;
70
+ checksum: Type.TString;
71
+ descendantChecksum: Type.TUnion<[Type.TString, Type.TNull]>;
72
+ combinedChecksum: Type.TString;
73
+ type: Type.TLiteral<"variable">;
74
+ variableId: Type.TString;
75
+ }>, Type.TObject<{
76
+ createdOn: import("./common.js").TDateType;
77
+ creatorId: Type.TString;
78
+ }>, Type.TObject<{
79
+ operator: Type.TNull;
80
+ }>]>, Type.TIntersect<[Type.TObject<{
81
+ id: Type.TString;
82
+ argumentId: Type.TString;
83
+ argumentVersion: Type.TNumber;
84
+ premiseId: Type.TString;
85
+ parentId: Type.TUnion<[Type.TString, Type.TNull]>;
86
+ position: Type.TNumber;
87
+ checksum: Type.TString;
88
+ descendantChecksum: Type.TUnion<[Type.TString, Type.TNull]>;
89
+ combinedChecksum: Type.TString;
90
+ type: Type.TLiteral<"operator">;
91
+ operator: Type.TUnion<[Type.TLiteral<"not">, Type.TLiteral<"and">, Type.TLiteral<"or">, Type.TLiteral<"implies">, Type.TLiteral<"iff">]>;
92
+ }>, Type.TObject<{
93
+ createdOn: import("./common.js").TDateType;
94
+ creatorId: Type.TString;
95
+ }>, Type.TObject<{
96
+ variableId: Type.TNull;
97
+ }>]>, Type.TIntersect<[Type.TObject<{
98
+ id: Type.TString;
99
+ argumentId: Type.TString;
100
+ argumentVersion: Type.TNumber;
101
+ premiseId: Type.TString;
102
+ parentId: Type.TUnion<[Type.TString, Type.TNull]>;
103
+ position: Type.TNumber;
104
+ checksum: Type.TString;
105
+ descendantChecksum: Type.TUnion<[Type.TString, Type.TNull]>;
106
+ combinedChecksum: Type.TString;
107
+ type: Type.TLiteral<"formula">;
108
+ }>, Type.TObject<{
109
+ createdOn: import("./common.js").TDateType;
110
+ creatorId: Type.TString;
111
+ }>, Type.TObject<{
112
+ variableId: Type.TNull;
113
+ operator: Type.TNull;
114
+ }>]>]>;
115
+ export type TPropositionalExpressionCombined = Static<typeof PropositionalExpressionSchema>;
116
+ export type TPropositionalExpression<T extends TPropositionalExpressionTypes = TPropositionalExpressionTypes> = Extract<TPropositionalExpressionCombined, {
117
+ type: T;
118
+ }>;
119
+ export declare const ClaimBoundVariableSchema: Type.TIntersect<[Type.TObject<{
120
+ claimId: Type.TString;
121
+ claimVersion: Type.TNumber;
122
+ id: Type.TString;
123
+ argumentId: Type.TString;
124
+ argumentVersion: Type.TNumber;
125
+ symbol: Type.TString;
126
+ checksum: Type.TString;
127
+ }>, Type.TObject<{
128
+ createdOn: import("./common.js").TDateType;
129
+ creatorId: Type.TString;
130
+ descendantChecksum: Type.TUnion<[Type.TString, Type.TNull]>;
131
+ combinedChecksum: Type.TString;
132
+ }>]>;
133
+ export type TClaimBoundVariable = Static<typeof ClaimBoundVariableSchema>;
134
+ export declare const PremiseBoundVariableSchema: Type.TIntersect<[Type.TObject<{
135
+ boundPremiseId: Type.TString;
136
+ boundArgumentId: Type.TString;
137
+ boundArgumentVersion: Type.TNumber;
138
+ id: Type.TString;
139
+ argumentId: Type.TString;
140
+ argumentVersion: Type.TNumber;
141
+ symbol: Type.TString;
142
+ checksum: Type.TString;
143
+ }>, Type.TObject<{
144
+ createdOn: import("./common.js").TDateType;
145
+ creatorId: Type.TString;
146
+ descendantChecksum: Type.TUnion<[Type.TString, Type.TNull]>;
147
+ combinedChecksum: Type.TString;
148
+ }>]>;
149
+ export type TPremiseBoundVariable = Static<typeof PremiseBoundVariableSchema>;
150
+ export declare const PropositionalVariableSchema: Type.TUnion<[Type.TIntersect<[Type.TObject<{
151
+ claimId: Type.TString;
152
+ claimVersion: Type.TNumber;
153
+ id: Type.TString;
154
+ argumentId: Type.TString;
155
+ argumentVersion: Type.TNumber;
156
+ symbol: Type.TString;
157
+ checksum: Type.TString;
158
+ }>, Type.TObject<{
159
+ createdOn: import("./common.js").TDateType;
160
+ creatorId: Type.TString;
161
+ descendantChecksum: Type.TUnion<[Type.TString, Type.TNull]>;
162
+ combinedChecksum: Type.TString;
163
+ }>]>, Type.TIntersect<[Type.TObject<{
164
+ boundPremiseId: Type.TString;
165
+ boundArgumentId: Type.TString;
166
+ boundArgumentVersion: Type.TNumber;
167
+ id: Type.TString;
168
+ argumentId: Type.TString;
169
+ argumentVersion: Type.TNumber;
170
+ symbol: Type.TString;
171
+ checksum: Type.TString;
172
+ }>, Type.TObject<{
173
+ createdOn: import("./common.js").TDateType;
174
+ creatorId: Type.TString;
175
+ descendantChecksum: Type.TUnion<[Type.TString, Type.TNull]>;
176
+ combinedChecksum: Type.TString;
177
+ }>]>]>;
178
+ export type TPropositionalVariable = Static<typeof PropositionalVariableSchema>;
179
+ export declare const PremiseRoleType: Type.TUnion<[Type.TLiteral<"conclusion">, Type.TLiteral<"supporting">]>;
180
+ export type TPremiseRoleType = Static<typeof PremiseRoleType>;
181
+ export declare const PropositionalPremiseSchema: Type.TIntersect<[Type.TObject<{
182
+ id: Type.TString;
183
+ argumentId: Type.TString;
184
+ argumentVersion: Type.TNumber;
185
+ checksum: Type.TString;
186
+ descendantChecksum: Type.TUnion<[Type.TString, Type.TNull]>;
187
+ combinedChecksum: Type.TString;
188
+ }>, Type.TObject<{
189
+ title: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
190
+ role: Type.TUnion<[Type.TLiteral<"conclusion">, Type.TLiteral<"supporting">]>;
191
+ createdOn: Type.TOptional<import("./common.js").TDateType>;
192
+ creatorId: Type.TOptional<Type.TString>;
193
+ }>]>;
194
+ export type TPropositionalPremise = Static<typeof PropositionalPremiseSchema>;
195
+ //# sourceMappingURL=logic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logic.d.ts","sourceRoot":"","sources":["../../src/schemas/logic.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAE,KAAK,MAAM,EAAE,MAAM,SAAS,CAAA;AAgB3C,eAAO,MAAM,mBAAmB,gIAA0B,CAAA;AAC1D,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,OAAO,mB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AAG/E,eAAO,MAAM,eAAe,yEAG1B,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,eAAe,CAAC,CAAA;AAG7D,eAAO,MAAM,0BAA0B;;;;;;;;;;;;IAQrC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
@@ -0,0 +1,77 @@
1
+ import Type, {} from "typebox";
2
+ import { UUID, Nullable, EncodableDate } from "./common.js";
3
+ import { CoreLogicalOperatorType, CorePropositionalExpressionTypes, CorePropositionalVariableExpressionSchema, CoreOperatorExpressionSchema, CoreFormulaExpressionSchema, CoreClaimBoundVariableSchema, CorePremiseBoundVariableSchema, CorePremiseSchema, } from "@proposit/proposit-core";
4
+ // PROPOSITIONAL LOGIC SCHEMAS
5
+ // Logical operator type — re-exported from proposit-core
6
+ export const LogicalOperatorType = CoreLogicalOperatorType;
7
+ // Expression type discriminant — re-exported from proposit-core
8
+ export const PropositionalExpressionTypes = CorePropositionalExpressionTypes;
9
+ // Local expression extensions shared across all expression sub-types.
10
+ const ExpressionLocalExtensions = Type.Object({
11
+ createdOn: EncodableDate,
12
+ creatorId: UUID,
13
+ });
14
+ // Variable expression: core + local extensions + operator discriminant null
15
+ export const PropositionalVariableExpressionSchema = Type.Intersect([
16
+ CorePropositionalVariableExpressionSchema,
17
+ ExpressionLocalExtensions,
18
+ Type.Object({ operator: Type.Null() }),
19
+ ]);
20
+ // Operator expression: core + local extensions + variableId discriminant null
21
+ export const OperatorExpressionSchema = Type.Intersect([
22
+ CoreOperatorExpressionSchema,
23
+ ExpressionLocalExtensions,
24
+ Type.Object({ variableId: Type.Null() }),
25
+ ]);
26
+ // Formula expression: core + local extensions + both discriminants null
27
+ export const FormulaExpressionSchema = Type.Intersect([
28
+ CoreFormulaExpressionSchema,
29
+ ExpressionLocalExtensions,
30
+ Type.Object({ variableId: Type.Null(), operator: Type.Null() }),
31
+ ]);
32
+ // Union of all expression types
33
+ export const PropositionalExpressionSchema = Type.Union([
34
+ PropositionalVariableExpressionSchema,
35
+ OperatorExpressionSchema,
36
+ FormulaExpressionSchema,
37
+ ]);
38
+ // Local extensions shared by all propositional variable sub-types.
39
+ const VariableLocalExtensions = Type.Object({
40
+ createdOn: EncodableDate,
41
+ creatorId: UUID,
42
+ descendantChecksum: Nullable(Type.String()),
43
+ combinedChecksum: Type.String(),
44
+ });
45
+ // Claim-bound variable: core claim-bound schema + local extensions.
46
+ export const ClaimBoundVariableSchema = Type.Intersect([
47
+ CoreClaimBoundVariableSchema,
48
+ VariableLocalExtensions,
49
+ ]);
50
+ // Premise-bound variable: core premise-bound schema + local extensions.
51
+ export const PremiseBoundVariableSchema = Type.Intersect([
52
+ CorePremiseBoundVariableSchema,
53
+ VariableLocalExtensions,
54
+ ]);
55
+ // Propositional variable — union of claim-bound and premise-bound, each with
56
+ // app-level extensions. This matches the core union and satisfies the engine's
57
+ // type parameter constraint.
58
+ export const PropositionalVariableSchema = Type.Union([
59
+ ClaimBoundVariableSchema,
60
+ PremiseBoundVariableSchema,
61
+ ]);
62
+ // Premise role type (local-only; core manages roles via ArgumentRoleState)
63
+ export const PremiseRoleType = Type.Union([
64
+ Type.Literal("conclusion"),
65
+ Type.Literal("supporting"),
66
+ ]);
67
+ // Propositional premise — full core schema + local extensions
68
+ export const PropositionalPremiseSchema = Type.Intersect([
69
+ CorePremiseSchema,
70
+ Type.Object({
71
+ title: Type.Optional(Nullable(Type.String())),
72
+ role: PremiseRoleType,
73
+ createdOn: Type.Optional(EncodableDate),
74
+ creatorId: Type.Optional(UUID),
75
+ }),
76
+ ]);
77
+ //# sourceMappingURL=logic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logic.js","sourceRoot":"","sources":["../../src/schemas/logic.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAe,MAAM,SAAS,CAAA;AAC3C,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,aA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