Skip to content

Commit

Permalink
remove app_backend from schema and examples (#863)
Browse files Browse the repository at this point in the history
* remove app_backend from schema and examples

* remove unwanted yarn.lock at the project root

* fix tests
  • Loading branch information
svenugopal-stripe authored Jun 30, 2023
1 parent 5354af5 commit b4f5767
Show file tree
Hide file tree
Showing 24 changed files with 85 additions and 134 deletions.
3 changes: 0 additions & 3 deletions examples/accessing-contextual-data/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
"purpose": "Allows this example app to read details of a subscription"
}
],
"app_backend": {
"webhooks": null
},
"ui_extension": {
"views": [
{
Expand Down
1 change: 0 additions & 1 deletion examples/basic-auth/frontend/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"name": "OAuth2 Test",
"icon": "",
"permissions": [],
"app_backend": {},
"ui_extension": {
"views": [
{
Expand Down
3 changes: 0 additions & 3 deletions examples/climate/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"name": "Stripe Climate Example App",
"icon": "",
"permissions": [],
"app_backend": {
"webhooks": null
},
"ui_extension": {
"views": [
{
Expand Down
5 changes: 1 addition & 4 deletions examples/crm-full-stack/stripe-app/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"name": "CRM Buddy",
"icon": "",
"permissions": [],
"app_backend": {
"webhooks": null
},
"ui_extension": {
"views": [
{
Expand All @@ -26,4 +23,4 @@
}
},
"post_install_action": null
}
}
5 changes: 1 addition & 4 deletions examples/data-store/ui-extension/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
"purpose": "For storing additional data about payments"
}
],
"app_backend": {
"webhooks": []
},
"ui_extension": {
"views": [
{
Expand All @@ -39,4 +36,4 @@
}
},
"post_install_action": null
}
}
3 changes: 0 additions & 3 deletions examples/dropbox-oauth-pkce/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"purpose": "For storing secrets in Stripe."
}
],
"app_backend": {
"webhooks": null
},
"ui_extension": {
"views": [
{
Expand Down
3 changes: 0 additions & 3 deletions examples/focus-view/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"name": "FocusView Example",
"icon": "",
"permissions": [],
"app_backend": {
"webhooks": null
},
"ui_extension": {
"views": [
{
Expand Down
3 changes: 1 addition & 2 deletions examples/github-oauth/packages/frontend/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"name": "GitHub OAuth Example",
"icon": "",
"permissions": [],
"app_backend": {},
"ui_extension": {
"views": [
{
Expand All @@ -18,4 +17,4 @@
"purpose": ""
}
}
}
}
3 changes: 0 additions & 3 deletions examples/install-webhooks/frontend/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"name": "Webhooks Example App",
"icon": "",
"permissions": [],
"app_backend": {
"webhooks": null
},
"ui_extension": {
"views": [
{
Expand Down
3 changes: 0 additions & 3 deletions examples/linking-different-stripe-object/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"purpose": "Allows the home page to read the list of customers"
}
],
"app_backend": {
"webhooks": null
},
"ui_extension": {
"views": [
{
Expand Down
3 changes: 1 addition & 2 deletions examples/messaging/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"purpose": "Allows the app to access the dashboard user email."
}
],
"app_backend": {},
"ui_extension": {
"views": [
{
Expand All @@ -27,4 +26,4 @@
"purpose": ""
}
}
}
}
3 changes: 0 additions & 3 deletions examples/routing/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"name": "Router Example",
"icon": "",
"permissions": [],
"app_backend": {
"webhooks": null
},
"ui_extension": {
"views": [
{
Expand Down
3 changes: 0 additions & 3 deletions examples/secret-store/ui-extension/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"purpose": "For storing secrets in Stripe"
}
],
"app_backend": {
"webhooks": null
},
"ui_extension": {
"views": [
{
Expand Down
3 changes: 1 addition & 2 deletions examples/send-mail/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"purpose": "Allows the app to access the dashboard user email."
}
],
"app_backend": {},
"ui_extension": {
"views": [
{
Expand All @@ -23,4 +22,4 @@
"purpose": ""
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"name": "Settings View Example",
"icon": "",
"permissions": [],
"app_backend": {
"webhooks": null
},
"ui_extension": {
"views": [
{
Expand Down
5 changes: 1 addition & 4 deletions examples/settings-view/data-store-backend/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"purpose": "For storing additional data in Stripe"
}
],
"app_backend": {
"webhooks": null
},
"ui_extension": {
"views": [
{
Expand All @@ -30,4 +27,4 @@
"purpose": ""
}
}
}
}
5 changes: 1 addition & 4 deletions examples/ship-io/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"name": "Ship.IO",
"icon": "",
"permissions": [],
"app_backend": {
"webhooks": null
},
"ui_extension": {
"views": [
{
Expand All @@ -22,4 +19,4 @@
}
},
"post_install_action": null
}
}
3 changes: 0 additions & 3 deletions examples/show-toast/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"name": "Show Toast",
"icon": "./app_icon.png",
"permissions": [],
"app_backend": {
"webhooks": null
},
"ui_extension": {
"views": [
{
Expand Down
3 changes: 0 additions & 3 deletions examples/super-todo/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"name": "SuperTodo",
"icon": "",
"permissions": [],
"app_backend": {
"webhooks": null
},
"ui_extension": {
"views": [
{
Expand Down
3 changes: 0 additions & 3 deletions examples/ui-testing/stripe-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"name": "UI Testing Example",
"icon": "",
"permissions": [],
"app_backend": {
"webhooks": null
},
"ui_extension": {
"views": [
{
Expand Down
36 changes: 26 additions & 10 deletions schema/stripe-app-local.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,34 @@
"description": "The base manifest that this local manifest will extend.",
"type": "string",
"pattern": "^(./)?((../)+)?(([a-zA-Z0-9-_]+/)+)?stripe-app(.[a-zA-Z0-9-_]+)?.json$",
"examples": ["stripe-app.json"]
},
"$schema": { "$ref": "stripe-app.schema.json#/properties/$schema" },
"id": { "$ref": "stripe-app.schema.json#/properties/id" },
"version": { "$ref": "stripe-app.schema.json#/properties/version" },
"name": { "$ref": "stripe-app.schema.json#/properties/name" },
"icon": { "$ref": "stripe-app.schema.json#/properties/icon" },
"permissions": { "$ref": "stripe-app.schema.json#/properties/permissions" },
"app_backend": { "$ref": "stripe-app.schema.json#/properties/app_backend" },
"examples": [
"stripe-app.json"
]
},
"$schema": {
"$ref": "stripe-app.schema.json#/properties/$schema"
},
"id": {
"$ref": "stripe-app.schema.json#/properties/id"
},
"version": {
"$ref": "stripe-app.schema.json#/properties/version"
},
"name": {
"$ref": "stripe-app.schema.json#/properties/name"
},
"icon": {
"$ref": "stripe-app.schema.json#/properties/icon"
},
"permissions": {
"$ref": "stripe-app.schema.json#/properties/permissions"
},
"post_install_action": {
"$ref": "stripe-app.schema.json#/properties/post_install_action"
},
"allowed_redirect_uris": {
"$ref": "stripe-app.schema.json#/properties/allowed_redirect_uris"
},
"ui_extension": {
"description": "Configuration options for how to display the app in the Dashboard.",
"type": "object",
Expand Down Expand Up @@ -50,4 +66,4 @@
"$ref": "stripe-app.schema.json#/properties/constants"
}
}
}
}
Loading

0 comments on commit b4f5767

Please sign in to comment.