@liminalfunctions/framework 1.0.59 → 1.0.60

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.
Files changed (97) hide show
  1. package/dist/code_generation/generate_client_library.js +3 -2
  2. package/dist/code_generation/generate_client_library.js.map +1 -1
  3. package/dist/code_generation/templates/main.mustache +1 -1
  4. package/package.json +1 -1
  5. package/src/code_generation/generate_client_library.ts +3 -2
  6. package/src/code_generation/templates/main.mustache +1 -1
  7. package/test/tmp/src/{Project.ts → Test_Collection.ts} +46 -34
  8. package/test/tmp/src/index.ts +7 -8
  9. package/test/tmp/src/types/test_collection.ts +9 -0
  10. package/test/tmp/src/types/test_collection_post.ts +9 -0
  11. package/test/tmp/src/types/test_collection_put.ts +9 -0
  12. package/test/tmp/src/types/{institution_query.ts → test_collection_query.ts} +2 -6
  13. package/test/tmp/dist/Brief_News_Category.d.ts +0 -26
  14. package/test/tmp/dist/Brief_News_Category.js +0 -104
  15. package/test/tmp/dist/Brief_News_Category.js.map +0 -1
  16. package/test/tmp/dist/Client.d.ts +0 -30
  17. package/test/tmp/dist/Client.js +0 -116
  18. package/test/tmp/dist/Client.js.map +0 -1
  19. package/test/tmp/dist/Institution.d.ts +0 -28
  20. package/test/tmp/dist/Institution.js +0 -113
  21. package/test/tmp/dist/Institution.js.map +0 -1
  22. package/test/tmp/dist/Project.d.ts +0 -46
  23. package/test/tmp/dist/Project.js +0 -167
  24. package/test/tmp/dist/Project.js.map +0 -1
  25. package/test/tmp/dist/index.d.ts +0 -24
  26. package/test/tmp/dist/index.js +0 -36
  27. package/test/tmp/dist/index.js.map +0 -1
  28. package/test/tmp/dist/types/brief_news_category.d.ts +0 -7
  29. package/test/tmp/dist/types/brief_news_category.js +0 -2
  30. package/test/tmp/dist/types/brief_news_category.js.map +0 -1
  31. package/test/tmp/dist/types/brief_news_category_post.d.ts +0 -7
  32. package/test/tmp/dist/types/brief_news_category_post.js +0 -2
  33. package/test/tmp/dist/types/brief_news_category_post.js.map +0 -1
  34. package/test/tmp/dist/types/brief_news_category_put.d.ts +0 -7
  35. package/test/tmp/dist/types/brief_news_category_put.js +0 -2
  36. package/test/tmp/dist/types/brief_news_category_put.js.map +0 -1
  37. package/test/tmp/dist/types/brief_news_category_query.d.ts +0 -26
  38. package/test/tmp/dist/types/brief_news_category_query.js +0 -2
  39. package/test/tmp/dist/types/brief_news_category_query.js.map +0 -1
  40. package/test/tmp/dist/types/client.d.ts +0 -5
  41. package/test/tmp/dist/types/client.js +0 -2
  42. package/test/tmp/dist/types/client.js.map +0 -1
  43. package/test/tmp/dist/types/client_post.d.ts +0 -5
  44. package/test/tmp/dist/types/client_post.js +0 -2
  45. package/test/tmp/dist/types/client_post.js.map +0 -1
  46. package/test/tmp/dist/types/client_put.d.ts +0 -5
  47. package/test/tmp/dist/types/client_put.js +0 -2
  48. package/test/tmp/dist/types/client_put.js.map +0 -1
  49. package/test/tmp/dist/types/client_query.d.ts +0 -18
  50. package/test/tmp/dist/types/client_query.js +0 -2
  51. package/test/tmp/dist/types/client_query.js.map +0 -1
  52. package/test/tmp/dist/types/institution.d.ts +0 -4
  53. package/test/tmp/dist/types/institution.js +0 -2
  54. package/test/tmp/dist/types/institution.js.map +0 -1
  55. package/test/tmp/dist/types/institution_post.d.ts +0 -4
  56. package/test/tmp/dist/types/institution_post.js +0 -2
  57. package/test/tmp/dist/types/institution_post.js.map +0 -1
  58. package/test/tmp/dist/types/institution_put.d.ts +0 -4
  59. package/test/tmp/dist/types/institution_put.js +0 -2
  60. package/test/tmp/dist/types/institution_put.js.map +0 -1
  61. package/test/tmp/dist/types/institution_query.d.ts +0 -14
  62. package/test/tmp/dist/types/institution_query.js +0 -2
  63. package/test/tmp/dist/types/institution_query.js.map +0 -1
  64. package/test/tmp/dist/types/project.d.ts +0 -11
  65. package/test/tmp/dist/types/project.js +0 -2
  66. package/test/tmp/dist/types/project.js.map +0 -1
  67. package/test/tmp/dist/types/project_post.d.ts +0 -11
  68. package/test/tmp/dist/types/project_post.js +0 -2
  69. package/test/tmp/dist/types/project_post.js.map +0 -1
  70. package/test/tmp/dist/types/project_put.d.ts +0 -11
  71. package/test/tmp/dist/types/project_put.js +0 -2
  72. package/test/tmp/dist/types/project_put.js.map +0 -1
  73. package/test/tmp/dist/types/project_query.d.ts +0 -27
  74. package/test/tmp/dist/types/project_query.js +0 -2
  75. package/test/tmp/dist/types/project_query.js.map +0 -1
  76. package/test/tmp/dist/utils/utils.d.ts +0 -11
  77. package/test/tmp/dist/utils/utils.js +0 -16
  78. package/test/tmp/dist/utils/utils.js.map +0 -1
  79. package/test/tmp/package-lock.json +0 -573
  80. package/test/tmp/src/Brief_News_Category.ts +0 -120
  81. package/test/tmp/src/Client.ts +0 -134
  82. package/test/tmp/src/Institution.ts +0 -130
  83. package/test/tmp/src/types/brief_news_category.ts +0 -7
  84. package/test/tmp/src/types/brief_news_category_post.ts +0 -7
  85. package/test/tmp/src/types/brief_news_category_put.ts +0 -7
  86. package/test/tmp/src/types/brief_news_category_query.ts +0 -26
  87. package/test/tmp/src/types/client.ts +0 -5
  88. package/test/tmp/src/types/client_post.ts +0 -5
  89. package/test/tmp/src/types/client_put.ts +0 -5
  90. package/test/tmp/src/types/client_query.ts +0 -18
  91. package/test/tmp/src/types/institution.ts +0 -4
  92. package/test/tmp/src/types/institution_post.ts +0 -4
  93. package/test/tmp/src/types/institution_put.ts +0 -4
  94. package/test/tmp/src/types/project.ts +0 -11
  95. package/test/tmp/src/types/project_post.ts +0 -11
  96. package/test/tmp/src/types/project_put.ts +0 -11
  97. package/test/tmp/src/types/project_query.ts +0 -27
