5.6.84 • Published 10 months ago

@taktikorg/occaecati-itaque-nemo v5.6.84

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@taktikorg/occaecati-itaque-nemo

Downloads Size

Yet another API. Schema-first API modeling and validation for TypeScript, built on yaschema.

This package is almost entirely TypeScript types, except for a few configuration functions and utilities. Yaschema-APIs have routeType metadata, which is helpful for directing traffic to different sets of servers. See setUrlBaseForRouteType and setDefaultUrlBase.

Support for handling @taktikorg/occaecati-itaque-nemo requests server side and for making @taktikorg/occaecati-itaque-nemo requests either client or server side, is handled by other packages.

We love TypeScript and use it pretty much everywhere. We use it for our React Native app, our React web app, as well as for our server.

We built @taktikorg/occaecati-itaque-nemo as part of our type and API spec system, to be TypeScript first -- and to still conveniently support code generation and OpenAPI spec generation as needed.

Because @taktikorg/occaecati-itaque-nemo leverages yaschema, you can define both runtime and compile-time validated types with a single definition.

Basic Example

export const POST = makeHttpApi({
  method: 'POST',
  routeType: 'rest',
  url: '/ping',
  isSafeToRetry: true,
  schemas: {
    request: {
      body: schema.object({
        echo: schema.string().allowEmptyString().optional()
      })
    },
    successResponse: {
      status: schema.number(StatusCodes.OK),
      body: schema.string()
    }
  }
});

Thanks

Thanks for checking it out. Feel free to create issues or otherwise provide feedback.

API Docs

Be sure to check out our other TypeScript OSS projects as well.

livetoArraywhichconcatMapsetfnmatchpinolruregexpmapreducearktyperegular-expressionimportec2filedropxhrstyled-componentsbrowserlistlintworkflowcjkpruneartuninstallObject.valuesArrayES2023jestsortObject.keysemrless compilersidejavascriptrequireqsutil.inspectstatelogger_.extendomitpasswordInt8ArraycontainsRxJSRxelbredux-toolkites5lazygetintrinsicreact-componentqueueMicrotaskinstallerefficientautoscalingcss variabletoSortedcolumnsobjoptimizerUint32ArrayTypeScriptremoveauthReflect.getPrototypeOfpackage.jsoncommanderpnpm9Uint16ArrayECMAScript 2021walkAsyncIteratorloadbalancingvpcoutpututilitymrusesfixed-widthtoobject0extratelephoneignorepolyfilles-shimscommand-lineentriesinferencesharedarraybufferexpressioncallboundWeakSetclientjson-schema-validationbufferhandlersprivate datanodejstestervariablesoffsetargvURLSearchParamsjson-schemainputexpressvaluehashsimpledbes2018shebangbrowserslistcolumn256nativepushform-validationmovedomviewArrayBuffer#slicehasajvES2020writablebundlingPromisedirpipecompile lessstreamArray.prototype.findLastIndextrimEndemitvalidateshamcreatelengthECMAScript 5hothooksquotereducerextendserializationlanguagemacosdeepPushidentifierskoreans3classnameseslintpluginsignalswidthurldotenvreadbeanstalkclassnameharmonyserializerjwtprocessES5react animationprivateexit-codespawngetoptobjectECMAScript 2018readablestreamreal-timeexecutepoint-freeencryptionfiltervaluesdirectoryStreamsrangeerrorreadablepredictablecomputed-typesclassesdependency managerWebSocketsSymbolhttppopmotioncall-binddateArray.prototype.flatMapkinesisl10nelectrontimespringiamnpmignorestatelesspostcssjapanesefile systempreserve-symlinksArray.prototype.flatnpmoptimistsequencecryptowindowsFunction.prototype.nameBigInt64ArrayfunctionalroutebyteOffsetpyyamlismetadataes2017stablereusevisualdependenciesschemebinjsdiffmoduleprettyshimStreamstringifyvariables in csselmmatchcommandtypeerrorchaisharedsymbol[[Prototype]]SetInt16Arraysyntaxerrorbabelglobal this valuereact-testing-library
5.6.84

10 months ago

5.6.83

10 months ago

5.6.82

10 months ago

5.6.81

10 months ago

5.6.80

10 months ago

5.6.79

11 months ago

5.6.78

11 months ago

5.6.77

11 months ago

5.6.76

11 months ago

5.6.75

11 months ago

5.6.74

11 months ago

5.6.73

11 months ago

5.6.72

11 months ago

4.6.72

11 months ago

4.6.71

11 months ago

4.6.70

11 months ago

4.6.69

11 months ago

4.6.68

11 months ago

4.6.67

11 months ago

4.6.66

11 months ago

4.6.65

11 months ago

3.6.65

11 months ago

3.6.64

11 months ago

3.6.63

11 months ago

3.5.63

11 months ago

3.5.62

11 months ago

3.5.61

11 months ago

3.5.60

11 months ago

3.5.59

11 months ago

3.5.58

11 months ago

3.5.57

11 months ago

3.5.56

11 months ago

3.5.55

11 months ago

3.5.54

11 months ago

3.5.53

11 months ago

3.4.53

12 months ago

3.4.52

12 months ago

3.4.51

12 months ago

3.4.50

12 months ago

3.4.49

12 months ago

3.4.48

12 months ago

3.4.47

12 months ago

3.4.46

12 months ago

3.4.45

12 months ago

3.3.45

12 months ago

3.2.45

12 months ago

3.2.44

12 months ago

3.2.43

12 months ago

3.2.42

12 months ago

3.2.41

12 months ago

3.1.41

12 months ago

3.1.40

12 months ago

2.1.40

12 months ago

2.1.39

12 months ago

2.1.38

12 months ago

2.1.37

1 year ago

2.1.36

1 year ago

2.1.35

1 year ago

2.1.34

1 year ago

2.1.33

1 year ago

2.1.32

1 year ago

2.1.31

1 year ago

2.1.30

1 year ago

2.1.29

1 year ago

2.1.28

1 year ago

2.1.27

1 year ago

2.1.26

1 year ago

2.1.25

1 year ago

2.1.24

1 year ago

2.1.23

1 year ago

2.1.22

1 year ago

2.1.21

1 year ago

2.1.20

1 year ago

2.1.19

1 year ago

2.1.18

1 year ago

2.0.18

1 year ago

2.0.17

1 year ago

2.0.16

1 year ago

2.0.15

1 year ago

2.0.14

1 year ago

2.0.13

1 year ago

2.0.12

1 year ago

2.0.11

1 year ago

2.0.10

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.0

1 year ago