Skip to content
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

Change model ids from type ID! to Int! #1427

Merged
merged 1 commit into from
Aug 21, 2024
Merged
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
8 changes: 4 additions & 4 deletions src/utilities/gql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ const gql = {
`,

GET_EFFECTIVE_ACTIVITY_ARGUMENTS: `#graphql
query GetEffectiveActivityArguments($modelId: ID!, $activityTypeName: String!, $arguments: ActivityArguments!) {
query GetEffectiveActivityArguments($modelId: Int!, $activityTypeName: String!, $arguments: ActivityArguments!) {
effectiveActivityArguments: ${Queries.GET_ACTIVITY_EFFECTIVE_ARGUMENTS}(
missionModelId: $modelId,
activityTypeName: $activityTypeName,
Expand All @@ -1144,7 +1144,7 @@ const gql = {
`,

GET_EFFECTIVE_MODEL_ARGUMENTS: `#graphql
query GetEffectiveModelArguments($modelId: ID!, $arguments: ModelArguments!) {
query GetEffectiveModelArguments($modelId: Int!, $arguments: ModelArguments!) {
effectiveModelArguments: ${Queries.GET_MODEL_EFFECTIVE_ARGUMENTS}(
missionModelId: $modelId,
modelArguments: $arguments
Expand Down Expand Up @@ -1656,7 +1656,7 @@ const gql = {
`,

GET_TYPESCRIPT_CONSTRAINTS: `#graphql
query GetTypeScriptConstraints($model_id: ID!) {
query GetTypeScriptConstraints($model_id: Int!) {
dslTypeScriptResponse: ${Queries.CONSTRAINTS_DSL_TYPESCRIPT}(missionModelId: $model_id) {
reason
status
Expand Down Expand Up @@ -3512,7 +3512,7 @@ const gql = {
`,

VALIDATE_ACTIVITY_ARGUMENTS: `#graphql
query ValidateActivityArguments($arguments: ActivityArguments!, $activityTypeName: String!, $modelId: ID!) {
query ValidateActivityArguments($arguments: ActivityArguments!, $activityTypeName: String!, $modelId: Int!) {
${Queries.VALIDATE_ACTIVITY_ARGUMENTS}(
activityArguments: $arguments,
activityTypeName: $activityTypeName,
Expand Down
Loading