Skip to content

[pull] master from codesandbox:master #985

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/app/src/app/components/LoseFeatures/LoseFeatures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ const LOSE_DEFAULT = [
pro: 'Unlimited private repositories',
free: 'Limited to 3 public repositories',
},
{
key: 'ai',
pro: '✨ Full access to AI tools',
free: 'No AI tools',
},
{
key: 'npm',
pro: 'Private NPM packages',
Expand Down
20 changes: 20 additions & 0 deletions packages/app/src/app/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ export const PERSONAL_FEATURES: Feature[] = [
key: 'limit_repositories',
label: 'Unlimited private repositories',
},
{
key: 'ai',
label: '✨ Full access to AI tools',
},
{ key: 'npm', label: 'Public NPM packages' },
{ key: 'live_sessions', label: 'Live sessions' },
{ key: 'vm_mem', label: '8GiB RAM' },
Expand All @@ -55,6 +59,10 @@ export const PERSONAL_FEATURES_WITH_PILLS: Feature[] = [
key: 'limit_repositories',
label: 'Unlimited private repositories',
},
{
key: 'ai',
label: '✨ Full access to AI tools',
},
{ key: 'npm', label: 'Public NPM packages' },
{ key: 'live_sessions', label: 'Live sessions' },
{ key: 'vm_mem', label: '8GiB RAM', pill: '4x capacity' },
Expand Down Expand Up @@ -86,6 +94,10 @@ export const TEAM_PRO_FEATURES: Feature[] = [
key: 'limit_repositories',
label: 'Unlimited private repositories',
},
{
key: 'ai',
label: '✨ Full access to AI tools',
},
{ key: 'npm', label: 'Private NPM packages' },
{ key: 'live_sessions', label: 'Live sessions' },
{ key: 'vm_mem', label: '8GiB RAM' },
Expand All @@ -102,6 +114,10 @@ export const TEAM_PRO_FEATURES_WITH_PILLS: Feature[] = [
key: 'limit_repositories',
label: 'Unlimited private repositories',
},
{
key: 'ai',
label: '✨ Full access to AI tools',
},
{ key: 'npm', label: 'Private NPM packages' },
{ key: 'live_sessions', label: 'Live sessions' },
{ key: 'vm_mem', label: '8GiB RAM', pill: '4x capacity' },
Expand All @@ -118,6 +134,10 @@ export const ORG_FEATURES: Feature[] = [
key: 'limit_repositories',
label: 'Unlimited private repositories',
},
{
key: 'ai',
label: '✨ Full access to AI tools',
},
{ key: 'npm', label: 'Private NPM packages' },
{ key: 'live_sessions', label: 'Live sessions' },
{ key: 'vm_mem', label: 'Custom VM Specs' },
Expand Down
36 changes: 36 additions & 0 deletions packages/app/src/app/graphql/introspection-result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,24 @@ const result: IntrospectionResultData = {
},
],
},
{
kind: 'UNION',
name: 'BranchEvent',
possibleTypes: [
{
name: 'PullRequestCommentEvent',
},
{
name: 'PullRequestEvent',
},
{
name: 'PullRequestReviewCommentEvent',
},
{
name: 'PullRequestReviewEvent',
},
],
},
{
kind: 'UNION',
name: 'RepositoryEvent',
Expand All @@ -60,6 +78,24 @@ const result: IntrospectionResultData = {
},
],
},
{
kind: 'UNION',
name: 'ProjectEvent',
possibleTypes: [
{
name: 'PullRequestCommentEvent',
},
{
name: 'PullRequestEvent',
},
{
name: 'PullRequestReviewCommentEvent',
},
{
name: 'PullRequestReviewEvent',
},
],
},
],
},
};
Expand Down
Loading