Initialisation

Added the packages and files for the backend server
This commit is contained in:
jackbeeby
2024-12-15 17:48:45 +11:00
parent 25066e1ee8
commit b412dfe2ca
2732 changed files with 330572 additions and 0 deletions

20
node_modules/@apollo/utils.withrequired/README.md generated vendored Normal file
View File

@@ -0,0 +1,20 @@
# WithRequired type
This package defines the TypeScript utility type `WithRequired`. It transforms a type that has one or more optional fields into a type where those fields are required.
For example:
```
import { WithRequired } from '@apollo/utils.withrequired';
interface HasSomeOptionals {
foo: number;
bar?: string;
baz?: boolean;
quux?: string;
}
type MoreRequired = WithRequired<HasSomeOptions, 'bar' | 'baz'>;
```
The `MoreRequired` type is like `HasSomeOptionals`, but `bar` and `baz` are now required rather than optional. `quux` remains optional.