@devvit/protos 0.11.20-next-2025-07-28-21-05-32-e67a64bd1.0 → 0.11.20-next-2025-07-28-21-28-35-48e67f2ad.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/json/devvit/ui/effects/v1alpha/app_permission.d.ts +5 -40
- package/json/devvit/ui/effects/v1alpha/app_permission.d.ts.map +1 -1
- package/json/devvit/ui/effects/v1alpha/effect.d.ts +4 -4
- package/json/devvit/ui/effects/v1alpha/effect.d.ts.map +1 -1
- package/json/devvit/ui/effects/v1alpha/effect.js +2 -2
- package/json/devvit/ui/events/v1alpha/event.d.ts +2 -2
- package/json/devvit/ui/events/v1alpha/event.d.ts.map +1 -1
- package/json/devvit/ui/events/v1alpha/web_view.d.ts +2 -2
- package/json/devvit/ui/events/v1alpha/web_view.d.ts.map +1 -1
- package/meta.min.json +10 -10
- package/package.json +4 -4
- package/protos.min.js +1 -1
- package/protos.min.js.map +3 -3
- package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/app_permission.proto +5 -41
- package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/effect.proto +5 -3
- package/schema/.snootobuf/deps/devvit/ui/events/v1alpha/event.proto +1 -1
- package/schema/.snootobuf/deps/devvit/ui/events/v1alpha/web_view.proto +1 -1
- package/schema/devvit/ui/effects/v1alpha/app_permission.proto +5 -41
- package/schema/devvit/ui/effects/v1alpha/effect.proto +5 -3
- package/schema/devvit/ui/events/v1alpha/event.proto +1 -1
- package/schema/devvit/ui/events/v1alpha/web_view.proto +1 -1
- package/schema/snootobuf.lock +0 -0
- package/schema/snootobuf.redditapi.lock +0 -0
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +12 -88
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts.map +1 -1
- package/types/devvit/ui/effects/v1alpha/app_permission.d.ts +21 -82
- package/types/devvit/ui/effects/v1alpha/app_permission.d.ts.map +1 -1
- package/types/devvit/ui/effects/v1alpha/app_permission.js +21 -369
- package/types/devvit/ui/effects/v1alpha/effect.d.ts +4 -4
- package/types/devvit/ui/effects/v1alpha/effect.d.ts.map +1 -1
- package/types/devvit/ui/effects/v1alpha/effect.js +19 -21
- package/types/devvit/ui/events/v1alpha/event.d.ts +2 -2
- package/types/devvit/ui/events/v1alpha/event.d.ts.map +1 -1
- package/types/devvit/ui/events/v1alpha/event.js +13 -17
- package/types/devvit/ui/events/v1alpha/web_view.d.ts +2 -2
- package/types/devvit/ui/events/v1alpha/web_view.d.ts.map +1 -1
- package/types/devvit/ui/events/v1alpha/web_view.js +13 -17
@@ -7,49 +7,13 @@ import "reddit/devvit/app_permission/v1/app_permission.proto";
|
|
7
7
|
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/ui/effects/v1alpha";
|
8
8
|
option java_package = "com.reddit.devvit.ui.effects.v1alpha";
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
string id = 1;
|
14
|
-
// url to the user's icon (if available)
|
15
|
-
optional string icon = 2;
|
16
|
-
// url to the user's Snoovatar icon (if available)
|
17
|
-
optional string snoovatar_icon = 3;
|
18
|
-
}
|
19
|
-
|
20
|
-
message DevvitApp {
|
21
|
-
// unique identifier for the app (e.g. "comment-nuke")
|
22
|
-
string app_slug = 1;
|
23
|
-
// human readable name of the app (e.g. "Comment Mop")
|
24
|
-
string app_name = 2;
|
25
|
-
// url to the terms and conditions of the app
|
26
|
-
optional string terms_and_conditions_url = 3;
|
27
|
-
// url to the privacy policy of the app
|
28
|
-
optional string privacy_policy_url = 4;
|
29
|
-
}
|
30
|
-
|
31
|
-
message Subreddit {
|
32
|
-
// t5_<subreddit_id>
|
33
|
-
string id = 1;
|
34
|
-
// name of the subreddit (not prefixed with r/)
|
35
|
-
string name = 2;
|
36
|
-
// true if the subreddit is nsfw
|
37
|
-
optional bool is_nsfw = 3;
|
38
|
-
// url to the subreddit's icon (if available)
|
39
|
-
optional string icon = 4;
|
40
|
-
}
|
41
|
-
|
42
|
-
// app that the app is requesting permission to access
|
43
|
-
DevvitApp app = 1;
|
44
|
-
// scopes that the app is requesting
|
45
|
-
repeated .reddit.devvit.app_permission.v1.Scope scopes = 2;
|
46
|
-
// subreddit that the app is requesting permission to access
|
47
|
-
Subreddit subreddit = 3;
|
48
|
-
// redditor that the app is requesting permission to access
|
49
|
-
Redditor redditor = 4;
|
10
|
+
// This effect is used to check if the app can execute some actions as the user
|
11
|
+
message CanRunAsUserEffect {
|
12
|
+
// empty
|
50
13
|
}
|
51
14
|
|
52
|
-
|
15
|
+
// This event is emitted when the user grants (allow) or rejects (deny) the app's permission request
|
16
|
+
message ConsentStatusEvent {
|
53
17
|
// whether the user granted or rejected the app's permission request
|
54
18
|
.reddit.devvit.app_permission.v1.ConsentStatus consent_status = 1;
|
55
19
|
}
|
@@ -44,8 +44,10 @@ enum EffectType {
|
|
44
44
|
// Control and communicate with WebViews
|
45
45
|
EFFECT_WEB_VIEW = 9;
|
46
46
|
|
47
|
-
//
|
48
|
-
|
47
|
+
// Check if the app can execute some actions as the user
|
48
|
+
EFFECT_CAN_RUN_AS_USER = 11;
|
49
|
+
|
50
|
+
// next 12
|
49
51
|
}
|
50
52
|
|
51
53
|
message Effect {
|
@@ -59,7 +61,7 @@ message Effect {
|
|
59
61
|
SetIntervalsEffect interval = 9;
|
60
62
|
CreateOrderEffect create_order = 10;
|
61
63
|
devvit.ui.effects.web_view.v1alpha.WebViewEffect web_view = 11;
|
62
|
-
|
64
|
+
CanRunAsUserEffect can_run_as_user = 13;
|
63
65
|
}
|
64
66
|
|
65
67
|
//TODO: remove this field once all clients are updated. Redundant with effect_type
|
@@ -38,7 +38,7 @@ message UIEvent {
|
|
38
38
|
ResizeEvent resize = 14;
|
39
39
|
WebViewEvent web_view = 20;
|
40
40
|
devvit.ui.effects.v1alpha.FormCanceledEvent form_canceled = 21;
|
41
|
-
devvit.ui.effects.v1alpha.
|
41
|
+
devvit.ui.effects.v1alpha.ConsentStatusEvent consent_status = 23;
|
42
42
|
}
|
43
43
|
|
44
44
|
// If an event is async, it can be fired in parallel with other events. Async events
|
@@ -50,6 +50,6 @@ message WebViewInternalEventMessage {
|
|
50
50
|
devvit.ui.effects.v1alpha.FormSubmittedEvent form_submitted = 3;
|
51
51
|
devvit.ui.effects.v1alpha.RealtimeSubscriptionEvent realtime_event = 4;
|
52
52
|
WebViewImmersiveModeChangedEvent immersive_mode_event = 5;
|
53
|
-
devvit.ui.effects.v1alpha.
|
53
|
+
devvit.ui.effects.v1alpha.ConsentStatusEvent consent_status = 7;
|
54
54
|
}
|
55
55
|
}
|
@@ -7,49 +7,13 @@ import "reddit/devvit/app_permission/v1/app_permission.proto";
|
|
7
7
|
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/ui/effects/v1alpha";
|
8
8
|
option java_package = "com.reddit.devvit.ui.effects.v1alpha";
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
string id = 1;
|
14
|
-
// url to the user's icon (if available)
|
15
|
-
optional string icon = 2;
|
16
|
-
// url to the user's Snoovatar icon (if available)
|
17
|
-
optional string snoovatar_icon = 3;
|
18
|
-
}
|
19
|
-
|
20
|
-
message DevvitApp {
|
21
|
-
// unique identifier for the app (e.g. "comment-nuke")
|
22
|
-
string app_slug = 1;
|
23
|
-
// human readable name of the app (e.g. "Comment Mop")
|
24
|
-
string app_name = 2;
|
25
|
-
// url to the terms and conditions of the app
|
26
|
-
optional string terms_and_conditions_url = 3;
|
27
|
-
// url to the privacy policy of the app
|
28
|
-
optional string privacy_policy_url = 4;
|
29
|
-
}
|
30
|
-
|
31
|
-
message Subreddit {
|
32
|
-
// t5_<subreddit_id>
|
33
|
-
string id = 1;
|
34
|
-
// name of the subreddit (not prefixed with r/)
|
35
|
-
string name = 2;
|
36
|
-
// true if the subreddit is nsfw
|
37
|
-
optional bool is_nsfw = 3;
|
38
|
-
// url to the subreddit's icon (if available)
|
39
|
-
optional string icon = 4;
|
40
|
-
}
|
41
|
-
|
42
|
-
// app that the app is requesting permission to access
|
43
|
-
DevvitApp app = 1;
|
44
|
-
// scopes that the app is requesting
|
45
|
-
repeated .reddit.devvit.app_permission.v1.Scope scopes = 2;
|
46
|
-
// subreddit that the app is requesting permission to access
|
47
|
-
Subreddit subreddit = 3;
|
48
|
-
// redditor that the app is requesting permission to access
|
49
|
-
Redditor redditor = 4;
|
10
|
+
// This effect is used to check if the app can execute some actions as the user
|
11
|
+
message CanRunAsUserEffect {
|
12
|
+
// empty
|
50
13
|
}
|
51
14
|
|
52
|
-
|
15
|
+
// This event is emitted when the user grants (allow) or rejects (deny) the app's permission request
|
16
|
+
message ConsentStatusEvent {
|
53
17
|
// whether the user granted or rejected the app's permission request
|
54
18
|
.reddit.devvit.app_permission.v1.ConsentStatus consent_status = 1;
|
55
19
|
}
|
@@ -44,8 +44,10 @@ enum EffectType {
|
|
44
44
|
// Control and communicate with WebViews
|
45
45
|
EFFECT_WEB_VIEW = 9;
|
46
46
|
|
47
|
-
//
|
48
|
-
|
47
|
+
// Check if the app can execute some actions as the user
|
48
|
+
EFFECT_CAN_RUN_AS_USER = 11;
|
49
|
+
|
50
|
+
// next 12
|
49
51
|
}
|
50
52
|
|
51
53
|
message Effect {
|
@@ -59,7 +61,7 @@ message Effect {
|
|
59
61
|
SetIntervalsEffect interval = 9;
|
60
62
|
CreateOrderEffect create_order = 10;
|
61
63
|
devvit.ui.effects.web_view.v1alpha.WebViewEffect web_view = 11;
|
62
|
-
|
64
|
+
CanRunAsUserEffect can_run_as_user = 13;
|
63
65
|
}
|
64
66
|
|
65
67
|
//TODO: remove this field once all clients are updated. Redundant with effect_type
|
@@ -38,7 +38,7 @@ message UIEvent {
|
|
38
38
|
ResizeEvent resize = 14;
|
39
39
|
WebViewEvent web_view = 20;
|
40
40
|
devvit.ui.effects.v1alpha.FormCanceledEvent form_canceled = 21;
|
41
|
-
devvit.ui.effects.v1alpha.
|
41
|
+
devvit.ui.effects.v1alpha.ConsentStatusEvent consent_status = 23;
|
42
42
|
}
|
43
43
|
|
44
44
|
// If an event is async, it can be fired in parallel with other events. Async events
|
@@ -50,6 +50,6 @@ message WebViewInternalEventMessage {
|
|
50
50
|
devvit.ui.effects.v1alpha.FormSubmittedEvent form_submitted = 3;
|
51
51
|
devvit.ui.effects.v1alpha.RealtimeSubscriptionEvent realtime_event = 4;
|
52
52
|
WebViewImmersiveModeChangedEvent immersive_mode_event = 5;
|
53
|
-
devvit.ui.effects.v1alpha.
|
53
|
+
devvit.ui.effects.v1alpha.ConsentStatusEvent consent_status = 7;
|
54
54
|
}
|
55
55
|
}
|
package/schema/snootobuf.lock
CHANGED
Binary file
|
Binary file
|
@@ -265,7 +265,7 @@ export declare const CustomPostDefinition: {
|
|
265
265
|
formCanceled?: {
|
266
266
|
formId?: string | undefined | undefined;
|
267
267
|
} | undefined;
|
268
|
-
|
268
|
+
consentStatus?: {
|
269
269
|
consentStatus?: import("../../../../reddit/devvit/app_permission/v1/app_permission.js").ConsentStatus;
|
270
270
|
} | undefined;
|
271
271
|
async?: boolean | undefined | undefined;
|
@@ -373,7 +373,7 @@ export declare const CustomPostDefinition: {
|
|
373
373
|
formCanceled?: {
|
374
374
|
formId?: string | undefined | undefined;
|
375
375
|
} | undefined;
|
376
|
-
|
376
|
+
consentStatus?: {
|
377
377
|
consentStatus?: import("../../../../reddit/devvit/app_permission/v1/app_permission.js").ConsentStatus;
|
378
378
|
} | undefined;
|
379
379
|
async?: boolean | undefined | undefined;
|
@@ -543,26 +543,7 @@ export declare const CustomPostDefinition: {
|
|
543
543
|
id?: string;
|
544
544
|
} | undefined;
|
545
545
|
} | undefined;
|
546
|
-
|
547
|
-
app?: {
|
548
|
-
appSlug?: string;
|
549
|
-
appName?: string;
|
550
|
-
termsAndConditionsUrl?: string | undefined | undefined;
|
551
|
-
privacyPolicyUrl?: string | undefined | undefined;
|
552
|
-
} | undefined;
|
553
|
-
scopes?: import("../../../../../index.js").Scope[];
|
554
|
-
subreddit?: {
|
555
|
-
id?: string;
|
556
|
-
name?: string;
|
557
|
-
isNsfw?: boolean | undefined | undefined;
|
558
|
-
icon?: string | undefined | undefined;
|
559
|
-
} | undefined;
|
560
|
-
redditor?: {
|
561
|
-
id?: string;
|
562
|
-
icon?: string | undefined | undefined;
|
563
|
-
snoovatarIcon?: string | undefined | undefined;
|
564
|
-
} | undefined;
|
565
|
-
} | undefined;
|
546
|
+
canRunAsUser?: {} | undefined;
|
566
547
|
type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
|
567
548
|
}[];
|
568
549
|
events?: {
|
@@ -646,7 +627,7 @@ export declare const CustomPostDefinition: {
|
|
646
627
|
formCanceled?: {
|
647
628
|
formId?: string | undefined | undefined;
|
648
629
|
} | undefined;
|
649
|
-
|
630
|
+
consentStatus?: {
|
650
631
|
consentStatus?: import("../../../../reddit/devvit/app_permission/v1/app_permission.js").ConsentStatus;
|
651
632
|
} | undefined;
|
652
633
|
async?: boolean | undefined | undefined;
|
@@ -973,26 +954,7 @@ export declare const CustomPostDefinition: {
|
|
973
954
|
id?: string;
|
974
955
|
} | undefined;
|
975
956
|
} | undefined;
|
976
|
-
|
977
|
-
app?: {
|
978
|
-
appSlug?: string;
|
979
|
-
appName?: string;
|
980
|
-
termsAndConditionsUrl?: string | undefined | undefined;
|
981
|
-
privacyPolicyUrl?: string | undefined | undefined;
|
982
|
-
} | undefined;
|
983
|
-
scopes?: import("../../../../../index.js").Scope[];
|
984
|
-
subreddit?: {
|
985
|
-
id?: string;
|
986
|
-
name?: string;
|
987
|
-
isNsfw?: boolean | undefined | undefined;
|
988
|
-
icon?: string | undefined | undefined;
|
989
|
-
} | undefined;
|
990
|
-
redditor?: {
|
991
|
-
id?: string;
|
992
|
-
icon?: string | undefined | undefined;
|
993
|
-
snoovatarIcon?: string | undefined | undefined;
|
994
|
-
} | undefined;
|
995
|
-
} | undefined;
|
957
|
+
canRunAsUser?: {} | undefined;
|
996
958
|
type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
|
997
959
|
}[];
|
998
960
|
events?: {
|
@@ -1076,7 +1038,7 @@ export declare const CustomPostDefinition: {
|
|
1076
1038
|
formCanceled?: {
|
1077
1039
|
formId?: string | undefined | undefined;
|
1078
1040
|
} | undefined;
|
1079
|
-
|
1041
|
+
consentStatus?: {
|
1080
1042
|
consentStatus?: import("../../../../reddit/devvit/app_permission/v1/app_permission.js").ConsentStatus;
|
1081
1043
|
} | undefined;
|
1082
1044
|
async?: boolean | undefined | undefined;
|
@@ -1361,7 +1323,7 @@ export declare const CustomPostDefinition: {
|
|
1361
1323
|
formCanceled?: {
|
1362
1324
|
formId?: string | undefined | undefined;
|
1363
1325
|
} | undefined;
|
1364
|
-
|
1326
|
+
consentStatus?: {
|
1365
1327
|
consentStatus?: import("../../../../reddit/devvit/app_permission/v1/app_permission.js").ConsentStatus;
|
1366
1328
|
} | undefined;
|
1367
1329
|
async?: boolean | undefined | undefined;
|
@@ -1469,7 +1431,7 @@ export declare const CustomPostDefinition: {
|
|
1469
1431
|
formCanceled?: {
|
1470
1432
|
formId?: string | undefined | undefined;
|
1471
1433
|
} | undefined;
|
1472
|
-
|
1434
|
+
consentStatus?: {
|
1473
1435
|
consentStatus?: import("../../../../reddit/devvit/app_permission/v1/app_permission.js").ConsentStatus;
|
1474
1436
|
} | undefined;
|
1475
1437
|
async?: boolean | undefined | undefined;
|
@@ -1639,26 +1601,7 @@ export declare const CustomPostDefinition: {
|
|
1639
1601
|
id?: string;
|
1640
1602
|
} | undefined;
|
1641
1603
|
} | undefined;
|
1642
|
-
|
1643
|
-
app?: {
|
1644
|
-
appSlug?: string;
|
1645
|
-
appName?: string;
|
1646
|
-
termsAndConditionsUrl?: string | undefined | undefined;
|
1647
|
-
privacyPolicyUrl?: string | undefined | undefined;
|
1648
|
-
} | undefined;
|
1649
|
-
scopes?: import("../../../../../index.js").Scope[];
|
1650
|
-
subreddit?: {
|
1651
|
-
id?: string;
|
1652
|
-
name?: string;
|
1653
|
-
isNsfw?: boolean | undefined | undefined;
|
1654
|
-
icon?: string | undefined | undefined;
|
1655
|
-
} | undefined;
|
1656
|
-
redditor?: {
|
1657
|
-
id?: string;
|
1658
|
-
icon?: string | undefined | undefined;
|
1659
|
-
snoovatarIcon?: string | undefined | undefined;
|
1660
|
-
} | undefined;
|
1661
|
-
} | undefined;
|
1604
|
+
canRunAsUser?: {} | undefined;
|
1662
1605
|
type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
|
1663
1606
|
}[];
|
1664
1607
|
events?: {
|
@@ -1742,7 +1685,7 @@ export declare const CustomPostDefinition: {
|
|
1742
1685
|
formCanceled?: {
|
1743
1686
|
formId?: string | undefined | undefined;
|
1744
1687
|
} | undefined;
|
1745
|
-
|
1688
|
+
consentStatus?: {
|
1746
1689
|
consentStatus?: import("../../../../reddit/devvit/app_permission/v1/app_permission.js").ConsentStatus;
|
1747
1690
|
} | undefined;
|
1748
1691
|
async?: boolean | undefined | undefined;
|
@@ -2069,26 +2012,7 @@ export declare const CustomPostDefinition: {
|
|
2069
2012
|
id?: string;
|
2070
2013
|
} | undefined;
|
2071
2014
|
} | undefined;
|
2072
|
-
|
2073
|
-
app?: {
|
2074
|
-
appSlug?: string;
|
2075
|
-
appName?: string;
|
2076
|
-
termsAndConditionsUrl?: string | undefined | undefined;
|
2077
|
-
privacyPolicyUrl?: string | undefined | undefined;
|
2078
|
-
} | undefined;
|
2079
|
-
scopes?: import("../../../../../index.js").Scope[];
|
2080
|
-
subreddit?: {
|
2081
|
-
id?: string;
|
2082
|
-
name?: string;
|
2083
|
-
isNsfw?: boolean | undefined | undefined;
|
2084
|
-
icon?: string | undefined | undefined;
|
2085
|
-
} | undefined;
|
2086
|
-
redditor?: {
|
2087
|
-
id?: string;
|
2088
|
-
icon?: string | undefined | undefined;
|
2089
|
-
snoovatarIcon?: string | undefined | undefined;
|
2090
|
-
} | undefined;
|
2091
|
-
} | undefined;
|
2015
|
+
canRunAsUser?: {} | undefined;
|
2092
2016
|
type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
|
2093
2017
|
}[];
|
2094
2018
|
events?: {
|
@@ -2172,7 +2096,7 @@ export declare const CustomPostDefinition: {
|
|
2172
2096
|
formCanceled?: {
|
2173
2097
|
formId?: string | undefined | undefined;
|
2174
2098
|
} | undefined;
|
2175
|
-
|
2099
|
+
consentStatus?: {
|
2176
2100
|
consentStatus?: import("../../../../reddit/devvit/app_permission/v1/app_permission.js").ConsentStatus;
|
2177
2101
|
} | undefined;
|
2178
2102
|
async?: boolean | undefined | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"custom_post.d.ts","sourceRoot":"","sources":["../../../../../../src/types/devvit/reddit/custom_post/v1alpha/custom_post.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAE/D;;;;;;;;GAQG;AACH,MAAM,WAAW,UAAU;IACzB,4EAA4E;IAC5E,MAAM,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iBAAiB;IAChC,sDAAsD;IACtD,KAAK,CAAC,EACF;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GACtB,SAAS,CAAC;IACd,kCAAkC;IAClC,MAAM,CAAC,EACH,kBAAkB,GAClB,SAAS,CAA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C,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAChE,CAAC,SAAS,EAAE,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACrD,OAAO,CAAC,CAAC,CAAC,CAAC"}
|
@@ -5,93 +5,32 @@
|
|
5
5
|
* @packageDocumentation
|
6
6
|
*/
|
7
7
|
import _m0 from "protobufjs/minimal.js";
|
8
|
-
import { ConsentStatus
|
9
|
-
|
10
|
-
|
11
|
-
app?: ObtainAppPermissionsEffect_DevvitApp | undefined;
|
12
|
-
/** scopes that the app is requesting */
|
13
|
-
scopes: Scope[];
|
14
|
-
/** subreddit that the app is requesting permission to access */
|
15
|
-
subreddit?: ObtainAppPermissionsEffect_Subreddit | undefined;
|
16
|
-
/** redditor that the app is requesting permission to access */
|
17
|
-
redditor?: ObtainAppPermissionsEffect_Redditor | undefined;
|
8
|
+
import { ConsentStatus } from "../../../../reddit/devvit/app_permission/v1/app_permission.js";
|
9
|
+
/** This effect is used to check if the app can execute some actions as the user */
|
10
|
+
export interface CanRunAsUserEffect {
|
18
11
|
}
|
19
|
-
|
20
|
-
|
21
|
-
id: string;
|
22
|
-
/** url to the user's icon (if available) */
|
23
|
-
icon?: string | undefined;
|
24
|
-
/** url to the user's Snoovatar icon (if available) */
|
25
|
-
snoovatarIcon?: string | undefined;
|
26
|
-
}
|
27
|
-
export interface ObtainAppPermissionsEffect_DevvitApp {
|
28
|
-
/** unique identifier for the app (e.g. "comment-nuke") */
|
29
|
-
appSlug: string;
|
30
|
-
/** human readable name of the app (e.g. "Comment Mop") */
|
31
|
-
appName: string;
|
32
|
-
/** url to the terms and conditions of the app */
|
33
|
-
termsAndConditionsUrl?: string | undefined;
|
34
|
-
/** url to the privacy policy of the app */
|
35
|
-
privacyPolicyUrl?: string | undefined;
|
36
|
-
}
|
37
|
-
export interface ObtainAppPermissionsEffect_Subreddit {
|
38
|
-
/** t5_<subreddit_id> */
|
39
|
-
id: string;
|
40
|
-
/** name of the subreddit (not prefixed with r/) */
|
41
|
-
name: string;
|
42
|
-
/** true if the subreddit is nsfw */
|
43
|
-
isNsfw?: boolean | undefined;
|
44
|
-
/** url to the subreddit's icon (if available) */
|
45
|
-
icon?: string | undefined;
|
46
|
-
}
|
47
|
-
export interface AppPermissionsConsentSubmittedEvent {
|
12
|
+
/** This event is emitted when the user grants (allow) or rejects (deny) the app's permission request */
|
13
|
+
export interface ConsentStatusEvent {
|
48
14
|
/** whether the user granted or rejected the app's permission request */
|
49
15
|
consentStatus: ConsentStatus;
|
50
16
|
}
|
51
|
-
export declare const
|
52
|
-
$type: "devvit.ui.effects.v1alpha.
|
53
|
-
encode(
|
54
|
-
decode(input: _m0.Reader | Uint8Array, length?: number):
|
55
|
-
fromJSON(
|
56
|
-
toJSON(
|
57
|
-
create(base?: DeepPartial<
|
58
|
-
fromPartial(
|
59
|
-
};
|
60
|
-
export declare const ObtainAppPermissionsEffect_Redditor: {
|
61
|
-
$type: "devvit.ui.effects.v1alpha.ObtainAppPermissionsEffect.Redditor";
|
62
|
-
encode(message: ObtainAppPermissionsEffect_Redditor, writer?: _m0.Writer): _m0.Writer;
|
63
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ObtainAppPermissionsEffect_Redditor;
|
64
|
-
fromJSON(object: any): ObtainAppPermissionsEffect_Redditor;
|
65
|
-
toJSON(message: ObtainAppPermissionsEffect_Redditor): unknown;
|
66
|
-
create(base?: DeepPartial<ObtainAppPermissionsEffect_Redditor>): ObtainAppPermissionsEffect_Redditor;
|
67
|
-
fromPartial(object: DeepPartial<ObtainAppPermissionsEffect_Redditor>): ObtainAppPermissionsEffect_Redditor;
|
68
|
-
};
|
69
|
-
export declare const ObtainAppPermissionsEffect_DevvitApp: {
|
70
|
-
$type: "devvit.ui.effects.v1alpha.ObtainAppPermissionsEffect.DevvitApp";
|
71
|
-
encode(message: ObtainAppPermissionsEffect_DevvitApp, writer?: _m0.Writer): _m0.Writer;
|
72
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ObtainAppPermissionsEffect_DevvitApp;
|
73
|
-
fromJSON(object: any): ObtainAppPermissionsEffect_DevvitApp;
|
74
|
-
toJSON(message: ObtainAppPermissionsEffect_DevvitApp): unknown;
|
75
|
-
create(base?: DeepPartial<ObtainAppPermissionsEffect_DevvitApp>): ObtainAppPermissionsEffect_DevvitApp;
|
76
|
-
fromPartial(object: DeepPartial<ObtainAppPermissionsEffect_DevvitApp>): ObtainAppPermissionsEffect_DevvitApp;
|
77
|
-
};
|
78
|
-
export declare const ObtainAppPermissionsEffect_Subreddit: {
|
79
|
-
$type: "devvit.ui.effects.v1alpha.ObtainAppPermissionsEffect.Subreddit";
|
80
|
-
encode(message: ObtainAppPermissionsEffect_Subreddit, writer?: _m0.Writer): _m0.Writer;
|
81
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ObtainAppPermissionsEffect_Subreddit;
|
82
|
-
fromJSON(object: any): ObtainAppPermissionsEffect_Subreddit;
|
83
|
-
toJSON(message: ObtainAppPermissionsEffect_Subreddit): unknown;
|
84
|
-
create(base?: DeepPartial<ObtainAppPermissionsEffect_Subreddit>): ObtainAppPermissionsEffect_Subreddit;
|
85
|
-
fromPartial(object: DeepPartial<ObtainAppPermissionsEffect_Subreddit>): ObtainAppPermissionsEffect_Subreddit;
|
17
|
+
export declare const CanRunAsUserEffect: {
|
18
|
+
$type: "devvit.ui.effects.v1alpha.CanRunAsUserEffect";
|
19
|
+
encode(_: CanRunAsUserEffect, writer?: _m0.Writer): _m0.Writer;
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CanRunAsUserEffect;
|
21
|
+
fromJSON(_: any): CanRunAsUserEffect;
|
22
|
+
toJSON(_: CanRunAsUserEffect): unknown;
|
23
|
+
create(base?: DeepPartial<CanRunAsUserEffect>): CanRunAsUserEffect;
|
24
|
+
fromPartial(_: DeepPartial<CanRunAsUserEffect>): CanRunAsUserEffect;
|
86
25
|
};
|
87
|
-
export declare const
|
88
|
-
$type: "devvit.ui.effects.v1alpha.
|
89
|
-
encode(message:
|
90
|
-
decode(input: _m0.Reader | Uint8Array, length?: number):
|
91
|
-
fromJSON(object: any):
|
92
|
-
toJSON(message:
|
93
|
-
create(base?: DeepPartial<
|
94
|
-
fromPartial(object: DeepPartial<
|
26
|
+
export declare const ConsentStatusEvent: {
|
27
|
+
$type: "devvit.ui.effects.v1alpha.ConsentStatusEvent";
|
28
|
+
encode(message: ConsentStatusEvent, writer?: _m0.Writer): _m0.Writer;
|
29
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ConsentStatusEvent;
|
30
|
+
fromJSON(object: any): ConsentStatusEvent;
|
31
|
+
toJSON(message: ConsentStatusEvent): unknown;
|
32
|
+
create(base?: DeepPartial<ConsentStatusEvent>): ConsentStatusEvent;
|
33
|
+
fromPartial(object: DeepPartial<ConsentStatusEvent>): ConsentStatusEvent;
|
95
34
|
};
|
96
35
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
97
36
|
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"app_permission.d.ts","sourceRoot":"","sources":["../../../../../../src/types/devvit/ui/effects/v1alpha/app_permission.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EACL,aAAa,
|
1
|
+
{"version":3,"file":"app_permission.d.ts","sourceRoot":"","sources":["../../../../../../src/types/devvit/ui/effects/v1alpha/app_permission.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EACL,aAAa,EAGd,MAAM,+DAA+D,CAAC;AAGvE,mFA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