This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const path = require('path'); | |
const https = require('https'); | |
// Configuration | |
const postmanApiKey = | |
'YOUR-API-KEY'; | |
const postmanCollectionId = 'COLLECTION-ID'; | |
const outputFilePath = path.join(__dirname, 'postman-spec.json'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useContext, useEffect, useState, useTransition } from 'react'; | |
import { Box, Typography, Fab, List, ListItem, ListItemText, Button, TextField, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle } from '@mui/material'; | |
import Avatar from '../../assets/images/avatar.png'; | |
import CustomAppBar from '../../components/CustomAppBar/CustomAppBar'; | |
import Edit from '@mui/icons-material/Edit'; | |
import Check from '@mui/icons-material/Check'; | |
import Styles from './ProfilePage.module.css'; | |
import { useTranslation } from 'react-i18next'; | |
import UserAvatar from '../../components/UserAvatar/UserAvatar'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Directive, | |
Field, | |
GraphQLISODateTime, | |
ID, | |
ObjectType, | |
registerEnumType, | |
} from '@nestjs/graphql'; | |
import { FilterableField, IDField } from '@ptc-org/nestjs-query-graphql'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Directive, | |
Field, | |
GraphQLISODateTime, | |
ID, | |
ObjectType, | |
registerEnumType, | |
} from '@nestjs/graphql'; | |
import { IRoom, IRoomDatabaseEntity, RoomType } from '@core'; | |
import { FilterableField, IDField } from '@ptc-org/nestjs-query-graphql'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Directive, ID, ObjectType, registerEnumType } from '@nestjs/graphql'; | |
import { FilterableField, IDField } from '@ptc-org/nestjs-query-graphql'; | |
import { IUser, UserRole } from '@core'; | |
@ObjectType() | |
@Directive('@key(fields: "id")') | |
export class UserDto implements Omit<IUser, 'password' | 'hashedRefreshToken'> { | |
@IDField(() => ID) | |
id: string; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rover supergraph compose --config ./supergraph.yaml -o supergraph.graphql | |
resolving SDL for subgraphs defined in ./supergraph.yaml | |
composing supergraph with Federation v2.3.2.exe | |
error[E029]: Encountered 28 build errors while trying to build a supergraph. | |
Caused by: | |
UNKNOWN: The following supergraph API query: | |
mutation { | |
refreshToken { | |
user { |