@@ -1,5 +0,0 @@
1
- export type client_post = {
2
- "_id"?: string;
3
- "name": string;
4
- "institution_id": string;
5
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=client_post.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client_post.js","sourceRoot":"","sources":["../../src/types/client_post.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export type client_put = {
2
- "_id"?: string;
3
- "name"?: string;
4
- "institution_id"?: string;
5
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=client_put.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client_put.js","sourceRoot":"","sources":["../../src/types/client_put.ts"],"names":[],"mappings":""}
@@ -1,18 +0,0 @@
1
- export type client_query = {
2
- "limit"?: number;
3
- "cursor"?: string;
4
- "sort_order"?: ("ascending" | "descending");
5
- "_id"?: string;
6
- "_id_gt"?: string;
7
- "_id_lt"?: string;
8
- "_id_in"?: string[];
9
- "name"?: string;
10
- "name_gt"?: string;
11
- "name_lt"?: string;
12
- "name_in"?: string[];
13
- "institution_id"?: string;
14
- "institution_id_gt"?: string;
15
- "institution_id_lt"?: string;
16
- "institution_id_in"?: string[];
17
- "sort"?: ("_id" | "name" | "institution_id");
18
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=client_query.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client_query.js","sourceRoot":"","sources":["../../src/types/client_query.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export type institution = {
2
- "_id": string;
3
- "name": string;
4
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=institution.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"institution.js","sourceRoot":"","sources":["../../src/types/institution.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export type institution_post = {
2
- "_id"?: string;
3
- "name": string;
4
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=institution_post.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"institution_post.js","sourceRoot":"","sources":["../../src/types/institution_post.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export type institution_put = {
2
- "_id"?: string;
3
- "name"?: string;
4
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=institution_put.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"institution_put.js","sourceRoot":"","sources":["../../src/types/institution_put.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- export type institution_query = {
2
- "limit"?: number;
3
- "cursor"?: string;
4
- "sort_order"?: ("ascending" | "descending");
5
- "_id"?: string;
6
- "_id_gt"?: string;
7
- "_id_lt"?: string;
8
- "_id_in"?: string[];
9
- "name"?: string;
10
- "name_gt"?: string;
11
- "name_lt"?: string;
12
- "name_in"?: string[];
13
- "sort"?: ("_id" | "name");
14
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=institution_query.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"institution_query.js","sourceRoot":"","sources":["../../src/types/institution_query.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- export type project = {
2
- "_id": string;
3
- "name": string;
4
- "institution_id": string;
5
- "client_id": string;
6
- "project_number": number;
7
- "steps": {
8
- "_id": string;
9
- "name": string;
10
- }[];
11
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=project.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"project.js","sourceRoot":"","sources":["../../src/types/project.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- export type project_post = {
2
- "_id"?: string;
3
- "name": string;
4
- "institution_id": string;
5
- "client_id": string;
6
- "project_number": number;
7
- "steps": {
8
- "_id": string;
9
- "name": string;
10
- }[];
11
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=project_post.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"project_post.js","sourceRoot":"","sources":["../../src/types/project_post.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- export type project_put = {
2
- "_id"?: string;
3
- "name"?: string;
4
- "institution_id"?: string;
5
- "client_id"?: string;
6
- "project_number"?: number;
7
- "steps"?: {
8
- "_id": string;
9
- "name": string;
10
- }[];
11
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=project_put.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"project_put.js","sourceRoot":"","sources":["../../src/types/project_put.ts"],"names":[],"mappings":""}
@@ -1,27 +0,0 @@
1
- export type project_query = {
2
- "limit"?: number;
3
- "cursor"?: string;
4
- "sort_order"?: ("ascending" | "descending");
5
- "_id"?: string;
6
- "_id_gt"?: string;
7
- "_id_lt"?: string;
8
- "_id_in"?: string[];
9
- "name"?: string;
10
- "name_gt"?: string;
11
- "name_lt"?: string;
12
- "name_in"?: string[];
13
- "institution_id"?: string;
14
- "institution_id_gt"?: string;
15
- "institution_id_lt"?: string;
16
- "institution_id_in"?: string[];
17
- "client_id"?: string;
18
- "client_id_gt"?: string;
19
- "client_id_lt"?: string;
20
- "client_id_in"?: string[];
21
- "project_number"?: number;
22
- "project_number_gt"?: number;
23
- "project_number_gte"?: number;
24
- "project_number_lt"?: number;
25
- "project_number_lte"?: number;
26
- "sort"?: ("_id" | "name" | "institution_id" | "client_id" | "project_number");
27
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=project_query.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"project_query.js","sourceRoot":"","sources":["../../src/types/project_query.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- export declare function encode_search_params(params: {
2
- [key: string]: string | number | boolean | string[] | Date;
3
- }): {
4
- [key: string]: string | number | boolean;
5
- };
6
- export type Response<Q> = {
7
- data: Q;
8
- };
9
- export type Response_Multiple<Q> = {
10
- data: Q[];
11
- };
@@ -1,16 +0,0 @@
1
- export function encode_search_params(params) {
2
- let retval = {};
3
- for (let [key, value] of Object.entries(params)) {
4
- if (Array.isArray(value)) {
5
- retval[key] = value.join(',');
6
- }
7
- else if (value instanceof Date) {
8
- retval[key] = value.toISOString();
9
- }
10
- else {
11
- retval[key] = value;
12
- }
13
- }
14
- return retval;
15
- }
16
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,oBAAoB,CAAC,MAAoE;IACrG,IAAI,MAAM,GAAgD,EAAE,CAAA;IAC5D,KAAI,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAC,CAAC;QAC5C,IAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAC,CAAC;YACrB,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QACjC,CAAC;aAAM,IAAG,KAAK,YAAY,IAAI,EAAC,CAAC;YAC7B,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,WAAW,EAAE,CAAC;QACtC,CAAC;aAAM,CAAC;YACJ,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACxB,CAAC;IACL,CAAC;IAED,OAAO,MAAM,CAAC;AAClB,CAAC"}