@studious-lms/server 1.1.17 → 1.1.18

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.
@@ -3995,6 +3995,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3995
3995
  } | null;
3996
3996
  meta: object;
3997
3997
  }>;
3998
+ earlyAccessRequest: import("@trpc/server").TRPCMutationProcedure<{
3999
+ input: {
4000
+ email: string;
4001
+ institutionSize: string;
4002
+ };
4003
+ output: {
4004
+ id: string;
4005
+ };
4006
+ meta: object;
4007
+ }>;
3998
4008
  }>>;
3999
4009
  }>>;
4000
4010
  export type AppRouter = typeof appRouter;
@@ -7996,6 +8006,16 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
7996
8006
  } | null;
7997
8007
  meta: object;
7998
8008
  }>;
8009
+ earlyAccessRequest: import("@trpc/server").TRPCMutationProcedure<{
8010
+ input: {
8011
+ email: string;
8012
+ institutionSize: string;
8013
+ };
8014
+ output: {
8015
+ id: string;
8016
+ };
8017
+ meta: object;
8018
+ }>;
7999
8019
  }>>;
8000
8020
  }>>;
8001
8021
  //# sourceMappingURL=_app.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"_app.d.ts","sourceRoot":"","sources":["../../src/routers/_app.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAc1E,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiC,CAAC"}
@@ -66,5 +66,15 @@ export declare const marketingRouter: import("@trpc/server").TRPCBuiltRouter<{
66
66
  } | null;
67
67
  meta: object;
68
68
  }>;
69
+ earlyAccessRequest: import("@trpc/server").TRPCMutationProcedure<{
70
+ input: {
71
+ email: string;
72
+ institutionSize: string;
73
+ };
74
+ output: {
75
+ id: string;
76
+ };
77
+ meta: object;
78
+ }>;
69
79
  }>>;
70
80
  //# sourceMappingURL=marketing.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"marketing.d.ts","sourceRoot":"","sources":["../../src/routers/marketing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+D1B,CAAC"}
1
+ {"version":3,"file":"marketing.d.ts","sourceRoot":"","sources":["../../src/routers/marketing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgF1B,CAAC"}
@@ -24,7 +24,7 @@ export const marketingRouter = createTRPCRouter({
24
24
  .mutation(async ({ ctx, input }) => {
25
25
  const { name, type, address, city, country, numberOfStudents, numberOfTeachers, website, contactName, contactRole, contactEmail, contactPhone, eligibilityInformation, whyHelp, additionalInformation } = input;
26
26
  const date = new Date();
27
- const id = name.slice(0, 3).toUpperCase() + date.getFullYear() + '-' + v4();
27
+ const id = name.slice(0, 3).toUpperCase() + '-' + date.getFullYear() + '-' + v4().slice(0, 4).toUpperCase();
28
28
  const schoolDevelopementProgram = await prisma.schoolDevelopementProgram.create({
29
29
  data: {
30
30
  id,
@@ -62,4 +62,21 @@ export const marketingRouter = createTRPCRouter({
62
62
  });
63
63
  return schoolDevelopementProgram;
64
64
  }),
65
+ earlyAccessRequest: publicProcedure
66
+ .input(z.object({
67
+ email: z.string(),
68
+ institutionSize: z.string(),
69
+ }))
70
+ .mutation(async ({ input }) => {
71
+ const { email, institutionSize } = input;
72
+ const earlyAccessRequest = await prisma.earlyAccessRequest.create({
73
+ data: {
74
+ email,
75
+ institutionSize,
76
+ },
77
+ });
78
+ return {
79
+ id: earlyAccessRequest.id,
80
+ };
81
+ }),
65
82
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studious-lms/server",
3
- "version": "1.1.17",
3
+ "version": "1.1.18",
4
4
  "description": "Backend server for Studious application",
5
5
  "main": "dist/exportType.js",
6
6
  "types": "dist/exportType.d.ts",
@@ -427,4 +427,11 @@ model SchoolDevelopementProgram {
427
427
  status String @default("PENDING") // PENDING, APPROVED, REJECTED, REFERRED
428
428
 
429
429
  supportingDocumentation File[] @relation("SchoolDevelopementProgramSupportingDocumentation")
430
+ }
431
+
432
+ model EarlyAccessRequest {
433
+ id String @id @default(uuid())
434
+ email String
435
+ createdAt DateTime @default(now())
436
+ institutionSize String
430
437
  }
@@ -27,7 +27,7 @@ export const marketingRouter = createTRPCRouter({
27
27
 
28
28
  const date = new Date();
29
29
 
30
- const id = name.slice(0, 3).toUpperCase() + date.getFullYear() + '-' + v4();
30
+ const id = name.slice(0, 3).toUpperCase() + '-' + date.getFullYear() + '-' + v4().slice(0, 4).toUpperCase();
31
31
  const schoolDevelopementProgram = await prisma.schoolDevelopementProgram.create({
32
32
  data: {
33
33
  id,
@@ -66,4 +66,21 @@ export const marketingRouter = createTRPCRouter({
66
66
  });
67
67
  return schoolDevelopementProgram;
68
68
  }),
69
+ earlyAccessRequest: publicProcedure
70
+ .input(z.object({
71
+ email: z.string(),
72
+ institutionSize: z.string(),
73
+ }))
74
+ .mutation(async ({ input }) => {
75
+ const { email, institutionSize } = input;
76
+ const earlyAccessRequest = await prisma.earlyAccessRequest.create({
77
+ data: {
78
+ email,
79
+ institutionSize,
80
+ },
81
+ });
82
+ return {
83
+ id: earlyAccessRequest.id,
84
+ };
85
+ }),
69
86
  });