quidproquo-webserver 0.0.80 → 0.0.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,3 @@
1
1
  export * from './genericDataResource';
2
2
  export * from './openApiSpec';
3
+ export * from './webEntry';
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./genericDataResource"), exports);
18
18
  __exportStar(require("./openApiSpec"), exports);
19
+ __exportStar(require("./webEntry"), exports);
@@ -0,0 +1,3 @@
1
+ export declare enum WebEntryActionType {
2
+ InvalidateCache = "@quidproquo-webserver/WebEntry/InvalidateCache"
3
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WebEntryActionType = void 0;
4
+ var WebEntryActionType;
5
+ (function (WebEntryActionType) {
6
+ WebEntryActionType["InvalidateCache"] = "@quidproquo-webserver/WebEntry/InvalidateCache";
7
+ })(WebEntryActionType = exports.WebEntryActionType || (exports.WebEntryActionType = {}));
@@ -0,0 +1,2 @@
1
+ import { WebEntryInvalidateCacheActionRequester } from './WebEntryInvalidateCacheActionTypes';
2
+ export declare function askWebEntryInvalidateCache(webEntryName: string, ...paths: string[]): WebEntryInvalidateCacheActionRequester;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.askWebEntryInvalidateCache = void 0;
4
+ const WebEntryActionType_1 = require("./WebEntryActionType");
5
+ function* askWebEntryInvalidateCache(webEntryName, ...paths) {
6
+ return yield {
7
+ type: WebEntryActionType_1.WebEntryActionType.InvalidateCache,
8
+ payload: {
9
+ webEntryName,
10
+ paths,
11
+ },
12
+ };
13
+ }
14
+ exports.askWebEntryInvalidateCache = askWebEntryInvalidateCache;
@@ -0,0 +1,12 @@
1
+ import { Action, ActionProcessor, ActionRequester } from 'quidproquo-core';
2
+ import { WebEntryActionType } from './WebEntryActionType';
3
+ export interface WebEntryInvalidateCacheActionPayload {
4
+ webEntryName: string;
5
+ paths: string[];
6
+ }
7
+ export interface WebEntryInvalidateCacheAction extends Action<WebEntryInvalidateCacheActionPayload> {
8
+ type: WebEntryActionType.InvalidateCache;
9
+ payload: WebEntryInvalidateCacheActionPayload;
10
+ }
11
+ export type WebEntryInvalidateCacheActionProcessor = ActionProcessor<WebEntryInvalidateCacheAction, void>;
12
+ export type WebEntryInvalidateCacheActionRequester = ActionRequester<WebEntryInvalidateCacheAction, void>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export * from './WebEntryActionType';
2
+ export * from './WebEntryInvalidateCacheActionRequester';
3
+ export * from './WebEntryInvalidateCacheActionTypes';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./WebEntryActionType"), exports);
18
+ __exportStar(require("./WebEntryInvalidateCacheActionRequester"), exports);
19
+ __exportStar(require("./WebEntryInvalidateCacheActionTypes"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quidproquo-webserver",
3
- "version": "0.0.80",
3
+ "version": "0.0.81",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.js",