Skip to content

Commit

Permalink
Merge pull request #230 from mandarineorg/bump-to-220
Browse files Browse the repository at this point in the history
Bumping to 2.2.0
  • Loading branch information
andreespirela authored Oct 30, 2020
2 parents 37012ed + 40010c8 commit 663e913
Show file tree
Hide file tree
Showing 47 changed files with 56 additions and 56 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Don't know where to start? [Click here](https://www.mandarinets.org/docs/master/
## Basic usage

```typescript
import { MandarineCore, Controller, GET } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { MandarineCore, Controller, GET } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Controller('/api')
export class Boo {
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ Mandarine Compiling process starts at the time your application includes any com
 

## Nest.land throws error when importing, what should I do?
Even though we recognize [nest.land](https://nest.land) as our main import source. We also strongly recommend to use [Deno X](https://deno.land/x) if nest.land _fails_. <br> The import of _deno.land/x_ is `https://deno.land/x/mandarinets@v2.1.6/mod.ts`.
Even though we recognize [nest.land](https://nest.land) as our main import source. We also strongly recommend to use [Deno X](https://deno.land/x) if nest.land _fails_. <br> The import of _deno.land/x_ is `https://deno.land/x/mandarinets@v2.2.0/mod.ts`.
2 changes: 1 addition & 1 deletion docs/web/mandarine/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Mandarine is available through [deno.land/x](https://deno.land/x/mandarinets) &

**deno.land/x**
```ts
import { ... } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { ... } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";
```

**nest.land**
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/main-concepts/component-catch.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class MyCatchComponent implements ExceptionFilter {
## Usage

```typescript
import { Catch, ExceptionFilter, ExceptionContext } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Catch, ExceptionFilter, ExceptionContext } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Catch(MyException)
export class MyCatchComponent implements ExceptionFilter<MyException> {
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/main-concepts/component-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Mandarine's stereotypes are also useful for modularity purposes since they allow
## Usage

```typescript
import { Component } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Component } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Component()
export class MyComponent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Mandarine's stereotypes are also useful for modularity purposes since they allow
## Usage

```typescript
import { Configuration } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Configuration } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Configuration()
export class MyConfiguration {
Expand Down
4 changes: 2 additions & 2 deletions docs/web/mandarine/main-concepts/component-controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ Controllers are responsible for dealing with Mandarine's HTTP Dispatcher & your
## Usage

```typescript
import { Controller } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Controller } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Controller()
export class MyController {
}
```
----
```typescript
import { Controller } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Controller } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Controller('/api')
export class MyController {
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/main-concepts/component-guard.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const myGuard: GuardTargetMethod = (requestContext: Mandarine.Types.RequestConte

```typescript

import { UseGuards, Guard, GuardTargetMethod, GuardTarget, Controller, GET } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { UseGuards, Guard, GuardTargetMethod, GuardTarget, Controller, GET } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Guard()
export class GuardComponent implements GuardTarget {
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/main-concepts/component-middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Middleware are responsible for adding interceptors to controllers. They are exec
## Usage

```typescript
import { Middleware, MiddlewareTarget, ResponseParam } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Middleware, MiddlewareTarget, ResponseParam } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Middleware(new RegExp('/api/*'))
export class Middleware1 implements MiddlewareTarget {
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/main-concepts/component-repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Repositories are responsible for creating a bridge between your application's la
## Usage

```typescript
import { Repository, MandarineRepository } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Repository, MandarineRepository } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Repository()
abstract class MyRepository extends MandarineRepository<YourModel> {
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/main-concepts/component-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Mandarine's stereotypes are also useful for modularity purposes since they allow
## Usage

```typescript
import { Service } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Service } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Service()
export class MyService {
Expand Down
4 changes: 2 additions & 2 deletions docs/web/mandarine/main-concepts/dependency-injection.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Dependencies are essentially classes that rely on other classes (also dependents
The `@Inject` is used for declaring property-based injections.

```typescript
import { Service, Inject } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Service, Inject } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Service()
export class MyService2 {
Expand Down Expand Up @@ -105,7 +105,7 @@ The injectable decorator handles the creation of a manual component. When `@Inje
- This method should return an initialized class that will be the reference to the expected object in dependency injection requests.

```typescript
import { Service, Configuration Injectable } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Service, Configuration Injectable } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

export class MyThirdPartyClass {
constructor(public readonly name: string) {}
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/main-concepts/hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Mandarine has a very simple & straightforward way to be written, this is what ma
```typescript
// myFile.ts

import { MandarineCore, Controller, GET } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { MandarineCore, Controller, GET } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Controller()
export class MyController {
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/main-concepts/manual-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Mandarine's manual components are used when wanting to _Mandarine-power_ a third
Usage example:
```typescript
import { Configuration, Injectable, Component, Inject } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Configuration, Injectable, Component, Inject } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

export class ManualInjectionService {

Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/main-concepts/value-decorator.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ See [Mandarine.MandarineCore.ValueScopes](https://doc.deno.land/https/raw.github
```

```typescript
import { Value } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Value } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

export class ValueDecoratorTest {

Expand Down
4 changes: 2 additions & 2 deletions docs/web/mandarine/mandarine-core/mandarine-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The core initialization is responsible for unifying all mandarine modules (Core,
## Invoking Mandarine's core
In order to invoke the initialization of Mandarine's core, follow the example:
```typescript
import { MandarineCore } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { MandarineCore } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

/**
* Code
Expand All @@ -20,7 +20,7 @@ import { MandarineCore } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
## MVC Bridge
The MVC bridge is the process of using Mandarine's MVC Core. This process is done through Mandarine's core.
```typescript
import { MandarineCore } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { MandarineCore } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

/**
* Code
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/mandarine-core/native-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Native components are instances that Mandarine uses natively, meaning, during &
Mandarine allows overriding whole or specific sections of a native class. The purpose behind this is to modify those internal behaviors Mandarine establishes as default. In order to override a native component all you need to do is to use the decorator `@Override` on top of your class and the use of `extends` to the native component you want to override (inside `Mandarine.Native`).
A good example of what is described above:
```typescript
import { Override, Mandarine } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Override, Mandarine } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Override()
export class WebMvcConfigurer extends Mandarine.Native.WebMvcConfigurer {
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/mandarine-data/data-interacting.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The `@CustomQuery` decorator allows you to write SQL queries in your repositorie
## API

```typescript
import { Repository, MandarineRepository, CustomQuery, Controller, GET } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Repository, MandarineRepository, CustomQuery, Controller, GET } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";
import { Users } from "./usersModel.ts"; // A model

@Repository()
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/mandarine-data/data-repositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The abstract class that will represent your repository must be extended [Mandari

Example
```typescript
import { Repository, MandarineRepository } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Repository, MandarineRepository } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Repository()
abstract class MyRepository extends MandarineRepository<MyModel> {
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/mandarine-data/data-updating.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ In order to update existent data in your tables by using Mandarine-powered repos
## API

```typescript
import { Component } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Component } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";
import { Users } from "./usersModel.ts";
import { UsersRepository } from "./usersRepository.ts";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ When using [ViewModel](https://doc.deno.land/https/raw.githubusercontent.com/man
```

```typescript
import { Controller, GET, Render, Model, ViewModel, MandarineCore } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Controller, GET, Render, Model, ViewModel, MandarineCore } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Controller()
export class MyController {
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/mandarine-mvc/accessing-mvc-handler.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ You can access the MVC handler by invoking the property `handle` part of Mandari

```typescript

import { MandarineCore } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { MandarineCore } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

...

Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/mandarine-mvc/adding-oak-middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Since version 1.2.3, Mandarine allows you to add a custom Oak middleware to your
Before running your application through `new MandarineCore().MVC().run()`, you can use the method `addMiddleware` part of MandarineMVC to add an [Oak Middleware](https://github.com/oakserver/oak#application-middleware-and-context)

```typescript
import { MandarineCore } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { MandarineCore } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

...

Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/mandarine-mvc/cors-middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ CORS middleware is added through the use of decorators.
**Controller level**
```typescript

import { Controller, GET, Cors } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Controller, GET, Cors } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Controller('/api')
@Cors({ origin: "https://myorigin.com" })
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/mandarine-mvc/custom-middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ _`MiddlewareTarget`_ contains two key methods which you will need to provide fun

// middleware.ts

import { Middleware, MiddlewareTarget, ResponseParam, Controller, GET, MandarineCore } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Middleware, MiddlewareTarget, ResponseParam, Controller, GET, MandarineCore } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Middleware(new RegExp('/api/*'))
export class Middleware1 implements MiddlewareTarget {
Expand Down
4 changes: 2 additions & 2 deletions docs/web/mandarine/mandarine-mvc/entry-point.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The single entry point file serves as an index for all your Mandarine-powered co

## Usage
```typescript
import { MandarineCore } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { MandarineCore } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

const services = [/* References */];
const controllers = [/* References */];
Expand All @@ -26,7 +26,7 @@ In the above example, we can see how we have different arrays where we will refe

A good real example would look as follows:
```typescript
import { MandarineCore } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { MandarineCore } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";
import { Controller1, Controller2, Controller3 } from "./controllers-exports.ts";

const services = [/* References */];
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/mandarine-mvc/http-handlers.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ They are decorators that are used in the parameters of a HTTP Handler. Every dec
## API

```typescript
import { Controller, GET, RouteParam, MandarineCore } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Controller, GET, RouteParam, MandarineCore } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Controller('/api')
export class Foo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ parameterDecoratorFactory<DecoratorData = any>(executor: Mandarine.MandarineMVC.

## Example
```typescript
import { parameterDecoratorFactory, Controller, GET } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { parameterDecoratorFactory, Controller, GET } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

const RandomNumberDecorator = parameterDecoratorFactory((context: Mandarine.Types.RequestContextAcessor, ...parameter: Array<any>) => {
return Math.round(Math.random() * parameter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Parameterized routes help you develop flexible endpoints as they can receive inf
## API

```typescript
import { GET, Controller, RouteParam, MandarineCore } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { GET, Controller, RouteParam, MandarineCore } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Controller()
export class MyController {
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/mandarine-mvc/mvc-controllers-routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Routes are declared by using specific decorators (_each route has a different de

```typescript

import { GET, POST, PUT, HEAD, DELETE, OPTIONS, PATCH, Controller, MandarineCore } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { GET, POST, PUT, HEAD, DELETE, OPTIONS, PATCH, Controller, MandarineCore } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Controller()
export class MyController {
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/mandarine-mvc/pipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Targets: HTTP Parameter

## Usage
```typescript
import { UseGuards, Guard, GuardTargetMethod, GuardTarget, Controller, GET } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { UseGuards, Guard, GuardTargetMethod, GuardTarget, Controller, GET } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Component()
export class MymathService implements Mandarine.Types.PipeTransform {
Expand Down
4 changes: 2 additions & 2 deletions docs/web/mandarine/mandarine-mvc/resource-handlers.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It is possible to create your own resource handlers & resource resolvers. For th
In order to override this behavior, create a class which will receive the decorator [`@Override`](/docs/mandarine/native-components). This class must implement Mandarine.MandarineMVC.Configurers.WebMVCConfigurer & **extend Mandarine.Native.WebMvcConfigurer** (available in mod.ts).

```typescript
import { Mandarine, Override } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Mandarine, Override } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Override()
export class WebMvcConfigurer extends Mandarine.Native.WebMvcConfigurer {
Expand All @@ -36,7 +36,7 @@ Our method addResourceHandlers will return an instance of the Resource Handler R

```typescript

import { Mandarine, Override, ResourceHandler, MandarineResourceResolver } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Mandarine, Override, ResourceHandler, MandarineResourceResolver } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Override()
export class WebMvcConfigurer extends Mandarine.Native.WebMvcConfigurer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Targets: Controller | HTTP Handler
## Usage

```typescript
import { Mandarine, Controller, ResponseStatus, GET } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Mandarine, Controller, ResponseStatus, GET } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Controller()
@ResponseStatus(Mandarine.MandarineMVC.HttpStatusCode.OK)
Expand Down
2 changes: 1 addition & 1 deletion docs/web/mandarine/mandarine-mvc/template-engine.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ See [Mandarine.MandarineMVC.TemplateEngine.Engines](https://doc.deno.land/https/
<h2>Hello Bill! Nice to see you here again</h2>
```
```typescript
import { Controller, GET, Render, MandarineCore } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Controller, GET, Render, MandarineCore } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Controller()
export class MyController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The `@AllowOnly` decorator protects an endpoint with Mandarine's built-in authen

## Usage
```typescript
import { Controller, GET, AllowOnly } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Controller, GET, AllowOnly } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

// Only Controller
@Controller()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ In order to fully use all the features related to Mandarine's built-in authentic
The following example contains a full but simple example on how to use Mandarine's built-in authentication.

```typescript
import { Service, Mandarine, Override, Controller, GET, AuthPrincipal } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Service, Mandarine, Override, Controller, GET, AuthPrincipal } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Service()
export class UserDetailsServiceImplementation implements Mandarine.Security.Auth.UserDetailsService {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface AuthenticationManagerBuilder {
## Basic Usage

```typescript
import { Override, Mandarine } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Override, Mandarine } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Override()
export class WebMvcConfigurer extends Mandarine.Native.WebMvcConfigurer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export interface UserDetailsService {
## Basic Usage

```typescript
import { Service, Mandarine } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Service, Mandarine } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Service()
export class UserDetailsServiceImplementation implements Mandarine.Security.Auth.UserDetailsService {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Security expressions are available for usage in [`@AllowOnly` decorator](/docs/m

## Examples
```typescript
import { Controller, AllowOnly, GET } from "https://deno.land/x/mandarinets@v2.1.6/mod.ts";
import { Controller, AllowOnly, GET } from "https://deno.land/x/mandarinets@v2.2.0/mod.ts";

@Controller()
@AllowOnly("isAuthenticated()")
Expand Down
Loading

0 comments on commit 663e913

Please sign in to comment.