@20minutes/tyr 1.22.0 → 1.22.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/dist/index.es.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/js/main.min.js +6 -6
- package/dist/js/main.min.js.map +1 -1
- package/dist/src/assets/main/elections.d.ts +2 -0
- package/dist/src/components/molecules/ActualPromoBanner/ActualPromoBanner.d.ts +1 -1
- package/dist/src/types/graphql.d.ts +26 -22
- package/package.json +5 -5
|
@@ -2156,7 +2156,6 @@ export type TContribution = TTimestampable & {
|
|
|
2156
2156
|
edited_at?: Maybe<Scalars['DateTime']['output']>;
|
|
2157
2157
|
external_id: Scalars['String']['output'];
|
|
2158
2158
|
id: Scalars['ID']['output'];
|
|
2159
|
-
is_read: Scalars['Boolean']['output'];
|
|
2160
2159
|
is_used_in_live: Scalars['Boolean']['output'];
|
|
2161
2160
|
text: Scalars['String']['output'];
|
|
2162
2161
|
username: Scalars['String']['output'];
|
|
@@ -2201,7 +2200,6 @@ export type TContributionExternalIdFilter = {
|
|
|
2201
2200
|
export type TContributionFilter = {
|
|
2202
2201
|
campaign_id?: InputMaybe<TContributionCampaignIdFilter>;
|
|
2203
2202
|
external_id?: InputMaybe<TContributionExternalIdFilter>;
|
|
2204
|
-
is_read?: InputMaybe<TContributionIsReadFilter>;
|
|
2205
2203
|
is_used_in_live?: InputMaybe<TContributionIsUsedInLiveFilter>;
|
|
2206
2204
|
text?: InputMaybe<TContributionTextFilter>;
|
|
2207
2205
|
username?: InputMaybe<TContributionUsernameFilter>;
|
|
@@ -2211,22 +2209,6 @@ export type TContributionIdentifierInputType = {
|
|
|
2211
2209
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
2212
2210
|
id: Scalars['ID']['input'];
|
|
2213
2211
|
};
|
|
2214
|
-
export type TContributionIsReadFilter = {
|
|
2215
|
-
eq?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2216
|
-
gt?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2217
|
-
gte?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2218
|
-
ilike?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2219
|
-
in?: InputMaybe<Array<InputMaybe<Scalars['Boolean']['input']>>>;
|
|
2220
|
-
like?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2221
|
-
lt?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2222
|
-
lte?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2223
|
-
ne?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2224
|
-
nilike?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2225
|
-
nin?: InputMaybe<Array<InputMaybe<Scalars['Boolean']['input']>>>;
|
|
2226
|
-
nlike?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2227
|
-
nre?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2228
|
-
re?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2229
|
-
};
|
|
2230
2212
|
export type TContributionIsUsedInLiveFilter = {
|
|
2231
2213
|
eq?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2232
2214
|
gt?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -2615,7 +2597,6 @@ export type TCreateContributionType = {
|
|
|
2615
2597
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
2616
2598
|
databaseId?: InputMaybe<Scalars['UUID']['input']>;
|
|
2617
2599
|
external_id: Scalars['String']['input'];
|
|
2618
|
-
is_read?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2619
2600
|
is_used_in_live?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2620
2601
|
text: Scalars['String']['input'];
|
|
2621
2602
|
username: Scalars['String']['input'];
|
|
@@ -2879,6 +2860,7 @@ export type TCreateLivePostFromSynchroType = {
|
|
|
2879
2860
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
2880
2861
|
comment_id?: InputMaybe<Scalars['ID']['input']>;
|
|
2881
2862
|
content_md?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
2863
|
+
contribution_id?: InputMaybe<Scalars['ID']['input']>;
|
|
2882
2864
|
contribution_text?: InputMaybe<Scalars['String']['input']>;
|
|
2883
2865
|
contribution_username?: InputMaybe<Scalars['String']['input']>;
|
|
2884
2866
|
created_at?: InputMaybe<Scalars['DateTime']['input']>;
|
|
@@ -2917,6 +2899,7 @@ export type TCreateLivePostType = {
|
|
|
2917
2899
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
2918
2900
|
comment_id?: InputMaybe<Scalars['ID']['input']>;
|
|
2919
2901
|
content_md?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
2902
|
+
contribution_id?: InputMaybe<Scalars['ID']['input']>;
|
|
2920
2903
|
contribution_text?: InputMaybe<Scalars['String']['input']>;
|
|
2921
2904
|
contribution_username?: InputMaybe<Scalars['String']['input']>;
|
|
2922
2905
|
databaseId?: InputMaybe<Scalars['UUID']['input']>;
|
|
@@ -5965,6 +5948,7 @@ export type TLivePost = TNode & TTimestampable & {
|
|
|
5965
5948
|
comment?: Maybe<TCommentSingleConnection>;
|
|
5966
5949
|
comment_id?: Maybe<Scalars['ID']['output']>;
|
|
5967
5950
|
content_md?: Maybe<Scalars['JSONObject']['output']>;
|
|
5951
|
+
contribution_id?: Maybe<Scalars['ID']['output']>;
|
|
5968
5952
|
contribution_text?: Maybe<Scalars['String']['output']>;
|
|
5969
5953
|
contribution_username?: Maybe<Scalars['String']['output']>;
|
|
5970
5954
|
created_at?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -10824,6 +10808,7 @@ export type TPublishableContentFilter = {
|
|
|
10824
10808
|
sentiment?: InputMaybe<TPublishableContentSentimentFilter>;
|
|
10825
10809
|
signature_inline_type?: InputMaybe<TSignatureInlineTypeFilter>;
|
|
10826
10810
|
signature_inline_user_back_ids?: InputMaybe<TSignatureInlineUserBackIdsFilter>;
|
|
10811
|
+
subtype_id?: InputMaybe<TPublishableContentSubtypeIdFilter>;
|
|
10827
10812
|
tag_ids?: InputMaybe<TPublishableContentTagIdsFilter>;
|
|
10828
10813
|
text_url?: InputMaybe<TPublishableContentTextUrlFilter>;
|
|
10829
10814
|
title?: InputMaybe<TPublishableContentTitleFilter>;
|
|
@@ -10934,6 +10919,22 @@ export type TPublishableContentSingleConnection = {
|
|
|
10934
10919
|
node?: Maybe<TPublishableContent>;
|
|
10935
10920
|
resolveInfo?: Maybe<TResolveInfo>;
|
|
10936
10921
|
};
|
|
10922
|
+
export type TPublishableContentSubtypeIdFilter = {
|
|
10923
|
+
eq?: InputMaybe<Scalars['ID']['input']>;
|
|
10924
|
+
gt?: InputMaybe<Scalars['ID']['input']>;
|
|
10925
|
+
gte?: InputMaybe<Scalars['ID']['input']>;
|
|
10926
|
+
ilike?: InputMaybe<Scalars['ID']['input']>;
|
|
10927
|
+
in?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
10928
|
+
like?: InputMaybe<Scalars['ID']['input']>;
|
|
10929
|
+
lt?: InputMaybe<Scalars['ID']['input']>;
|
|
10930
|
+
lte?: InputMaybe<Scalars['ID']['input']>;
|
|
10931
|
+
ne?: InputMaybe<Scalars['ID']['input']>;
|
|
10932
|
+
nilike?: InputMaybe<Scalars['ID']['input']>;
|
|
10933
|
+
nin?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
10934
|
+
nlike?: InputMaybe<Scalars['ID']['input']>;
|
|
10935
|
+
nre?: InputMaybe<Scalars['ID']['input']>;
|
|
10936
|
+
re?: InputMaybe<Scalars['ID']['input']>;
|
|
10937
|
+
};
|
|
10937
10938
|
export type TPublishableContentTagIdsFilter = {
|
|
10938
10939
|
eq?: InputMaybe<Scalars['ID']['input']>;
|
|
10939
10940
|
gt?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -13093,7 +13094,7 @@ export type TSubscription = {
|
|
|
13093
13094
|
articleUpdated?: Maybe<TArticleSingleConnection>;
|
|
13094
13095
|
articleUpdatedWithAI?: Maybe<TArticleSingleConnection>;
|
|
13095
13096
|
commentUpdated?: Maybe<TCommentSingleConnection>;
|
|
13096
|
-
|
|
13097
|
+
contributionUpserted?: Maybe<TContributionSingleConnection>;
|
|
13097
13098
|
livePostHandled?: Maybe<TLivePostSingleConnection>;
|
|
13098
13099
|
liveUpdated?: Maybe<TLiveSingleConnection>;
|
|
13099
13100
|
menuUpdated?: Maybe<TMenuSingleConnection>;
|
|
@@ -13115,7 +13116,7 @@ export type TSubscriptionArticleUpdatedWithAiArgs = {
|
|
|
13115
13116
|
export type TSubscriptionCommentUpdatedArgs = {
|
|
13116
13117
|
filter?: InputMaybe<TCommentFilter>;
|
|
13117
13118
|
};
|
|
13118
|
-
export type
|
|
13119
|
+
export type TSubscriptionContributionUpsertedArgs = {
|
|
13119
13120
|
filter?: InputMaybe<TContributionFilter>;
|
|
13120
13121
|
};
|
|
13121
13122
|
export type TSubscriptionLivePostHandledArgs = {
|
|
@@ -14039,7 +14040,6 @@ export type TUpdateContributionType = {
|
|
|
14039
14040
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
14040
14041
|
external_id?: InputMaybe<Scalars['String']['input']>;
|
|
14041
14042
|
id: Scalars['ID']['input'];
|
|
14042
|
-
is_read?: InputMaybe<Scalars['Boolean']['input']>;
|
|
14043
14043
|
is_used_in_live?: InputMaybe<Scalars['Boolean']['input']>;
|
|
14044
14044
|
text?: InputMaybe<Scalars['String']['input']>;
|
|
14045
14045
|
username?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -14308,6 +14308,7 @@ export type TUpdateLivePostFromSynchroType = {
|
|
|
14308
14308
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
14309
14309
|
comment_id?: InputMaybe<Scalars['ID']['input']>;
|
|
14310
14310
|
content_md?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
14311
|
+
contribution_id?: InputMaybe<Scalars['ID']['input']>;
|
|
14311
14312
|
contribution_text?: InputMaybe<Scalars['String']['input']>;
|
|
14312
14313
|
contribution_username?: InputMaybe<Scalars['String']['input']>;
|
|
14313
14314
|
edited_at?: InputMaybe<Scalars['DateTime']['input']>;
|
|
@@ -14345,6 +14346,7 @@ export type TUpdateLivePostType = {
|
|
|
14345
14346
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
14346
14347
|
comment_id?: InputMaybe<Scalars['ID']['input']>;
|
|
14347
14348
|
content_md?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
14349
|
+
contribution_id?: InputMaybe<Scalars['ID']['input']>;
|
|
14348
14350
|
contribution_text?: InputMaybe<Scalars['String']['input']>;
|
|
14349
14351
|
contribution_username?: InputMaybe<Scalars['String']['input']>;
|
|
14350
14352
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -15271,6 +15273,7 @@ export type TUserFront = TNode & TTimestampable & {
|
|
|
15271
15273
|
grades?: Maybe<Array<Maybe<Grade>>>;
|
|
15272
15274
|
id: Scalars['ID']['output'];
|
|
15273
15275
|
inseecode?: Maybe<Scalars['String']['output']>;
|
|
15276
|
+
last_login_at?: Maybe<Scalars['DateTime']['output']>;
|
|
15274
15277
|
lastname?: Maybe<Scalars['String']['output']>;
|
|
15275
15278
|
legacy_id?: Maybe<Scalars['Int']['output']>;
|
|
15276
15279
|
local?: Maybe<Local>;
|
|
@@ -15393,6 +15396,7 @@ export declare enum UserFrontOrderField {
|
|
|
15393
15396
|
EMAIL = "EMAIL",
|
|
15394
15397
|
FIRSTNAME = "FIRSTNAME",
|
|
15395
15398
|
LASTNAME = "LASTNAME",
|
|
15399
|
+
LAST_LOGIN_AT = "LAST_LOGIN_AT",
|
|
15396
15400
|
USERNAME = "USERNAME"
|
|
15397
15401
|
}
|
|
15398
15402
|
export type TUserFrontPayload = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@20minutes/tyr",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.2",
|
|
4
4
|
"repository": "git@github.com:20minutes/tyr.git",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "20 Minutes",
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"@aws-sdk/client-s3": "3.577.0",
|
|
67
67
|
"@babel/core": "^7.24.5",
|
|
68
68
|
"@graphql-codegen/cli": "^5.0.2",
|
|
69
|
-
"@graphql-codegen/typescript": "^4.0.
|
|
70
|
-
"@graphql-codegen/typescript-operations": "^4.2.
|
|
69
|
+
"@graphql-codegen/typescript": "^4.0.7",
|
|
70
|
+
"@graphql-codegen/typescript-operations": "^4.2.1",
|
|
71
71
|
"@octokit/core": "5.1.0",
|
|
72
72
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
73
73
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"@types/react": "^18.3.2",
|
|
88
88
|
"@types/react-dom": "^18.3.0",
|
|
89
89
|
"@types/sinon": "^17.0.3",
|
|
90
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
91
|
-
"@typescript-eslint/parser": "^7.
|
|
90
|
+
"@typescript-eslint/eslint-plugin": "^7.10.0",
|
|
91
|
+
"@typescript-eslint/parser": "^7.10.0",
|
|
92
92
|
"@vitejs/plugin-react": "^4.2.1",
|
|
93
93
|
"@vitest/coverage-v8": "^1.6.0",
|
|
94
94
|
"babel-loader": "^9.1.3",
|