Skip to content

Commit f6aac6d

Browse files
Refactor old tables and extract some vars (#328)
* updated patreon triggers * updated vtube studio triggers * extracted VTubeModel vars * extract Patreon vars * fix: add consistent yaml spacing, fix typos --------- Co-authored-by: Whipstickgostop <8366326+Whipstickgostop@users.noreply.github.com>
1 parent 6a7fe36 commit f6aac6d

18 files changed

+701
-428
lines changed
Lines changed: 82 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,82 @@
1-
# Follow Created
2-
Patreon follow created.
3-
4-
## Details
5-
This event triggers when you get a follow in Patreon.
6-
7-
## Variables
8-
:variables-description
9-
10-
Name | Description
11-
----:|:------------
12-
`id` | The ID of this event.
13-
`attributes.campaign_lifetime_support_cents` | All the money that the campaign has raised (in U.S. cents).
14-
`attributes.currently_entitled_amount_cents` | All the money that the pledge has raised (in U.S. cents).
15-
`attributes.email` | The full email address of the plegder.
16-
`attributes.full_name` | The full name of the plegder. <br> `John Doe`
17-
`attributes.is_follower` | If the user is a follower. <br> `True`/`False`
18-
`attributes.last_charge_date` | The date the pledge was created. <br> `2022-07-27T15:11:03.000+00:00`
19-
`attributes.last_charge_status` | The charge status of the pledge. <br> `True`/`False`
20-
`attributes.lifetime_support_cents` | The amount of cents the user has given (in U.S. cents).
21-
`attributes.next_charge_date` | Then next charge date of the user.
22-
`attributes.note` | The note that the user has given.
23-
`attributes.patron_status` | If the user is subscribed to your patreon.
24-
`attributes.pledge_cadence` | Number of months between charges.
25-
`attributes.pledge_relationship_start` | The date that the user subscribed to your patron.
26-
`attributes.will_pay_amount_cents` | The amount of cents the user has given (in U.S. cents).
27-
`user.Attributes.about` | The about text of the user.
28-
`user.Attributes.created` | When the account of the user was created.
29-
`user.Attributes.full_name` | The full name of the user. <br> `John Doe`
30-
`user.Attributes.first_name` | The first name of the user. <br> `John`
31-
`user.Attributes.last_name` | The last name of the user. <br> `Doe`
32-
`user.Attributes.hide_pledges` | If the user has their pledges hidden.
33-
`user.Attributes.image_url` | The profile image of the patron.
34-
`user.Attributes.is_creator` | If the user is a creator. <br> `True`/`False`
35-
`user.Attributes.like_count` | The like count of the user.
36-
`user.Attributes.social_connections.deviantart` | The link to the user's DeviantArt, returns null if not filled out.
37-
`user.Attributes.social_connections.discord.url` | The link to the user's Discord, returns null if not filled out.
38-
`user.Attributes.social_connections.discord.user_id` | The user's Discord ID, returns null if not filled out.
39-
`user.Attributes.social_connections.facebook` | The link to the user's Facebook, returns null if not filled out.
40-
`user.Attributes.social_connections.google` | The link to the user's Google, returns null if not filled out.
41-
`user.Attributes.social_connections.instagram` | The link to the user's Instagram, returns null if not filled out.
42-
`user.Attributes.social_connections.reddit` | The link to the user's Reddit, returns null if not filled out.
43-
`user.Attributes.social_connections.spotify` | The link to the user's Spotify, returns null if not filled out.
44-
`user.Attributes.social_connections.twitch` | The link to the user's Twitch, returns null if not filled out.
45-
`user.Attributes.social_connections.twitter.url` | The link to the user's Twitter, returns null if not filled out.
46-
`user.Attributes.social_connections.twitter.user_id` | The user's Twitter ID, returns null if not filled out.
47-
`user.Attributes.social_connections.vimeo` | The link to the user's Vimeo, returns null if not filled out.
48-
`user.Attributes.social_connections.youtube` | The link to the user's YouTube, returns null if not filled out.
49-
`user.Attributes.thumb_url` | The user's thumbnail URL.
50-
`user.Attributes.url` | The user's profile URL.
51-
`user.Attributes.vanity` | The public "username" of the user. patreon.com/ goes to this user's creator page. For non-creator users it might be null.
52-
`user.id` | The user's ID.
53-
`user.type` | The user's type. <br> `user`
54-
`entitledTiers[#].Attributes.title` | The title of this tier.
55-
`entitledTiers[#].Attributes.description` | The description of this tier.
56-
`entitledTiers[#].Attributes.amount_cents` | Monetary amount associated with this tier (in U.S. cents).
57-
`entitledTiers[#].Attributes.created_at` | When this tier was created.
58-
`entitledTiers[#].Attributes.discord_role_ids` | The discord role IDs granted by this tier. Can be null.
59-
`entitledTiers[#].Attributes.edited_at` | When this tier was last edited.
60-
`entitledTiers[#].Attributes.image_url` | The image URL of this tier.
61-
`entitledTiers[#].Attributes.patron_count` | The amount of patron that have subscribed to this tier.
62-
`entitledTiers[#].Attributes.post_count` | The amount of posts that this tier can see.
63-
`entitledTiers[#].Attributes.published` | If this tier is published <br> `True`/`False`.
64-
`entitledTiers[#].Attributes.published_at` | When this tier was published.
65-
`entitledTiers[#].Attributes.remaining` | How much remaining users this tier has.
66-
`entitledTiers[#].Attributes.requires_shipping` | If this tier requires shipping <br> `True`/`False`.
67-
`entitledTiers[#].Attributes.unpublished_at` | When this tier was unpublished.
68-
`entitledTiers[#].Attributes.url` | The URL of this tier.
69-
`entitledTiers[#].Attributes.user_limit` | The user limit of this tier.
70-
`entitledTiers[#].id` | The ID of this tier.
71-
`entitledTiers[#].type` | The type of this tier.
1+
---
2+
title: Follow Created
3+
description: This event triggers when you get a follow in Patreon.
4+
variables:
5+
- name: entitledTiers[#].Attributes.title
6+
type: string
7+
description: The title of this tier.
8+
value:
9+
- name: entitledTiers[#].Attributes.description
10+
type: string
11+
description: The description of this tier.
12+
value:
13+
- name: entitledTiers[#].Attributes.amount_cents
14+
type: string
15+
description: Monetary amount associated with this tier (in U.S. cents).
16+
value: 0
17+
- name: entitledTiers[#].Attributes.created_at
18+
type: string
19+
description: When this tier was created.
20+
value: 01/01/0001 00:00:00
21+
- name: entitledTiers[#].Attributes.discord_role_ids
22+
type: string
23+
description: The discord role IDs granted by this tier. Can be null.
24+
value:
25+
- name: entitledTiers[#].Attributes.edited_at
26+
type: string
27+
description: When this tier was last edited.
28+
value: 01/01/0001 00:00:00
29+
- name: entitledTiers[#].Attributes.image_url
30+
type: string
31+
description: The image URL of this tier.
32+
value:
33+
- name: entitledTiers[#].Attributes.patron_count
34+
type: number
35+
description: The amount of patron that have subscribed to this tier.
36+
value: 0
37+
- name: entitledTiers[#].Attributes.post_count
38+
type: number
39+
description: The amount of posts that this tier can see.
40+
value: 0
41+
- name: entitledTiers[#].Attributes.published
42+
type: boolean
43+
description: If this tier is published
44+
value: True
45+
- name: entitledTiers[#].Attributes.published_at
46+
type: string
47+
description: When this tier was published.
48+
value: 01/01/0001 00:00:00
49+
- name: entitledTiers[#].Attributes.remaining
50+
type: number
51+
description: How much remaining users this tier has.
52+
value: 0
53+
- name: entitledTiers[#].Attributes.requires_shipping
54+
type: boolean
55+
description: If this tier requires shipping.
56+
value: False
57+
- name: entitledTiers[#].Attributes.unpublished_at
58+
type: string
59+
description: When this tier was unpublished.
60+
value: 01/01/0001 00:00:00
61+
- name: entitledTiers[#].Attributes.url
62+
type: string
63+
description: The URL of this tier.
64+
value:
65+
- name: entitledTiers[#].Attributes.user_limit
66+
type: number
67+
description: The user limit of this tier.
68+
value: 0
69+
- name: entitledTiers[#].id
70+
type: string
71+
description: The ID of this tier.
72+
value:
73+
- name: entitledTiers[#].type
74+
type: string
75+
description: The type of this tier.
76+
value:
77+
commonVariables:
78+
- PatreonEventId
79+
- PatreonUser
80+
- PatreonUserAttributes
81+
- PatreonMemberAttributes
82+
---
Lines changed: 82 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,82 @@
1-
# Follow Deleted
2-
Patreon follow deleted.
3-
4-
## Details
5-
This event triggers when a follow gets deleted in Patreon.
6-
7-
## Variables
8-
:variables-description
9-
10-
Name | Description
11-
----:|:------------
12-
`id` | The ID of this event.
13-
`attributes.campaign_lifetime_support_cents` | All the money that the campaign has raised (in U.S. cents).
14-
`attributes.currently_entitled_amount_cents` | All the money that the pledge has raised (in U.S. cents).
15-
`attributes.email` | The full email address of the plegder.
16-
`attributes.full_name` | The full name of the plegder. <br> `John Doe`
17-
`attributes.is_follower` | If the user is a follower. <br> `True`/`False`
18-
`attributes.last_charge_date` | The date the pledge was created. <br> `2022-07-27T15:11:03.000+00:00`
19-
`attributes.last_charge_status` | The charge status of the pledge. <br> `True`/`False`
20-
`attributes.lifetime_support_cents` | The amount of cents the user has given (in U.S. cents).
21-
`attributes.next_charge_date` | Then next charge date of the user.
22-
`attributes.note` | The note that the user has given.
23-
`attributes.patron_status` | If the user is subscribed to your patreon.
24-
`attributes.pledge_cadence` | Number of months between charges.
25-
`attributes.pledge_relationship_start` | The date that the user subscribed to your patron.
26-
`attributes.will_pay_amount_cents` | The amount of cents the user has given (in U.S. cents).
27-
`user.Attributes.about` | The about text of the user.
28-
`user.Attributes.created` | When the account of the user was created.
29-
`user.Attributes.full_name` | The full name of the user. <br> `John Doe`
30-
`user.Attributes.first_name` | The first name of the user. <br> `John`
31-
`user.Attributes.last_name` | The last name of the user. <br> `Doe`
32-
`user.Attributes.hide_pledges` | If the user has their pledges hidden.
33-
`user.Attributes.image_url` | The profile image of the patron.
34-
`user.Attributes.is_creator` | If the user is a creator. <br> `True`/`False`
35-
`user.Attributes.like_count` | The like count of the user.
36-
`user.Attributes.social_connections.deviantart` | The link to the user's DeviantArt, returns null if not filled out.
37-
`user.Attributes.social_connections.discord.scopes[#]` | The user's Discord scopes, returns null if not filled out.
38-
`user.Attributes.social_connections.discord.url` | The link to the user's Discord, returns null if not filled out.
39-
`user.Attributes.social_connections.discord.user_id` | The user's Discord ID, returns null if not filled out.
40-
`user.Attributes.social_connections.facebook` | The link to the user's Facebook, returns null if not filled out.
41-
`user.Attributes.social_connections.google` | The link to the user's Google, returns null if not filled out.
42-
`user.Attributes.social_connections.instagram` | The link to the user's Instagram, returns null if not filled out.
43-
`user.Attributes.social_connections.reddit` | The link to the user's Reddit, returns null if not filled out.
44-
`user.Attributes.social_connections.spotify` | The link to the user's Spotify, returns null if not filled out.
45-
`user.Attributes.social_connections.twitch.scopes[#]` | The user's Twitch scopes, returns null if not filled out.
46-
`user.Attributes.social_connections.twitch.url` | The link to the user's Twitch, returns null if not filled out.
47-
`user.Attributes.social_connections.twitch.user_id` | The user's Twitch ID, returns null if not filled out.
48-
`user.Attributes.social_connections.twitter` | The link to the user's Twitter, returns null if not filled out.
49-
`user.Attributes.social_connections.vimeo` | The link to the user's Vimeo, returns null if not filled out.
50-
`user.Attributes.social_connections.youtube` | The link to the user's YouTube, returns null if not filled out.
51-
`user.Attributes.thumb_url` | The user's thumbnail URL.
52-
`user.Attributes.url` | The user's profile URL.
53-
`user.Attributes.vanity` | The public "username" of the user. patreon.com/ goes to this user's creator page. For non-creator users it might be null.
54-
`user.id` | The user's ID.
55-
`user.type` | The user's type. <br> `user`
56-
`entitledTiers[#].Attributes.title` | The title of this tier.
57-
`entitledTiers[#].Attributes.description` | The description of this tier.
58-
`entitledTiers[#].Attributes.amount_cents` | Monetary amount associated with this tier (in U.S. cents).
59-
`entitledTiers[#].Attributes.created_at` | When this tier was created.
60-
`entitledTiers[#].Attributes.discord_role_ids` | The discord role IDs granted by this tier. Can be null.
61-
`entitledTiers[#].Attributes.edited_at` | When this tier was last edited.
62-
`entitledTiers[#].Attributes.image_url` | The image URL of this tier.
63-
`entitledTiers[#].Attributes.patron_count` | The amount of patron that have subscribed to this tier.
64-
`entitledTiers[#].Attributes.post_count` | The amount of posts that this tier can see.
65-
`entitledTiers[#].Attributes.published` | If this tier is published <br> `True`/`False`.
66-
`entitledTiers[#].Attributes.published_at` | When this tier was published.
67-
`entitledTiers[#].Attributes.remaining` | How much remaining users this tier has.
68-
`entitledTiers[#].Attributes.requires_shipping` | If this tier requires shipping <br> `True`/`False`.
69-
`entitledTiers[#].Attributes.unpublished_at` | When this tier was unpublished.
70-
`entitledTiers[#].Attributes.url` | The URL of this tier.
71-
`entitledTiers[#].Attributes.user_limit` | The user limit of this tier.
72-
`entitledTiers[#].id` | The ID of this tier.
73-
`entitledTiers[#].type` | The type of this tier.
1+
---
2+
title: Follow Deleted
3+
description: This event triggers when a follow gets deleted in Patreon.
4+
variables:
5+
- name: entitledTiers[#].Attributes.title
6+
type: string
7+
description: The title of this tier.
8+
value:
9+
- name: entitledTiers[#].Attributes.description
10+
type: string
11+
description: The description of this tier.
12+
value:
13+
- name: entitledTiers[#].Attributes.amount_cents
14+
type: string
15+
description: Monetary amount associated with this tier (in U.S. cents).
16+
value: 0
17+
- name: entitledTiers[#].Attributes.created_at
18+
type: string
19+
description: When this tier was created.
20+
value: 01/01/0001 00:00:00
21+
- name: entitledTiers[#].Attributes.discord_role_ids
22+
type: string
23+
description: The discord role IDs granted by this tier. Can be null.
24+
value:
25+
- name: entitledTiers[#].Attributes.edited_at
26+
type: string
27+
description: When this tier was last edited.
28+
value: 01/01/0001 00:00:00
29+
- name: entitledTiers[#].Attributes.image_url
30+
type: string
31+
description: The image URL of this tier.
32+
value:
33+
- name: entitledTiers[#].Attributes.patron_count
34+
type: number
35+
description: The amount of patron that have subscribed to this tier.
36+
value: 0
37+
- name: entitledTiers[#].Attributes.post_count
38+
type: number
39+
description: The amount of posts that this tier can see.
40+
value: 0
41+
- name: entitledTiers[#].Attributes.published
42+
type: boolean
43+
description: If this tier is published
44+
value: True
45+
- name: entitledTiers[#].Attributes.published_at
46+
type: string
47+
description: When this tier was published.
48+
value: 01/01/0001 00:00:00
49+
- name: entitledTiers[#].Attributes.remaining
50+
type: number
51+
description: How much remaining users this tier has.
52+
value: 0
53+
- name: entitledTiers[#].Attributes.requires_shipping
54+
type: boolean
55+
description: If this tier requires shipping.
56+
value: False
57+
- name: entitledTiers[#].Attributes.unpublished_at
58+
type: string
59+
description: When this tier was unpublished.
60+
value: 01/01/0001 00:00:00
61+
- name: entitledTiers[#].Attributes.url
62+
type: string
63+
description: The URL of this tier.
64+
value:
65+
- name: entitledTiers[#].Attributes.user_limit
66+
type: number
67+
description: The user limit of this tier.
68+
value: 0
69+
- name: entitledTiers[#].id
70+
type: string
71+
description: The ID of this tier.
72+
value:
73+
- name: entitledTiers[#].type
74+
type: string
75+
description: The type of this tier.
76+
value:
77+
commonVariables:
78+
- PatreonEventId
79+
- PatreonUser
80+
- PatreonUserAttributes
81+
- PatreonMemberAttributes
82+
---

0 commit comments

Comments
 (0)